libgnomekbd/libgnomekbd.spec

231 lines
6.7 KiB
RPMSpec
Raw Normal View History

2006-11-02 19:58:02 +00:00
Name: libgnomekbd
2009-07-15 14:39:10 +00:00
Version: 2.27.4
Release: 2%{?dist}
2006-11-02 19:58:02 +00:00
Summary: A keyboard configuration library
Group: System Environment/Libraries
2007-08-08 03:59:39 +00:00
License: LGPLv2+
2007-04-04 12:27:47 +00:00
URL: http://gswitchit.sourceforge.net
2009-06-01 01:09:24 +00:00
Source0: http://download.gnome.org/sources/libgnomekbd/2.27/libgnomekbd-%{version}.tar.bz2
2006-11-02 19:58:02 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-devel >= 0.92
BuildRequires: dbus-glib >= 0.34
BuildRequires: GConf2-devel >= 2.14.0
BuildRequires: gtk2-devel >= 2.10.3
2007-12-13 17:46:40 +00:00
BuildRequires: cairo-devel
2006-11-02 20:05:46 +00:00
BuildRequires: libglade2-devel >= 2.6.0
2006-11-02 19:58:02 +00:00
BuildRequires: libgnome-devel >= 2.16.0
BuildRequires: libgnomeui-devel >= 2.16.0
2008-01-31 05:09:38 +00:00
BuildRequires: libxklavier-devel >= 3.4
2006-11-02 19:58:02 +00:00
BuildRequires: desktop-file-utils
2006-11-03 04:28:20 +00:00
BuildRequires: gettext
2008-09-04 05:16:46 +00:00
BuildRequires: intltool
2006-11-02 19:58:02 +00:00
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
%description
The libgnomekbd package contains a GNOME library which manages
2009-02-23 06:26:06 +00:00
keyboard configuration and offers various widgets related to
2006-11-02 19:58:02 +00:00
keyboard configuration.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
2006-11-07 18:10:36 +00:00
Requires: libxklavier-devel >= 2.91
Requires: libgnome-devel >= 2.16.0
2006-11-02 19:58:02 +00:00
Requires: pkgconfig
%description devel
The libgnomekbd-devel package contains libraries and header files for
developing applications that use libgnomekbd.
%package capplet
Summary: A configuration applet to select libgnomekbd plugins
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
%description capplet
The libgnomekbd-capplet package contains a configuration applet to
select libgnomekbd plugins. These plugins can modify the appearance
of the keyboard indicator applet.
2006-11-02 19:58:02 +00:00
%prep
%setup -q
%build
2006-11-03 01:41:04 +00:00
%configure --disable-static --enable-compile-warnings=no
2006-11-02 19:58:02 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/gkbd-indicator-plugins-capplet.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
2009-03-16 16:21:34 +00:00
%post
2006-11-02 19:58:02 +00:00
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
2006-12-08 04:45:49 +00:00
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
2007-03-13 23:09:09 +00:00
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
2006-11-02 19:58:02 +00:00
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
2006-12-08 04:45:49 +00:00
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
2006-11-02 19:58:02 +00:00
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
2006-12-08 04:45:49 +00:00
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
2006-11-02 19:58:02 +00:00
fi
2009-03-16 16:21:34 +00:00
%postun
2006-11-02 19:58:02 +00:00
/sbin/ldconfig
2007-03-13 23:09:09 +00:00
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
2006-11-02 19:58:02 +00:00
%files -f %{name}.lang
%defattr(-,root,root,-)
2006-12-08 04:45:49 +00:00
%doc AUTHORS COPYING.LIB
2006-11-02 19:58:02 +00:00
%{_libdir}/*.so.*
%{_sysconfdir}/gconf/schemas/*
%{_datadir}/libgnomekbd
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%files capplet
%{_bindir}/gkbd-indicator-plugins-capplet
%{_datadir}/applications/gnome-gkbd-indicator-plugins-capplet.desktop
2006-11-02 19:58:02 +00:00
%changelog
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-15 14:39:10 +00:00
* Wed Jul 15 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.4-1
- Update to 2.27.4
2009-06-30 20:59:20 +00:00
* Tue Jun 30 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-3
2009-06-30 20:36:07 +00:00
- Rebuild against new libxklavier
2009-06-30 20:59:20 +00:00
- Adapt to api changes
2009-06-30 20:36:07 +00:00
2009-06-01 01:09:24 +00:00
* Sun May 31 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-1
- Update to 2.27.2
2009-03-16 16:21:34 +00:00
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
- Update to 2.26.0
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-02-23 06:26:06 +00:00
* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-1
- Update to 2.25.91
2008-09-22 21:47:26 +00:00
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
- Update to 2.24.0
2008-09-04 04:56:42 +00:00
* Thu Sep 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
- Update to 2.23.91
2008-08-29 22:24:26 +00:00
* Fri Aug 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-2
- Plug a small memory leak
2008-05-12 03:05:20 +00:00
* Sun May 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-1
- Update to 2.23.2
* Sun Apr 6 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-2
- Split the plugins capplet off into a subpackage, since we don't
have any plugins and don't want the capplet by default
2008-03-20 17:14:19 +00:00
* Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
- Update to 2.22.0
2008-01-31 05:09:38 +00:00
* Thu Jan 31 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.4.1-2
- Rebuild against new libxklavier
2007-12-18 18:17:11 +00:00
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4.1-1
- Update to 2.21.4.1
2007-12-13 17:46:40 +00:00
* Thu Dec 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
- Update to 2.21.4
2007-11-13 13:52:35 +00:00
* Tue Nov 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.1-1
- Update to 2.21.1
2007-10-23 05:30:51 +00:00
* Tue Oct 23 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-2
- Rebuild against new dbus-glib
2007-09-17 15:50:04 +00:00
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
- Update to 2.20.0
2007-09-04 03:21:08 +00:00
* Mon Sep 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.91-1
- Update to 2.19.91
2007-08-13 17:03:16 +00:00
* Mon Aug 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-2
- Fix a bad free
2007-08-13 00:45:33 +00:00
* Sun Aug 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-1
- Update to 2.19.90
2007-08-08 03:59:39 +00:00
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-2
- Update the license field
2007-05-21 01:58:34 +00:00
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-1
- Update to 2.18.2
2007-05-20 04:49:36 +00:00
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.1-1
- Update to 2.18.1
2007-04-04 12:27:47 +00:00
* Wed Apr 4 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-2
- Fix a typo in URL
2007-03-13 23:09:09 +00:00
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
- Update to 2.18.0
* Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2
- Port former control-center patches to improve keyboard drawing
2006-11-08 03:19:51 +00:00
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
- Update to 2.17.2
2006-11-07 18:10:36 +00:00
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4
- Fix up Requires
2006-11-03 02:30:30 +00:00
* Thu Nov 2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
- Don't use --Werror
2006-11-02 19:58:02 +00:00
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
- Fix a memory allocation error
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1
- Initial release