Name: squeeze Version: 0.2.2 Release: 1%{?dist} Summary: A modern and advanced archive manager for the Xfce Desktop Environment Group: Applications/Archiving License: GPLv2+ URL: http://squeeze.xfce.org/ Source0: http://squeeze.xfce.org/downloads/squeeze-0.2.2.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext Thunar-devel libxfce4util dbus-glib-devel BuildRequires: desktop-file-utils %description Squeeze is a modern and advanced archive manager for the Xfce Desktop Environment. Its design adheres to the Xfce philosophy, which basically means Squeeze is designed to be both fast and easy to use. %package devel Summary: Development tools for squeeze Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel libraries and header files for the squeeze archive manager. %prep %setup -q %build %configure sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %find_lang %{name} desktop-file-install \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --delete-original \ squeeze.desktop %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_bindir}/squeeze %{_libdir}/libsqueeze-0.2.so.0 %{_libdir}/libsqueeze-0.2.so.0.0.2 %{_libexecdir}/thunar-archive-plugin %{_datadir}/applications/squeeze.desktop %{_datadir}/icons/hicolor/16x16/apps/squeeze.png %{_datadir}/icons/hicolor/48x48/apps/squeeze.png %{_datadir}/icons/hicolor/scalable/apps/squeeze.svg %{_datadir}/pixmaps/squeeze/archive-add.png %{_datadir}/pixmaps/squeeze/archive-extract.png %files devel %defattr(-,root,root,-) %{_includedir}/libsqueeze-0.2 %{_libdir}/libsqueeze*.so %{_libdir}/pkgconfig/libsqueeze-0.2.pc %{_datadir}/gtk-doc/html/libsqueeze %changelog * Sat Feb 16 2008 Kevin Fenzi - 0.2.2-1 - Initial version for Fedora.