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

Loading…
Cancel
Save