Spec clean up

Remove some cruft that has accumulated over the years.
This commit is contained in:
Kalev Lember 2012-05-05 22:05:41 +03:00
parent ebd9215683
commit b87405a3e6

View File

@ -36,8 +36,6 @@ BuildRequires: libexif-devel >= %{libexif_version}
BuildRequires: exempi-devel >= %{exempi_version}
BuildRequires: gettext
BuildRequires: libselinux-devel
BuildRequires: gtk-doc
BuildRequires: scrollkeeper
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: libnotify-devel
@ -97,14 +95,6 @@ for developing nautilus extensions.
%patch7 -p1 -b .rtl-fix
%build
gtkdocize
libtoolize
aclocal -I m4
autoconf
autoheader
automake
CFLAGS="$RPM_OPT_FLAGS -g -DNAUTILUS_OMIT_SELF_CHECK" %configure --disable-more-warnings --disable-update-mimedb
# drop unneeded direct library deps with --as-needed
@ -123,14 +113,9 @@ desktop-file-install --delete-original \
--add-only-show-in GNOME \
$RPM_BUILD_ROOT%{_datadir}/applications/*
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/.icon-theme.cache
%find_lang %name
%post