127 lines
3.6 KiB
RPMSpec
127 lines
3.6 KiB
RPMSpec
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
Name: libxklavier
|
|
Version: 5.3
|
|
Release: 1mamba
|
|
Summary: Utility library to make XKB stuff easier
|
|
Group: Graphical Desktop/Libraries/GNOME
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.freedesktop.org/wiki/Software/LibXklavier
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/libxklavier/%{majversion}/libxklavier-%{version}.tar.xz
|
|
Patch: %{name}-2.0-werror.patch
|
|
License: LGPL
|
|
BuildRequires: libX11-devel >= 1.1.1
|
|
BuildRequires: pkgconfig >= 0.19
|
|
BuildRequires: zlib-devel >= 1.2.2
|
|
BuildRequires: iso-codes-devel
|
|
BuildRequires: libxkbfile-devel
|
|
BuildRequires: gtk-doc
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libxml2-devel >= 2.0.0
|
|
## AUTOBUILDREQ-END
|
|
Requires: iso-codes
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Libxklavier is an utility library to make XKB stuff easier.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
Libxklavier is an utility library to make XKB stuff easier.
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch -p1 -b .werror
|
|
|
|
%build
|
|
%configure \
|
|
--with-xkb-base=%{_datadir}/X11/xkb \
|
|
--enable-gtk-doc
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
|
|
%doc AUTHORS COPYING.LIB CREDITS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libxklavier
|
|
#%dir %{_datadir}/libxklavier
|
|
#%{_datadir}/libxklavier/xfree86.xml
|
|
%dir %{_includedir}/libxklavier
|
|
%{_includedir}/libxklavier/*.h
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_datadir}/gir-1.0/Xkl-1.0.gir
|
|
%{_datadir}/gtk-doc/html/libxklavier/*
|
|
%doc ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 5.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-2mamba
|
|
- .typelib file moved from -devel to runtime library package
|
|
|
|
* Wed Apr 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-1mamba
|
|
- update to 5.2.1
|
|
|
|
* Sun Jul 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1-1mamba
|
|
- update to 5.1
|
|
|
|
* Mon Oct 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-2mamba
|
|
- rebuilt to add pkgconfig provides
|
|
|
|
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 5.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jul 02 2009 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jun 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9-3mamba
|
|
- added build requirement for libxkbfile-devel and iso-codes-devel
|
|
- fixed xkb X11 path
|
|
- enabled gtk-doc
|
|
|
|
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 3.9-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Mar 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Feb 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8-1mamba
|
|
- update to 3.8
|
|
|
|
* Thu Jun 12 2008 gil <puntogil@libero.it> 3.4-1mamba
|
|
- update to 3.4
|
|
|
|
* Mon Mar 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-1qilnx
|
|
- update to version 3.1 by autospec
|
|
|
|
* Thu Sep 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.0-1qilnx
|
|
- package created by autospec
|