1 %define minmozver 5:1.7
2 Summary: DevHelp is a developer's help program for GNOME
3 Summary(pl): Program pomocy dla programistów GNOME
8 Group: X11/Applications
9 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.9/%{name}-%{version}.tar.bz2
10 # Source0-md5: 71833b565e83d5f23d012b2691d73b29
11 Patch0: %{name}-bookdir.patch
12 Patch1: %{name}-mozilla.patch
13 Patch2: %{name}-mozilla_includes.patch
14 URL: http://www.imendio.com/projects/devhelp/
15 BuildRequires: GConf2-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gnome-common >= 2.8.0
19 BuildRequires: gnome-vfs2-devel >= 2.4.0
20 BuildRequires: gtk+2-devel >= 2:2.4.4
21 BuildRequires: libglade2-devel >= 2.0.0
22 BuildRequires: libgnomeui-devel >= 2.4.0
23 BuildRequires: libtool
24 BuildRequires: mozilla-devel >= %{minmozver}
25 BuildRequires: zlib-devel
26 Requires(post,postun): GConf2
27 Requires: %{name}-libs = %{version}-%{release}
28 Requires: mozilla = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla)
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 # can be provided by mozilla or mozilla-embedded
32 %define _noautoreqdep libgtkembedmoz.so libxpcom.so
35 DevHelp is a developer's help program for GNOME.
38 Program pomocy dla programistów GNOME.
41 Summary: Library to embed Devhelp in other applications
42 Summary(pl): Biblioteka do osadzania Devhelp w innych aplikacjach
46 Library of Devhelp for embedding into other applications..
48 %description libs -l pl
49 Biblioteka Devhelp do osadzania w innych aplikacjach..
52 Summary: Headers for Devhelp library
53 Summary(pl): Pliki nag³ówkowe biblioteki Devhelp
54 Group: Development/Libraries
55 Requires: %{name}-libs = %{version}-%{release}
58 Headers for Devhelp library.
60 %description devel -l pl
61 Pliki nag³ówkowe biblioteki Devhelp.
64 Summary: Static Devhelp library
65 Summary(pl): Statyczna biblioteka Devhelp
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
70 Static version of Devhelp library.
72 %description static -l pl
73 Statyczna biblioteka Devhelp.
88 --disable-install-schemas
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \
94 $RPM_BUILD_ROOT%{_datadir}/%{name}/{books,specs}
97 DESTDIR=$RPM_BUILD_ROOT
99 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
104 rm -rf $RPM_BUILD_ROOT
107 %gconf_schema_install
110 %gconf_schema_install
112 %post libs -p /sbin/ldconfig
113 %postun libs -p /sbin/ldconfig
115 %files -f %{name}.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS ChangeLog NEWS README TODO
118 %attr(755,root,root) %{_bindir}/devhelp*
120 %{_datadir}/mime-info/*
121 %{_desktopdir}/*.desktop
123 %{_sysconfdir}/gconf/schemas/*
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/lib*.so.*.*
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_pkgconfigdir}/*.pc
137 %defattr(644,root,root,755)