[libgnomekbd] - spec cleanup

paragn paragn at fedoraproject.org
Thu Sep 16 10:11:23 UTC 2010


commit b85e988561bed95a1fbaf62d73ece6fa5bd55446
Author: paragn <paragn at fedoraproject.org>
Date:   Thu Sep 16 15:45:20 2010 +0530

    - spec cleanup

 libgnomekbd.spec |   27 ++++++++++-----------------
 1 files changed, 10 insertions(+), 17 deletions(-)
---
diff --git a/libgnomekbd.spec b/libgnomekbd.spec
index 6f28c04..8e3628b 100644
--- a/libgnomekbd.spec
+++ b/libgnomekbd.spec
@@ -1,6 +1,6 @@
 Name:           libgnomekbd
 Version:        2.31.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A keyboard configuration library
 
 Group:          System Environment/Libraries
@@ -9,15 +9,12 @@ URL:            http://gswitchit.sourceforge.net
 # VCS: git:git://git.gnome.org/libgnomekbd
 Source0:        http://download.gnome.org/sources/libgnomekbd/2.31/libgnomekbd-%{version}.tar.bz2
 
-BuildRequires:  dbus-devel >= 0.92
-BuildRequires:  dbus-glib >= 0.34
-BuildRequires:  GConf2-devel >= 2.14.0
-BuildRequires:  gtk2-devel >= 2.13
+BuildRequires:  dbus-devel
+BuildRequires:  dbus-glib 
+BuildRequires:  GConf2-devel 
+BuildRequires:  gtk2-devel 
 BuildRequires:  cairo-devel
-BuildRequires:  libglade2-devel >= 2.6.0
-BuildRequires:  libgnome-devel >= 2.16.0
-BuildRequires:  libgnomeui-devel >= 2.16.0
-BuildRequires:  libxklavier-devel >= 5.0
+BuildRequires:  libxklavier-devel 
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext
 BuildRequires:  intltool
@@ -37,9 +34,6 @@ keyboard configuration.
 Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
-Requires:       libxklavier-devel >= 2.91
-Requires:       libgnome-devel >= 2.16.0
-Requires:       pkgconfig
 
 
 %description    devel
@@ -67,7 +61,7 @@ make %{?_smp_mflags}
 
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 desktop-file-install --vendor gnome --delete-original       \
@@ -77,10 +71,6 @@ desktop-file-install --vendor gnome --delete-original       \
 %find_lang %{name}
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post
 /sbin/ldconfig
 %gconf_schema_upgrade desktop_gnome_peripherals_keyboard_xkb
@@ -125,6 +115,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 
 
 %changelog
+* Thu Sep 16 2010 Parag Nemade <paragn AT fedoraproject.org> 2.31.5-2
+- spec cleanup
+
 * Tue Jul 13 2010 Matthias Clasen <mclasen at redhat.com> 2.31.5-1
 - Update to 2.31.5
 


More information about the scm-commits mailing list