rpms/gnochm/devel gnochm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Patrice Dumas (pertusus)
fedora-extras-commits at redhat.com
Sat Apr 8 21:55:35 UTC 2006
Author: pertusus
Update of /cvs/extras/rpms/gnochm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14787/devel
Modified Files:
.cvsignore sources
Added Files:
gnochm.spec
Log Message:
auto-import gnochm-0.9.7-2 on branch devel from gnochm-0.9.7-2.src.rpm
--- NEW FILE gnochm.spec ---
Name: gnochm
Version: 0.9.7
Release: 2%{?dist}
Summary: CHM file viewer
Group: Applications/Publishing
License: GPL
URL: http://gnochm.sourceforge.net/
Source0: http://dl.sf.net/gnochm/gnochm-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
Requires: python-chm
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
BuildRequires: scrollkeeper
Requires(post): scrollkeeper
Requires(postun): scrollkeeper
BuildRequires: desktop-file-utils
%description
A CHM file viewer for Gnome. Features are:
* Full text search
* Bookmarks
* Support for external ms-its links
* Configurable support for http links
* Internationalisation
* Displays HTML page source
%prep
%setup -q
iconv -f ISO8859-1 -t UTF8 < data/gnochm.1.it > gnochm.1.it.new && mv -f gnochm.1.it.new data/gnochm.1.it
%build
%configure --disable-mime-update
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category X-Fedora \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/gnochm.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
# If the schema file has ever been renamed::
#gconftool-2 --makefile-uninstall-rule \
# %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || :
killall -HUP gconfd-2 || :
fi
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
killall -HUP gconfd-2 || :
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
update-mime-database %{_datadir}/mime &> /dev/null || :
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
killall -HUP gconfd-2 || :
fi
%postun
scrollkeeper-update -q || :
update-mime-database %{_datadir}/mime &> /dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%config %{_sysconfdir}/gconf/schemas/*.schemas
%{_bindir}/gnochm
%{_datadir}/gnochm/
%{_datadir}/gnome/help/gnochm/
%{_datadir}/application-registry/gnochm.*
%{_datadir}/applications/fedora-gnochm.desktop
%{_datadir}/mime/packages/gnochm.xml
%{_mandir}/man*/gnochm.1*
%{_mandir}/*/man*/gnochm.1*
%{_datadir}/mime-info/gnochm.*
%{_datadir}/omf/gnochm/
%{_datadir}/pixmaps/chmfile.png
%{_datadir}/pixmaps/gnochm*.png
%changelog
* Sun Mar 12 2006 Patrice Dumas <pertusus at free.fr> 0.9.7-2
- Fedora Extras submission, loosely based on Dag.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gnochm/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Apr 2006 21:54:58 -0000 1.1
+++ .cvsignore 8 Apr 2006 21:55:34 -0000 1.2
@@ -0,0 +1 @@
+gnochm-0.9.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gnochm/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Apr 2006 21:54:58 -0000 1.1
+++ sources 8 Apr 2006 21:55:34 -0000 1.2
@@ -0,0 +1 @@
+799cd06cc44f2380266b2172277ce217 gnochm-0.9.7.tar.gz
More information about the fedora-extras-commits
mailing list