libgnomekbd/libgnomekbd.spec

153 lines
3.6 KiB
RPMSpec

#
# spec file for package libgnomekbd (Version 2.23.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libgnomekbd
BuildRequires: dbus-1-glib-devel fdupes gnome-common intltool libglade2-devel libgnomeui-devel libxklavier-devel
Version: 2.23.2
Release: 1
Url: http://www.gnome.org/
Group: System/GUI/GNOME
License: LGPL v2.1 or later
Summary: GNOME Keyboard Library
Source: %{name}-%{version}.tar.bz2
Patch1: libgnomekbd-allow-old-dbus.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%gconf_schemas_prereq
%description
GNOME keyboard library, utility and applet.
Authors:
--------
svu@users.sourceforge.net
%package devel
License: LGPL v2.1 or later
Summary: GNOME Keyboard Library
Group: System/GUI/GNOME
Requires: %{name} = %{version} dbus-1-glib-devel gconf2-devel gtk2-devel libgnome-devel libxklavier-devel
%description devel
GNOME keyboard library, utility and applet.
Authors:
--------
svu@users.sourceforge.net
%lang_package
%prep
%setup -q
%if %suse_version <= 1010
%patch1
%endif
%build
autoreconf -f -i
%configure
# Does not work properly for libgnomekbd-2.17.2:
#make %{?jobs:-j%jobs}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
/sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
/sbin/ldconfig
%files -f %{name}.lst
%defattr(-, root, root)
# NEWS README are empty
%doc AUTHORS COPYING.LIB ChangeLog ChangeLog.libgswitchit ChangeLog.libkbdraw
%{_bindir}/*
%{_libdir}/*so.*
%{_datadir}/applications/*.desktop
%{_datadir}/libgnomekbd
#%{_datadir}/icons/hicolor/48x48/apps/gkbd-indicator-plugins-capplet.png
%files lang -f %{name}.lang
%files devel
%defattr(-, root, root)
%{_includedir}/libgnomekbd
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Jun 17 2008 maw@suse.de
- Update to version 2.23.2:
+ Drop old and unneeded code
+ Make the default size of the preview depend upon the screen's
size.
* Wed Apr 02 2008 rodrigo@suse.de
- Update to version 2.22.0:
* Use tango icons
- Removed non-existing icon from installation
* Fri Jan 25 2008 rodrigo@suse.de
- Updated to version 2.21.4.1:
* Fix for the indicators crash in keyboard drawing
* Keyboard drawing printing functions moved to libgnomekbd, from
gnome-control-center
* Tue Sep 18 2007 sbrabec@suse.cz
- Updated to version 2.20.0:
* minor fix to the build process
* new translations
* Fri Aug 31 2007 maw@suse.de
- Update to version 2.19.91:
+ Bug fixes
+ Updated translations.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Thu Jul 19 2007 sbrabec@suse.cz
- Allow to build with old dbus.
* Fri Jul 06 2007 maw@suse.de
- Update to version 2.18.2
- Several keyboard drawing bugs fixed
- Incorrect GObject usage crash fixed
- Added translations.
* Fri May 11 2007 pgajdos@suse.cz
- removed
- gnome-icon-theme-devel from BuildRequires
- gnome-icon-theme from Requires
- [#247450]
* Wed Apr 11 2007 maw@suse.de
- Update to version 2.18.1
- Updated translations
- Bug fixes.
* Mon Mar 05 2007 sbrabec@suse.cz
- Spec file cleanup.
* Wed Feb 28 2007 maw@suse.de
- New package.