libgnomekbd/libgnomekbd.spec

165 lines
4.2 KiB
RPMSpec

#
# spec file for package libgnomekbd (Version 2.24.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libgnomekbd
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gnome-common
BuildRequires: intltool
BuildRequires: libglade2-devel
### BuildRequires: libgnomeui-devel
BuildRequires: libxklavier-devel
Version: 2.24.0
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
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
%endif
%build
%configure
make
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
%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 -p /sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun -p /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
%files lang -f %{name}.lang
%files devel
%defattr(-, root, root)
%{_includedir}/libgnomekbd
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Sep 23 2008 maw@suse.de
- Update to version 2.24.0:
+ Minor fixes
- Drop libgnomekbd-allow-old-dbus.patch
- Misc., minor .spec file cleanups
- Don't package libtool archives or static libraries.
* Mon Jun 16 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
* Thu Aug 30 2007 maw@suse.de
- Update to version 2.19.91:
+ Bug fixes
+ Updated translations.
* Tue Aug 07 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.
* Tue Feb 27 2007 maw@suse.de
- New package.