libgnomekbd/libgnomekbd.spec

158 lines
4.6 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libgnomekbd
Version: 3.6.0
Release: 1mamba
Summary: Gnome keyboard library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomekbd/%{majver}/libgnomekbd-%{version}.tar.xz
Patch0: %{name}-2.26.0-libxklavier-4.0.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libxkbfile-devel
BuildRequires: libxklavier-devel
BuildRequires: libxml2-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Gnome keyboard library.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Gnome keyboard library.
This package contains static libraries and header files need for development.
%prep
%setup -q
#%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gkbd-keyboard-display
%{_libdir}/libgnomekbd.so.*
%{_libdir}/libgnomekbdui.so.*
%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
%{_datadir}/GConf/gsettings/libgnomekbd.convert
%{_datadir}/applications/gkbd-keyboard-display.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd.desktop.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd.keyboard.gschema.xml
%dir %{_datadir}/libgnomekbd
%dir %{_datadir}/libgnomekbd/icons
%{_datadir}/libgnomekbd/icons/kbdled-caps-lock.svg
%{_datadir}/libgnomekbd/icons/kbdled-num-lock.svg
%{_datadir}/libgnomekbd/icons/kbdled-scroll-lock.svg
%dir %{_datadir}/libgnomekbd/ui
%{_datadir}/libgnomekbd/ui/show-layout.ui
%doc AUTHORS COPYING.LIB
%files devel
%defattr(-,root,root)
%{_libdir}/libgnomekbd.a
%{_libdir}/libgnomekbd.la
%{_libdir}/libgnomekbd.so
%{_libdir}/libgnomekbdui.a
%{_libdir}/libgnomekbdui.la
%{_libdir}/libgnomekbdui.so
%{_datadir}/gir-1.0/Gkbd-3.0.gir
%dir %{_includedir}/libgnomekbd
%{_includedir}/libgnomekbd/*.h
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog ChangeLog.libgswitchit ChangeLog.libkbdraw
%doc NEWS README.cvs
%changelog
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0.2-2mamba
- .typelib file moved from -devel to runtime library package
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0.2-1mamba
- update to 3.4.0.2
* Wed Sep 28 2011 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 3.0.0.1-1mamba
- automatic update to 3.0.3.0 by autodist
* Mon Oct 11 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Wed Jun 23 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
- automatic update to 2.30.2 by autodist
* Wed May 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-1mamba
- update to 2.30.1
* Wed Jan 20 2010 Automatic Build System <autodist@mambasoft.it> 2.28.2-1mamba
- automatic update by autodist
* Tue Sep 29 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- update to 2.28.0
* Sun Jul 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- package created by autospec