1 Summary: DevHelp is a developer's help program for GNOME
2 Summary(pl): Program pomocy dla programistów GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.9/%{name}-%{version}.tar.bz2
9 # Source0-md5: cc1394c8738b91e7b95943a60977759f
10 Patch0: %{name}-bookdir.patch
11 Patch1: %{name}-locale-names.patch
12 Patch2: %{name}-mozilla_home.patch
13 URL: http://www.imendio.com/projects/devhelp/
14 BuildRequires: GConf2-devel
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gnome-vfs2-devel >= 2.4.0
18 BuildRequires: gtk+2-devel >= 2:2.4.0
19 BuildRequires: libglade2-devel >= 2.0.0
20 BuildRequires: libgnomeui-devel >= 2.4.0
21 BuildRequires: libtool
22 BuildRequires: mozilla-devel >= 1.6
23 BuildRequires: zlib-devel
24 Requires(post,postun): GConf2
25 Requires: %{name}-libs = %{version}-%{release}
26 Requires: mozilla = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla)
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 DevHelp is a developer's help program for GNOME.
33 Program pomocy dla programistów GNOME.
36 Summary: Library to embed Devhelp in other applications
37 Summary(pl): Biblioteka do osadzania Devhelp w innych aplikacjach
41 Library of Devhelp for embedding into other applications..
43 %description libs -l pl
44 Biblioteka Devhelp do osadzania w innych aplikacjach..
47 Summary: Headers for Devhelp library
48 Summary(pl): Pliki nag³ówkowe biblioteki Devhelp
49 Group: Development/Libraries
50 Requires: %{name}-libs = %{version}-%{release}
53 Headers for Devhelp library.
55 %description devel -l pl
56 Pliki nag³ówkowe biblioteki Devhelp.
59 Summary: Static Devhelp library
60 Summary(pl): Statyczna biblioteka Devhelp
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static version of Devhelp library.
67 %description static -l pl
68 Statyczna biblioteka Devhelp.
79 cp /usr/share/automake/config.sub .
81 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
86 --disable-install-schemas
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \
92 $RPM_BUILD_ROOT%{_datadir}/%{name}/{books,specs}
95 DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
103 %gconf_schema_install
106 %gconf_schema_install
108 %post libs -p /sbin/ldconfig
109 %postun libs -p /sbin/ldconfig
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS ChangeLog NEWS README TODO
114 %attr(755,root,root) %{_bindir}/devhelp*
116 %{_datadir}/mime-info/*
117 %{_desktopdir}/*.desktop
119 %{_sysconfdir}/gconf/schemas/*
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/lib*.so.*.*
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/lib*.so
129 %{_pkgconfigdir}/*.pc
133 %defattr(644,root,root,755)