libgnomekbd/libgnomekbd.spec

114 lines
2.7 KiB
RPMSpec

#
# spec file for package libgnomekbd (Version 2.27.4)
#
# Copyright (c) 2009 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: gtk2-devel
BuildRequires: intltool
BuildRequires: libxklavier-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
Version: 2.27.4
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
translation-update-upstream
%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
%{__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 $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