0e20eee64f
Copy from home:vuntz:branches:GNOME:Factory/libgnomekbd via accept of submit request 35936 revision 18. Request was accepted with message: ok OBS-URL: https://build.opensuse.org/request/show/35936 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=31
107 lines
2.7 KiB
RPMSpec
107 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package libgnomekbd (Version 2.30.0)
|
|
#
|
|
# Copyright (c) 2010 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/
|
|
#
|
|
|
|
|
|
|
|
Name: libgnomekbd
|
|
Version: 2.30.0
|
|
Release: 1
|
|
License: LGPLv2.1+
|
|
Summary: GNOME Keyboard Library
|
|
Url: http://www.gnome.org/
|
|
Group: System/GUI/GNOME
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRequires: fdupes
|
|
BuildRequires: gconf2-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libxklavier-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
Requires: %{name}-lang = %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%gconf_schemas_prereq
|
|
|
|
%description
|
|
GNOME keyboard library, utility and applet.
|
|
|
|
%package devel
|
|
License: LGPLv2.1+
|
|
Summary: GNOME Keyboard Library
|
|
Group: System/GUI/GNOME
|
|
Requires: %{name} = %{version}
|
|
Requires: dbus-1-glib-devel
|
|
Requires: gconf2-devel
|
|
Requires: gtk2-devel
|
|
Requires: libxklavier-devel
|
|
|
|
%description devel
|
|
GNOME keyboard library, utility and applet.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure --disable-static --with-pic
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
%suse_update_desktop_file gkbd-indicator-plugins-capplet
|
|
%find_lang %{name}
|
|
%find_gconf_schemas
|
|
cat %{name}.schemas_list >%{name}.lst
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%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
|