]> git.pld-linux.org Git - packages/gnochm.git/blob - gnochm.spec
- "HTTP" unification
[packages/gnochm.git] / gnochm.spec
1 Summary:        A CHM file viewer for Gnome
2 Summary(pl):    Przegl±darka plików CHM dla Gnome
3 Name:           gnochm
4 Version:        0.9.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  f5476c21943ad669c62d860cd712487a
10 URL:            http://gnochm.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 %pyrequires_eq  python
14 BuildRequires:  chmlib-devel
15 BuildRequires:  python-devel >= 2.2.1
16 BuildRequires:  rpm-pythonprov
17 Requires(post): %{_bindir}/gconftool-2
18 Requires(post): scrollkeeper
19 Requires(postun):       scrollkeeper
20 Requires:       python-chm >= 0.8.0
21 Requires:       python-gnome
22 Requires:       python-gnome-gconf
23 Requires:       python-gnome-gtkhtml >= 2.0
24 Requires:       python-gnome-ui
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 A CHM file viewer for Gnome. Features are:
30 - Full text search
31 - Bookmarks
32 - Support for external ms-its links
33 - Configurable support for HTTP links
34 - Internationalisation
35
36 %description -l pl
37 Przegl±darka plików CHM dla Gnome charakteryzuj±ca siê:
38 - Pe³nym wyszukiwaniem tekstu
39 - Zak³adkami
40 - Obs³ug± zewnêtrznych powi±zañ ms-its
41 - Konfigurowalnym wsparciem dla powi±zañ HTTP
42 - Obs³ug± jêzyków narodowych
43
44 %prep
45 %setup -q
46
47 %build
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
59         SHAREDMIME_TOOL=no
60
61 %find_lang %{name} --with-gnome
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post 
67 %{_bindir}/scrollkeeper-update
68 %gconf_schema_install
69
70 %postun -p %{_bindir}/scrollkeeper-update
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc ABOUT-NLS AUTHORS ChangeLog NEWS README
75 %attr(755,root,root) %{_bindir}/gnochm
76 %{_datadir}/%{name}
77 %{_datadir}/omf/gnochm
78 %{_pixmapsdir}/*
79 %{_datadir}/applications/gnochm.desktop
80 %{_datadir}/mime-info/gnochm.*
81 %{_datadir}/mime/packages/gnochm.*
82 %{_datadir}/application-registry/gnochm.*
83 %{_mandir}/man?/*
84 %{_sysconfdir}/gconf/schemas/gnochm.schemas
This page took 0.041836 seconds and 4 git commands to generate.