Fri Jun 21 2002 Havoc Pennington <hp@redhat.com> - initial buildepel9
parent
233dc4c00c
commit
d60d970bdd
@ -0,0 +1 @@
|
||||
file-roller-1.107.tar.gz
|
@ -0,0 +1,90 @@
|
||||
%define glib2_version 2.0.3
|
||||
%define pango_version 1.0.99
|
||||
%define gtk2_version 2.0.5
|
||||
%define libgnomeui_version 2.0.0
|
||||
%define libgnomeprint_version 1.115.0
|
||||
%define libgnomeprintui_version 1.115.0
|
||||
%define desktop_file_utils_version 0.2.90
|
||||
%define nautilus_version 2.0.0
|
||||
|
||||
Summary: File Roller is a tool for viewing and creating archives.
|
||||
Name: file-roller
|
||||
Version: 1.107
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Applications/Archiving
|
||||
Source0: http://prdownloads.sourceforge.net/fileroller/file-roller-%{version}.tar.gz
|
||||
URL: http://file-roller.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/file-roller-%{version}-root
|
||||
|
||||
PreReq: scrollkeeper >= 0.1.4
|
||||
PreReq: GConf2
|
||||
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: pango-devel >= %{pango_version}
|
||||
BuildRequires: gtk2-devel >= %{gtk2_version}
|
||||
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
||||
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version}
|
||||
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
|
||||
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
|
||||
BuildRequires: nautilus >= %{nautilus_version}
|
||||
|
||||
%description
|
||||
File Roller is an application for creating and viewing archives files,
|
||||
such as tar files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
%makeinstall
|
||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
||||
|
||||
# temporary hack to add missing semicolon, fix sent upstream
|
||||
perl -pi -e 's/Categories=Application;Utility$/Categories=Application;Utility;/' $RPM_BUILD_ROOT%{_datadir}/applications/*
|
||||
|
||||
desktop-file-install --vendor gnome --delete-original \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
--add-only-show-in GNOME \
|
||||
--add-category X-Red-Hat-Base \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/*
|
||||
|
||||
#%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
scrollkeeper-update
|
||||
#export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
#SCHEMAS=""
|
||||
#for S in $SCHEMAS; do
|
||||
# gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
|
||||
#done
|
||||
|
||||
%postun
|
||||
scrollkeeper-update
|
||||
|
||||
#-f %{name}.lang
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README COPYING ChangeLog NEWS AUTHORS
|
||||
%{_bindir}/*
|
||||
%{_datadir}/file-roller
|
||||
%{_datadir}/gnome
|
||||
%{_datadir}/omf
|
||||
%{_datadir}/applications
|
||||
%{_datadir}/mime-info/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
|
||||
- initial build
|
||||
|
Loading…
Reference in new issue