Blame SPECS/libxkbcommon.spec

82c648
#global gitdate  20120917
82c648
82c648
Name:           libxkbcommon
82c648
Version:        0.7.1
82c648
Release:        1%{?gitdate:.%{gitdate}}%{?dist}
82c648
Summary:        X.Org X11 XKB parsing library
82c648
License:        MIT
82c648
URL:            http://www.x.org
82c648
82c648
%if 0%{?gitdate}
82c648
Source0:       %{name}-%{gitdate}.tar.bz2
82c648
%else
82c648
Source0:        http://xkbcommon.org/download/%{name}-%{version}.tar.xz
82c648
%endif
82c648
Source1:        make-git-snapshot.sh
82c648
82c648
BuildRequires:  autoconf automake libtool
82c648
BuildRequires:  xorg-x11-util-macros byacc flex bison
82c648
BuildRequires:  xorg-x11-proto-devel libX11-devel
82c648
BuildRequires:  xkeyboard-config-devel
82c648
BuildRequires:  pkgconfig(xcb-xkb) >= 1.10
82c648
82c648
Requires:       xkeyboard-config
82c648
82c648
%description
82c648
%{name} is the X.Org library for compiling XKB maps into formats usable by
82c648
the X Server or other display servers.
82c648
82c648
%package devel
82c648
Summary:        X.Org X11 XKB parsing development package
82c648
Requires:       %{name}%{?_isa} = %{version}-%{release}
82c648
82c648
%description devel
82c648
X.Org X11 XKB parsing development package
82c648
82c648
%package x11
82c648
Summary:        X.Org X11 XKB keymap creation library
82c648
Requires:       %{name}%{?_isa} = %{version}-%{release}
82c648
82c648
%description x11
82c648
%{name}-x11 is the X.Org library for creating keymaps by querying the X
82c648
server.
82c648
82c648
%package x11-devel
82c648
Summary:        X.Org X11 XKB keymap creation library
82c648
Requires:       %{name}-x11%{?_isa} = %{version}-%{release}
82c648
82c648
%description x11-devel
82c648
X.Org X11 XKB keymap creation library development package
82c648
82c648
%prep
82c648
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
82c648
82c648
autoreconf -v --install || exit 1
82c648
82c648
%build
82c648
%configure \
82c648
  --disable-silent-rules \
82c648
  --disable-static \
82c648
  --enable-x11 \
82c648
  --disable-docs
82c648
82c648
make %{?_smp_mflags}
82c648
82c648
%install
82c648
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
82c648
82c648
find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
82c648
82c648
%post -p /sbin/ldconfig
82c648
%postun -p /sbin/ldconfig
82c648
82c648
%files
82c648
%license LICENSE
82c648
%{_libdir}/libxkbcommon.so.0.0.0
82c648
%{_libdir}/libxkbcommon.so.0
82c648
82c648
%files devel
82c648
%{_libdir}/libxkbcommon.so
82c648
%dir %{_includedir}/xkbcommon/
82c648
%{_includedir}/xkbcommon/xkbcommon.h
82c648
%{_includedir}/xkbcommon/xkbcommon-compat.h
82c648
%{_includedir}/xkbcommon/xkbcommon-compose.h
82c648
%{_includedir}/xkbcommon/xkbcommon-keysyms.h
82c648
%{_includedir}/xkbcommon/xkbcommon-names.h
82c648
%{_libdir}/pkgconfig/xkbcommon.pc
82c648
82c648
%post x11 -p /sbin/ldconfig
82c648
%postun x11 -p /sbin/ldconfig
82c648
82c648
%files x11
82c648
%{_libdir}/libxkbcommon-x11.so.0.0.0
82c648
%{_libdir}/libxkbcommon-x11.so.0
82c648
82c648
%files x11-devel
82c648
%{_libdir}/libxkbcommon-x11.so
82c648
%{_includedir}/xkbcommon/xkbcommon-x11.h
82c648
%{_libdir}/pkgconfig/xkbcommon-x11.pc
82c648
82c648
%changelog
82c648
* Thu Jan 19 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.7.1-1
82c648
- xkbcommon 0.7.1
82c648
82c648
* Mon Nov 14 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-1
82c648
- xkbcommon 0.7.0
82c648
82c648
* Fri Jun 03 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.6.1-1
82c648
- xkbcommon 0.6.1
82c648
82c648
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
82c648
82c648
* Fri Jan 08 2016 Dan HorĂ¡k <dan[at]danny.cz> - 0.5.0-3
82c648
- always build the x11 subpackage
82c648
82c648
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
82c648
82c648
* Wed Oct 22 2014 Hans de Goede <hdegoede@redhat.com> - 0.5.0-1
82c648
- Update to 0.5.0 (#1154574)
82c648
82c648
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.3-2
82c648
- Require xkeyboard-config (#1145260)
82c648
82c648
* Wed Aug 20 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.3-1
82c648
- Update to 0.4.3
82c648
82c648
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-5
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
82c648
82c648
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-4
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
82c648
82c648
* Tue May 27 2014 Rex Dieter <rdieter@fedoraproject.org> - 0.4.2-3
82c648
- make -x11 support conditional (f21+, #1000497)
82c648
- --disable-silent-rules
82c648
82c648
* Fri May 23 2014 Hans de Goede <hdegoede@redhat.com> - 0.4.2-2
82c648
- Bump release to 2 to avoid confusion with non official non scratch 0.4.2-1
82c648
82c648
* Thu May 22 2014 Rex Dieter <rdieter@fedoraproject.org> - 0.4.2-1
82c648
- xkbcommon 0.4.2 (#1000497)
82c648
- own %%{_includedir}/xkbcommon/
82c648
- -x11: +ldconfig scriptlets
82c648
- -devel: don't include xkbcommon-x11.h
82c648
- run reautoconf in %%prep (instead of %%build)
82c648
- tighten subpkg deps via %%_isa
82c648
- .spec cleanup, remove deprecated stuff
82c648
- BR: pkgconfig(xcb-xkb) >= 1.10
82c648
82c648
* Wed Feb 05 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.4.0-1
82c648
- xkbcommon 0.4.0
82c648
- Add new xkbcommon-x11 and xkbcommon-x11-devel subpackages
82c648
82c648
* Tue Aug 27 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.3.1-1
82c648
- xkbcommon 0.3.1
82c648
82c648
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
82c648
82c648
* Thu Apr 18 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.3.0-1
82c648
- xkbcommon 0.3.0
82c648
82c648
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
82c648
82c648
* Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 0.2.0-1
82c648
- xkbcommon 0.2.0
82c648
82c648
* Mon Sep 17 2012 Thorsten Leemhuis <fedora@leemhuis.info> 0.1.0-8.20120917
82c648
- Today's git snapshot
82c648
82c648
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-7.20120306
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
82c648
82c648
* Tue Mar 06 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.1.0-6.20120306
82c648
- BuildRequire xkeyboard-config-devel to get the right XKB target path (#799717)
82c648
82c648
* Tue Mar 06 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.1.0-5.20120306
82c648
- Today's git snapshot
82c648
82c648
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-4.20111109
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
82c648
82c648
* Wed Nov 09 2011 Adam Jackson <ajax@redhat.com> 0.1.0-3
82c648
- Today's git snap
82c648
82c648
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2.20101110
82c648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
82c648
82c648
* Sat Nov 06 2010 Dave Airlie <airlied@redhat.com> 0.1.0-1.20101110
82c648
- inital import
82c648