file-roller/file-roller.spec

451 lines
13 KiB
RPMSpec
Raw Normal View History

2005-01-31 05:44:39 +00:00
%define glib2_version 2.6.0
%define pango_version 1.8.0
%define gtk2_version 2.6.0
%define libgnomeui_version 2.6.0
%define libgnomeprint_version 2.2.0
%define libgnomeprintui_version 2.2.0
%define desktop_file_utils_version 0.9
2005-01-31 05:44:39 +00:00
%define nautilus_version 2.9.0
%define gnome_doc_utils_version 0.3.2
2006-04-18 18:05:48 +00:00
Summary: File Roller is a tool for viewing and creating archives
Name: file-roller
2007-11-27 04:24:59 +00:00
Version: 2.20.2
2007-09-03 05:28:09 +00:00
Release: 1%{?dist}
2007-08-03 02:59:31 +00:00
License: GPLv2+
Group: Applications/Archiving
2007-05-20 02:09:17 +00:00
URL: http://download.gnome.org/sources/file-roller/
2007-09-18 03:13:26 +00:00
Source: http://download.gnome.org/sources/file-roller/2.20/file-roller-%{version}.tar.bz2
2006-12-19 06:17:05 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libgnomeprintui22-devel >= %{libgnomeprintui_version}
BuildRequires: libgnomeprint22-devel >= %{libgnomeprint_version}
2006-08-13 01:31:28 +00:00
BuildRequires: nautilus-devel >= %{nautilus_version}
BuildRequires: libtool
2006-06-09 03:47:54 +00:00
BuildRequires: autoconf
BuildRequires: gettext
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
2006-04-18 17:57:36 +00:00
BuildRequires: scrollkeeper
2007-02-13 03:46:52 +00:00
BuildRequires: perl(XML::Parser)
2006-04-18 17:57:36 +00:00
Requires(post): scrollkeeper
2006-11-07 13:19:14 +00:00
Requires(pre): GConf2
2006-04-18 17:57:36 +00:00
Requires(post): GConf2
2006-11-07 13:19:14 +00:00
Requires(preun): GConf2
2006-04-18 17:57:36 +00:00
Requires(postun): scrollkeeper
2007-01-22 20:43:57 +00:00
Requires: GConf2
# The context menu API changed in 2.2.0:
Conflicts: nautilus < 2.2.0
%description
File Roller is an application for creating and viewing archives files,
such as tar files.
%prep
%setup -q
%build
autoconf
%configure --disable-scrollkeeper --disable-static
export tagname=CC
make LIBTOOL=/usr/bin/libtool
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export tagname=CC
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-only-show-in GNOME \
$RPM_BUILD_ROOT%{_datadir}/applications/*
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
2005-01-31 18:05:47 +00:00
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.a
2006-04-11 04:37:50 +00:00
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
2007-08-06 06:02:06 +00:00
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database &> /dev/null || :
2006-04-18 17:57:36 +00:00
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
2006-10-21 23:19:09 +00:00
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/file-roller.schemas 2>&1 >/dev/null || :
2006-04-11 04:28:17 +00:00
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
2006-10-21 23:19:09 +00:00
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/file-roller.schemas 2>&1 >/dev/null
fi
2006-08-22 15:27:30 +00:00
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
2006-10-21 23:19:09 +00:00
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/file-roller.schemas 2>&1 >/dev/null
2006-08-22 15:27:30 +00:00
fi
%postun
update-desktop-database &> /dev/null || :
2006-04-18 17:57:36 +00:00
scrollkeeper-update -q
2006-04-11 04:28:17 +00:00
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%files -f %{name}.lang
%defattr(-, root, root)
2007-08-03 02:59:31 +00:00
%doc README COPYING NEWS AUTHORS
2006-09-08 17:17:53 +00:00
%{_bindir}/file-roller
%{_datadir}/file-roller
2006-09-08 17:17:53 +00:00
%{_datadir}/omf/file-roller
%{_datadir}/applications/gnome-file-roller.desktop
%{_sysconfdir}/gconf/schemas/file-roller.schemas
2005-01-31 18:05:47 +00:00
%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.so
2006-11-07 15:41:43 +00:00
%{_libexecdir}/file-roller
2006-12-19 06:50:16 +00:00
%{_datadir}/icons/hicolor/*/apps/file-roller.png
%{_datadir}/icons/hicolor/scalable/apps/file-roller.svg
%changelog
2007-11-27 04:24:59 +00:00
* Mon Nov 26 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.2-1
- Update to 2.20.2 (translation updates)
2007-10-15 20:04:28 +00:00
* Mon Oct 15 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.1-1
- Update to 2.20.1 (crash fix)
2007-09-18 03:13:26 +00:00
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
- Update to 2.20.0
2007-09-04 03:05:36 +00:00
* Mon Sep 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.92-1
- Update to 2.19.92
2007-09-03 05:28:09 +00:00
* Mon Sep 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.91-1
- Update to 2.19.91
2007-08-24 14:44:35 +00:00
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 2.19.90-2
- Rebuild for build ID
2007-08-13 23:37:37 +00:00
* Mon Aug 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-1
- Update to 2.19.90
2007-08-06 06:02:06 +00:00
* Mon Aug 6 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.4-3
- Use %%find_lang for help files
2007-08-03 02:59:31 +00:00
* Thu Aug 2 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.4-2
- Update the license field
2007-07-31 00:40:16 +00:00
* Mon Jul 30 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.4-1
- Update to 2.19.4
2007-06-19 16:33:37 +00:00
* Tue Jun 19 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.3-1
- Update to 2.19.3
2007-06-04 22:32:55 +00:00
* Mon Jun 4 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.2-1
- Update to 2.19.2
2007-05-20 02:09:17 +00:00
* Sat May 19 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.1-1
- Update to 2.19.1
2007-04-13 02:13:40 +00:00
* Thu Apr 12 2007 Christopher Aillon <caillon@redhat.com> - 2.18.1-1
- Update to 2.18.1
2007-03-13 05:53:22 +00:00
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
- Update to 2.18.0
2007-02-27 21:21:01 +00:00
* Tue Feb 27 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.92-1
- Update to 2.17.92
2007-02-13 03:46:52 +00:00
* Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.91-1
- Update to 2.17.91
* Mon Feb 5 2007 Christopher Aillon <caillon@redhat.com> - 2.17.90-2
- Packaging issues:
Remove unneeded desktop-file-utils requires
Build with --disable-static
2007-01-22 20:43:57 +00:00
* Mon Jan 22 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.90-1
- Update to 2.17.90
2007-01-10 17:30:41 +00:00
* Wed Jan 10 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.5-1
- Update to 2.17.5
2006-12-19 06:17:05 +00:00
* Tue Dec 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.4-1
- Update to 2.17.4
2006-12-05 06:37:44 +00:00
* Tue Dec 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.3-1
- Update to 2.17.3
2006-11-07 13:19:14 +00:00
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
- Update to 2.17.2
2006-10-21 23:19:09 +00:00
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.1-1
- Update to 2.17.1
2006-09-08 17:17:53 +00:00
* Fri Sep 8 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-2
- Fix directory ownership issues
2006-09-04 22:47:33 +00:00
* Mon Sep 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-1.fc6
- Update to 2.16.0
2006-09-04 22:55:15 +00:00
- Add missing BRs
2006-09-04 22:47:33 +00:00
2006-08-22 15:27:30 +00:00
* Tue Aug 22 2006 Matthias Clasen <mclasen@rehdat.com> - 2.15.93-2.fc6
- Add a %%preun script
- Silence %%post and %%preun
2006-08-21 20:24:23 +00:00
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.93-1.fc6
- Update to 2.15.93
2006-08-12 23:46:02 +00:00
* Sat Aug 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.92-1.fc6
- Update to 2.15.92
2006-08-13 01:31:28 +00:00
- BR nautilus-devel
2006-08-12 23:46:02 +00:00
2006-08-03 17:51:24 +00:00
* Thu Aug 3 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.90-1.fc6
- Update to 2.15.90
2006-07-30 18:04:00 +00:00
* Sun Jul 30 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.1-2
- Avoid warnings from recent menu
* Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.1-1
2006-07-12 19:40:43 +00:00
- Update to 2.15.1
2006-07-12 05:48:35 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.14.3-4.1
- rebuild
2006-06-09 03:33:10 +00:00
* Thu Jun 8 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.3-4
- Add more BuildRequires
2006-06-06 01:27:07 +00:00
* Mon Jun 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.3-3
- Rebuild
2006-05-29 19:44:44 +00:00
* Mon May 29 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.3-2
- Update to 2.14.3
2006-04-18 18:05:48 +00:00
* Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.2-3
- Remove dot from summary
2006-04-18 17:57:36 +00:00
* Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.2-2
- Update to 2.14.2
- Some .spec file cleanups
2006-04-11 04:09:31 +00:00
* Mon Apr 10 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.1-2
- Update to 2.14.1
2006-03-13 21:09:03 +00:00
* Mon Mar 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-1
- Update to 2.14.0
2006-02-28 02:25:55 +00:00
* Mon Feb 27 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.92-1
- Update to 2.13.92
* Tue Feb 21 2006 Karsten Hopp <karsten@redhat.de> 2.13.91-2
- BuildRequire: gnome-doc-utils
2006-02-15 05:52:08 +00:00
* Wed Feb 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.91-1
- Update to 2.13.91
2006-02-12 17:06:44 +00:00
* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> 2.13.90-2
- Rebuild
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.13.90-1.1
2006-02-07 11:38:56 +00:00
- rebuilt for new gcc4.1 snapshot and glibc changes
2006-01-31 05:04:19 +00:00
* Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> 2.13.90-1
- Update to 2.13.90
2006-01-17 16:50:42 +00:00
* Tue Jan 16 2006 Matthias Clasen <mclasen@redhat.com> 2.13.4-1
- Update to 2.13.4
2006-01-03 15:20:07 +00:00
* Thu Jan 03 2006 Matthias Clasen <mclasen@redhat.com> 2.13.3-1
2006-01-03 15:19:23 +00:00
- Update to 2.13.3
2005-12-14 20:52:21 +00:00
* Thu Dec 14 2005 Matthias Clasen <mclasen@redhat.com> 2.13.2-1
- Update to 2.13.2
2005-12-14 21:06:04 +00:00
- Remove upstreamed patches
2005-12-14 20:52:21 +00:00
2005-12-09 22:40:24 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-12-01 21:16:58 +00:00
* Thu Dec 1 2005 Matthias Clasen <mclasen@redhat.com> 2.13.1-1
- Update to 2.13.1
* Thu Nov 3 2005 Christopher Aillon <caillon@redhat.com> 2.12.1-2
- Add 7-zip to the desktop file, since file-roller supports it
2005-10-06 04:39:49 +00:00
* Thu Oct 6 2005 Matthias Clasen <mclasen@redhat.com> 2.12.1-1
- Update to 2.12.1
2005-09-07 18:45:38 +00:00
* Wed Sep 7 2005 Matthias Clasen <mclasen@redhat.com> 2.12.0-1
- Update to 2.12.0
* Wed Aug 17 2005 David Zeuthen <davidz@redhat.com>
- Disable scrollkeeper until gnome-doc changes are sorted out
2005-08-16 12:54:38 +00:00
* Tue Aug 16 2005 Matthias Clasen <mclasen@redhat.com>
- New upstream version
2005-08-04 17:50:02 +00:00
* Thu Aug 4 2005 Matthias Clasen <mclasen@redhat.com> 2.11.90-1
- New upstream version
2005-07-11 13:43:15 +00:00
* Mon Jul 11 2005 Matthias Clasen <mclasen@redhat.com> 2.11.2-1
- New upstream version
2005-03-18 16:09:16 +00:00
* Fri Mar 18 2005 David Zeuthen <davidz@redhat.com> 2.10.0-1
- New upstream version
2005-03-03 16:16:37 +00:00
* Thu Mar 3 2005 Marco Pesenti Gritti <mpg@redhat.com> 2.9.92-1
- Update to 2.9.92
2005-02-09 13:31:07 +00:00
* Wed Feb 9 2005 Matthias Clasen <mclasen@redhat.com> 2.9.91-1
- Update to 2.9.91
2005-01-31 05:44:39 +00:00
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> 2.9.4-1
- Update to 2.9.4
2004-11-03 20:38:27 +00:00
* Wed Nov 3 2004 Christopher Aillon <caillon@redhat.com> 2.8.3-1
- Update to 2.8.3
2004-10-14 06:04:02 +00:00
* Wed Oct 13 2004 Christopher Aillon <caillon@redhat.com> 2.8.2-2
- Update to 2.8.2
2004-10-05 19:03:50 +00:00
* Tue Oct 5 2004 Christopher Aillon <caillon@redhat.com> 2.8.1-1
- Update to 2.8.1
* Thu Sep 30 2004 Christopher Aillon <caillon@redhat.com> 2.8.0-4
- Prereq desktop-file-utils >= 0.9
* Tue Sep 28 2004 Christopher Aillon <caillon@redhat.com> 2.8.0-2
- update-desktop-database after uninstall.
- nautilus shouldn't try to open remote files with file-roller (#133592)
2004-09-22 09:22:35 +00:00
* Wed Sep 22 2004 Christopher Aillon <caillon@redhat.com> 2.8.0-1
- Update to 2.8.0
* Mon Aug 30 2004 Christopher Aillon <caillon@redhat.com> 2.7.5-0
- Update to 2.7.5
* Wed Aug 18 2004 Christopher Aillon <caillon@redhat.com> 2.7.4-0
- Update to 2.7.4
* Mon Aug 16 2004 Christopher Aillon <caillon@redhat.com> 2.7.3-3
- Use update-desktop-database instead of rebuild-mime-info-cache
* Sun Aug 15 2004 Christopher Aillon <caillon@redhat.com> 2.7.3-2
- Rebuild MIME info cache
* Thu Aug 05 2004 Christopher Aillon <caillon@redhat.com> 2.7.3-1
- Update to 2.7.3
* Sat Jul 03 2004 Christopher Aillon <caillon@redhat.com> 2.6.2-1
- update to 2.6.2
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 09 2004 Christopher Aillon <caillon@redhat.com> 2.6.1-1
- update to 2.6.1
* Fri Apr 2 2004 Alex Larsson <alexl@redhat.com> 2.6.0-1
- update to 2.6.0
* Tue Mar 9 2004 Alexander Larsson <alexl@redhat.com> 2.5.6-1
- update to 2.5.6
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Feb 26 2004 Alexander Larsson <alexl@redhat.com> 2.5.5-1
- update to 2.5.5
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Jan 30 2004 Alexander Larsson <alexl@redhat.com> 2.5.2-1
- update to 2.5.2
* Fri Oct 3 2003 Alexander Larsson <alexl@redhat.com> 2.4.0.1-1
- 2.4.0.1
* Tue Aug 19 2003 Alexander Larsson <alexl@redhat.com> 2.3.4-1
- update for gnome 2.3
* Fri Aug 8 2003 Elliot Lee <sopwith@redhat.com> 2.2.3-5
- Fix libtool
* Wed Jul 9 2003 Alexander Larsson <alexl@redhat.com> 2.2.3-4.E
- Rebuild
* Thu Jun 5 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Jun 5 2003 Alexander Larsson <alexl@redhat.com> 2.2.3-3
- Update scrollkeeper prereq to version 0.3.4-2 (#92251)
* Mon May 19 2003 Alexander Larsson <alexl@redhat.com> 2.2.3-2
- Use system libtool
* Mon May 19 2003 Alexander Larsson <alexl@redhat.com> 2.2.3-1
- Update to 2.2.3
* Tue Feb 4 2003 Alexander Larsson <alexl@redhat.com> 2.2.1-2
- Add patch that disables monitoring in recent-files
* Fri Jan 31 2003 Alexander Larsson <alexl@redhat.com> 2.2.1-1
- Update to 2.2.1, more translations
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 2.2.0-1
- Update to 2.2.0
- Conflict with nautilus < 2.2.0
* Thu Jan 9 2003 Alexander Larsson <alexl@redhat.com> 2.1.5-1
- Update to 2.1.5
* Thu Dec 19 2002 Havoc Pennington <hp@redhat.com>
- 2.1.4
- remove noscripts patch, now upstream
* Mon Dec 9 2002 Alexander Larsson <alexl@redhat.com> 2.1.3-3
- fix server file path
* Mon Dec 9 2002 Alexander Larsson <alexl@redhat.com> 2.1.3-2
- Remove unpackaged files
* Mon Dec 9 2002 Alexander Larsson <alexl@redhat.com> 2.1.3-1
- Update to 2.1.3
* Fri Dec 6 2002 Havoc Pennington <hp@redhat.com>
- 2.1.2
- fix unpackaged files
* Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
- fix URL field
- put icon in file list
- 2.0.0 stable release
* Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
- initial build