libxklavier/libxklavier.spec

132 lines
3.7 KiB
RPMSpec

%define majversion %(echo %version | cut -d. -f 1-2)
Name: libxklavier
Version: 5.4
Release: 2mamba
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: https://www.freedesktop.org/wiki/Software/LibXklavier/
Source: https://people.freedesktop.org/~svu/libxklavier-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libglib-devel
BuildRequires: libxkbfile-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: gtk-doc
BuildRequires: iso-codes-devel
BuildRequires: zlib-devel >= 1.2.2
Requires: iso-codes
%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}-%{release}
%description devel
Libxklavier is an utility library to make XKB stuff easier.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
./autogen.sh
%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}/libxklavier.so.*
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
%doc AUTHORS COPYING.LIB CREDITS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libxklavier
%dir %{_includedir}/libxklavier
%{_includedir}/libxklavier/*.h
%{_libdir}/libxklavier.a
%{_libdir}/libxklavier.so
%{_datadir}/vala/vapi/libxklavier.deps
%{_datadir}/vala/vapi/libxklavier.vapi
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/Xkl-1.0.gir
%{_datadir}/gtk-doc/html/libxklavier/*
%doc ChangeLog NEWS README
%changelog
* Sat May 25 2024 Automatic Build System <autodist@openmamba.org> 5.4-2mamba
- rebuilt with debug package and specfile fixes
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-1mamba
- update to 5.4
* 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