Minor spec file cleanup

Don't list help files twice in %files (the %find_lang --with-gnome takes
care of these nowadays) and other minor cleanup.
epel9
Kalev Lember 12 years ago
parent 5f32b4a0fc
commit a3e281405b

@ -17,7 +17,6 @@ BuildRequires: libtool
BuildRequires: gettext
BuildRequires: libSM-devel
BuildRequires: desktop-file-utils
BuildRequires: gnome-doc-utils
BuildRequires: intltool
BuildRequires: itstool
BuildRequires: GConf2-devel
@ -45,7 +44,7 @@ or directories.
%setup -q
%build
%configure --disable-scrollkeeper \
%configure \
--disable-static \
--enable-nautilus-actions \
--enable-packagekit
@ -54,10 +53,8 @@ export tagname=CC
make LIBTOOL=/usr/bin/libtool
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export tagname=CC
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
@ -99,7 +96,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/icons/hicolor/*/apps/file-roller.png
%{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
%{_datadir}/GConf/gsettings/file-roller.convert
%{_datadir}/help/*
%files nautilus
%{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so

Loading…
Cancel
Save