author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16427 | 63d81b085adb |
child 17789 | 79e576c49542 |
permissions | -rw-r--r-- |
9550 | 1 |
# |
2 |
# spec file for package devhelp.spec |
|
3 |
# |
|
4 |
# Copyright (c) 2007 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner halton |
9550 | 9 |
# |
16427 | 10 |
|
11 |
%define OSR gnome.org:0 |
|
12 |
||
14402 | 13 |
%include l10n.inc |
9550 | 14 |
Name: devhelp |
14563 | 15 |
License: GPL v2 |
9550 | 16 |
Group: System/GUI/GNOME |
14750 | 17 |
#### DO NOT BUMP MODULE TO 0.22 or LATER AS IT IS DEPEND ON WEBKIT WHICH IS |
18 |
#### NOT YET READY FOR SOLARIS |
|
19 |
Version: 0.21 |
|
9550 | 20 |
Release: 1 |
21 |
Distribution: Java Desktop System |
|
22 |
Vendor: Sun Microsystems, Inc. |
|
23 |
Summary: API documentation browser for GNOME |
|
14785 | 24 |
Source: http://download.gnome.org/sources/devhelp/0.21/devhelp-%{version}.tar.bz2 |
14402 | 25 |
%if %build_l10n |
26 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
27 |
%endif |
|
13137 | 28 |
#date:2008-08-15 owner:jedy type:branding |
14750 | 29 |
Patch1: devhelp-01-menu-entry.diff |
12269 | 30 |
|
9550 | 31 |
URL: http://developer.imendio.com/projects/devhelp |
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
33 |
||
34 |
%define gtk2_version 2.5.3 |
|
35 |
%define gnome_vfs_version 2.6.0 |
|
36 |
%define libgnomeui_version 2.6.0 |
|
37 |
%define libbonobo_version 2.6.0 |
|
38 |
%define libxslt_version 1.1.14 |
|
39 |
%define libglade_version 2.5.1 |
|
40 |
%define libxml2_version 2.6.5 |
|
41 |
%define mozilla_version 1.7 |
|
42 |
%define libwnck_version 2.16.0 |
|
43 |
||
44 |
Requires: gtk2 >= %{gtk2_version} |
|
45 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
46 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
47 |
Requires: libbonobo >= %{libbonobo_version} |
|
48 |
Requires: libxslt >= %{libxslt_version} |
|
49 |
Requires: libglade >= %{libglade_version} |
|
50 |
Requires: libxml2 >= %{libxml2_version} |
|
51 |
Requires: mozilla >= %{mozilla_version} |
|
52 |
Requires: libwnck >= %{libwnck_version} |
|
53 |
||
54 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
55 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
56 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
57 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
58 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
59 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
60 |
BuildRequires: mozilla-devel >= %{mozilla_version} |
|
61 |
BuildRequires: libwnck-devel >= %{libwnck_version} |
|
62 |
||
63 |
%description |
|
64 |
Devhelp is an API documentation browser for GNOME 2. It works natively with gtk-doc (the API reference framework developed for GTK+ and used throughout GNOME for API documentation). |
|
65 |
||
66 |
%package devel |
|
67 |
Summary: Library to embed Devhelp in other applications |
|
68 |
SUNW_BaseDir: %{_basedir} |
|
69 |
%include default-depend.inc |
|
70 |
Requires: %name |
|
71 |
||
72 |
%description devel |
|
73 |
Library of Devhelp for embedding into other applications. |
|
74 |
||
75 |
%prep |
|
76 |
%setup -q |
|
14402 | 77 |
%if %build_l10n |
78 |
bzcat %SOURCE1 | tar xf - |
|
79 |
cd po-sun; make; cd .. |
|
80 |
%endif |
|
81 |
||
14750 | 82 |
%patch1 -p1 |
9550 | 83 |
|
84 |
%build |
|
85 |
%ifos linux |
|
86 |
if [ -x /usr/bin/getconf ]; then |
|
87 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
88 |
fi |
|
89 |
%else |
|
90 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
91 |
%endif |
|
92 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
93 |
CPUS=1 |
|
94 |
fi |
|
95 |
||
12269 | 96 |
libtoolize --force |
97 |
glib-gettextize -f |
|
98 |
intltoolize --force --copy |
|
99 |
aclocal $ACLOCAL_FLAGS |
|
100 |
autoheader |
|
101 |
automake -a -c -f |
|
102 |
autoconf |
|
103 |
||
9550 | 104 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} \ |
105 |
--libdir=%{_libdir} \ |
|
106 |
--libexecdir=%{_libexecdir} \ |
|
107 |
--sysconfdir=%{_sysconfdir} --disable-gtk-doc |
|
108 |
make -j$CPUS |
|
109 |
||
110 |
%install |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
113 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
114 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
115 |
||
116 |
||
117 |
%clean |
|
118 |
rm -rf $RPM_BUILD_ROOT |
|
119 |
||
120 |
%files |
|
121 |
%defattr(-, root, root) |
|
122 |
%doc AUTHORS ChangeLog COPYING NEWS README TODO |
|
123 |
%config %{_sysconfdir}/gconf/schemas/devhelp.schemas |
|
124 |
%{_bindir}/devhelp* |
|
125 |
%{_datadir}/applications/devhelp.desktop |
|
126 |
%{_datadir}/devhelp/ |
|
127 |
%{_datadir}/mime-info/devhelp.* |
|
128 |
%{_datadir}/pixmaps/devhelp.png |
|
129 |
%{_libdir}/libdevhelp-1.so.* |
|
130 |
||
131 |
%files devel |
|
132 |
%defattr(-, root, root) |
|
133 |
%{_includedir}/devhelp-1.0/ |
|
134 |
%{_libdir}/libdevhelp-1.so |
|
135 |
%{_libdir}/pkgconfig/libdevhelp-1.0.pc |
|
136 |
||
137 |
%changelog |
|
14402 | 138 |
* Wed Oct 01 2008 - [email protected] |
139 |
- Add l10n tarball. |
|
140 |
||
13728 | 141 |
* Tue Sep 23 2008 - [email protected] |
142 |
- Bump to 0.21. |
|
143 |
||
13442 | 144 |
* Tue Sep 09 2008 - [email protected] |
145 |
- Bump to 0.20. |
|
13530 | 146 |
- Remove upstream 03-using-firefox3-gecko.diff. |
13442 | 147 |
|
13250 | 148 |
* Fri Aug 22 2008 - [email protected] |
149 |
- rename desktop.diff to menu-entry.diff. |
|
150 |
||
13204 | 151 |
* Thu Aug 21 2008 - [email protected] |
152 |
- remove option_with_indiana_branding |
|
153 |
||
13137 | 154 |
* Fir Aug 14 2008 - [email protected] |
155 |
- add 02-desktop.diff. |
|
156 |
||
12366
7bec8df993fc
re-commit the missing changes: add option "--with-ff3" to enable devhelp building with firefox3
evan
parents:
12356
diff
changeset
|
157 |
* Mon May 26 2008 - [email protected] |
7bec8df993fc
re-commit the missing changes: add option "--with-ff3" to enable devhelp building with firefox3
evan
parents:
12356
diff
changeset
|
158 |
- add option "--with-ff3" to enable building with Firefox3 |
7bec8df993fc
re-commit the missing changes: add option "--with-ff3" to enable devhelp building with firefox3
evan
parents:
12356
diff
changeset
|
159 |
|
12356 | 160 |
* Mon May 26 2008 - [email protected] |
161 |
- Bump to 0.19.1. |
|
12352 | 162 |
|
12317 | 163 |
* Fri May 16 2008 - [email protected] |
164 |
- Comment out Evan's patch, 01-using-firefox3-gecko, so that we build against |
|
165 |
firefox 2 because FF3 is not stable enough to be the default browser in |
|
166 |
Nevada. |
|
167 |
||
12269 | 168 |
* Thu May 08 2008 - [email protected] |
169 |
- Add patch devhelp-01-using-firefox3-gecko.diff: |
|
170 |
build devhelp with firefox3 package |
|
171 |
- Add running auto tools |
|
172 |
||
11609 | 173 |
* Fri Feb 08 2008 - [email protected] |
174 |
- Bump to 0.19. |
|
175 |
||
11563 | 176 |
* Wed Jan 30 2008 - [email protected] |
177 |
- Bump to 0.18. |
|
178 |
||
11405 | 179 |
* Mon Jan 08 2008 - [email protected] |
180 |
- Bump to 0.17. |
|
181 |
||
11324 | 182 |
* Sun Dec 16 2007 - [email protected] |
183 |
- Change the way version is defined so pkgtool plays |
|
184 |
nicely with minor versions [due to HTTP 404 upon fetching] |
|
185 |
||
10622 | 186 |
* Mon Oct 08 2007 - [email protected] |
187 |
- Bump to 0.16.1. |
|
188 |
||
10488 | 189 |
* Tue Sep 11 2007 - [email protected] |
190 |
- Bump to 0.16. |
|
191 |
||
10079 | 192 |
* Tue Jun 19 2007 - [email protected] |
193 |
- Bump to 0.15. Remove upstream patch, 01-va-args. |
|
194 |
||
9917 | 195 |
* Thu May 17 2007 - [email protected] |
196 |
- Bump to 0.14. Add patch 01-va-args to fix 439054. |
|
197 |
||
9550 | 198 |
* Fri Mar 14 2007 - [email protected] |
199 |
- Initial version created, which stems from extra-spec-file |
|
200 |
created by [email protected] on sourceforge.net svn repository. |