author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16427 | 63d81b085adb |
child 16554 | 43270dd8352b |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package libwnck |
|
3 |
# |
|
11456 | 4 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
9397 | 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 mattman |
12094 | 9 |
# |
16427 | 10 |
|
11 |
%define OSR gnome.org:0 |
|
12 |
||
9397 | 13 |
%include l10n.inc |
14 |
Name: libwnck |
|
15 |
License: GPL |
|
16 |
Group: System/Libraries/GNOME |
|
16177 | 17 |
Version: 2.27.5 |
11836 | 18 |
Release: 1 |
9397 | 19 |
Distribution: Java Desktop System |
20 |
Vendor: Sun Microsystems, Inc. |
|
21 |
Summary: Window Navigator Construction Kit Library |
|
16082 | 22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libwnck/2.27/libwnck-%{version}.tar.bz2 |
9397 | 23 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 24 |
%if %build_l10n |
25 |
Source2: l10n-configure.sh |
|
26 |
%endif |
|
9397 | 27 |
#owner:niall date:2006-10-11 type:feature |
28 |
Patch1: libwnck-01-trusted-extensions.diff |
|
29 |
URL: http://www.gnome.org |
|
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
31 |
Docdir: %{_defaultdocdir}/doc |
|
32 |
Autoreqprov: on |
|
33 |
Prereq: /sbin/ldconfig |
|
34 |
||
35 |
%define gtk2_version 2.2.4 |
|
36 |
%define startup_notification_version 0.5 |
|
37 |
||
38 |
Requires: gtk2 >= %{gtk2_version} |
|
39 |
Requires: startup-notification >= %{startup_notification_version} |
|
40 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
41 |
BuildRequires: startup-notification-devel >= %{startup_notification_version} |
|
42 |
||
43 |
%description |
|
44 |
The Window Navigator Construction Kit is a library which can be used |
|
45 |
to control windows on your desktop, including API for writing |
|
46 |
Task Lists, Workspace Switchers and Window Lists. |
|
47 |
||
48 |
%package devel |
|
49 |
Summary: Window Navigator Construction Kit Development Library |
|
50 |
Group: Development/Libraries/GNOME |
|
51 |
Autoreqprov: on |
|
52 |
Requires: %name = %{version} |
|
53 |
Requires: gtk2-devel >= %{gtk2_version} |
|
54 |
||
55 |
%description devel |
|
56 |
The Window Navigator Construction Kit is a library which can be used |
|
57 |
to control windows on your desktop, including API for writing |
|
58 |
Task Lists, Workspace Switchers and Window Lists. |
|
59 |
||
60 |
%prep |
|
61 |
%setup -q |
|
62 |
%if %build_l10n |
|
63 |
bzcat %SOURCE1 | tar xf - |
|
64 |
cd po-sun; make; cd .. |
|
65 |
%endif |
|
10129 | 66 |
%patch1 -p1 |
9397 | 67 |
|
68 |
%build |
|
69 |
%ifos linux |
|
70 |
if [ -x /usr/bin/getconf ]; then |
|
71 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
72 |
fi |
|
73 |
%else |
|
74 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
75 |
%endif |
|
76 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
77 |
CPUS=1 |
|
78 |
fi |
|
79 |
||
80 |
libtoolize --force |
|
81 |
glib-gettextize -f |
|
82 |
intltoolize --force --copy |
|
12031 | 83 |
|
84 |
%if %build_l10n |
|
85 |
bash -x %SOURCE2 --enable-copyright |
|
86 |
%endif |
|
87 |
||
15423 | 88 |
gtkdocize |
9397 | 89 |
aclocal $ACLOCAL_FLAGS |
90 |
automake -a -c -f |
|
91 |
autoconf |
|
92 |
||
93 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
94 |
./configure --prefix=%{_prefix} \ |
|
95 |
--sysconfdir=%{_sysconfdir} |
|
96 |
make -j $CPUS |
|
97 |
||
98 |
%install |
|
99 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
100 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
101 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
102 |
||
103 |
%clean |
|
104 |
rm -rf $RPM_BUILD_ROOT |
|
105 |
||
106 |
%post |
|
107 |
/sbin/ldconfig |
|
108 |
||
109 |
%postun |
|
110 |
/sbin/ldconfig |
|
111 |
||
112 |
%files |
|
113 |
%{_libdir}/libwnck*.so.* |
|
114 |
%{_datadir}/locale/*/*/* |
|
115 |
||
116 |
%files devel |
|
117 |
%{_libdir}/libwnck*.so |
|
118 |
%{_libdir}/pkgconfig/*.pc |
|
119 |
%{_includedir}/* |
|
120 |
%{_datadir}/gtk-doc |
|
121 |
||
122 |
%changelog |
|
16082 | 123 |
* Tue Jul 21 2009 - [email protected] |
124 |
- Correct download link. |
|
16014
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
125 |
* Wed Jul 01 2009 - [email protected] |
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
126 |
- Bump to 2.26.2 |
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
127 |
- Fix d.o.o: 9306, add patch 02-disable-shave.diff |
15621 | 128 |
* Wed Apr 15 2009 - [email protected] |
129 |
- Bump to 2.26.1 |
|
15407 | 130 |
* Tue Mar 17 2009 - [email protected] |
131 |
- Bump to 2.26.0 |
|
132 |
- Add patch 02-gtkdoc-rebase.diff to fix GTKDOC_REBASE issue. |
|
15117 | 133 |
* Tue Feb 17 2009 - [email protected] |
134 |
- Bump to 2.25.91 |
|
14945 | 135 |
* Tue Jan 20 2009 - [email protected] |
136 |
- Bump to 2.25.5. |
|
13796 | 137 |
* Sat Sep 27 2008 - [email protected] |
138 |
- Bump to 2.24.0. |
|
13506 | 139 |
* Wed Sep 10 2008 - [email protected] |
140 |
- Bump to 2.23.92. |
|
13361 | 141 |
* Tue Sep 02 2008 - [email protected] |
142 |
- Bump to 2.23.91. |
|
13189 | 143 |
* Wed Aug 20 2008 - [email protected] |
144 |
- Remove patch libwnck-02-no-x11-dependency.diff since it is no longer needed |
|
145 |
now that the x11.pc file is in our builds. |
|
13075 | 146 |
* Thu Aug 07 2008 - [email protected] |
147 |
- Bump to 2.23.6. |
|
12687 | 148 |
* Tue Jun 17 2008 - [email protected] |
149 |
- Bump to 2.23.4. |
|
12316 | 150 |
* Fri May 16 2008 - [email protected] |
151 |
- remove conditional build of tx patch |
|
12071 | 152 |
* Wed Apr 09 2008 - [email protected] |
153 |
- Bump to 2.22.1. Remove upstream patch, 03-fixcrash. |
|
11837 | 154 |
* Tue Mar 11 2008 - [email protected] |
155 |
- Add patch to fix crashing bug 517750 (bugzilla)/6658883 (bugster) |
|
11836 | 156 |
* Mon Mar 10 2008 - [email protected] |
11843 | 157 |
- Bump to 2.22.0 |
11742
99a669a8bfa1
Commit files missed earlier. ChangeLog entries already present.
dcarbery
parents:
11618
diff
changeset
|
158 |
* Wed Feb 27 2008 - [email protected] |
99a669a8bfa1
Commit files missed earlier. ChangeLog entries already present.
dcarbery
parents:
11618
diff
changeset
|
159 |
- Bump to 2.21.92. |
11618 | 160 |
* Tue Feb 12 2008 - [email protected] |
161 |
- Bump to 2.21.91. |
|
11537 | 162 |
* Mon Jan 28 2008 - [email protected] |
163 |
- Bump to 2.21.90. |
|
11456 | 164 |
* Tue Jan 15 2008 - [email protected] |
165 |
- Bump to 2.21.5. |
|
11190 | 166 |
* Wed Nov 14 2007 - [email protected] |
167 |
- Bump to 2.21.2.1. |
|
11180 | 168 |
* Tue Nov 13 2007 - [email protected] |
169 |
- Bump to 2.21.2. |
|
10674 | 170 |
* Fri Oct 19 2007 - [email protected] |
171 |
- Bump to 2.20.1. |
|
10523 | 172 |
* Wed Sep 19 2007 - [email protected] |
173 |
- Bump to 2.20.0. |
|
10448 | 174 |
* Wed Sep 05 2007 - [email protected] |
175 |
- Bump to 2.19.92. |
|
10328 | 176 |
* Wed Aug 15 2007 - [email protected] |
177 |
- Bump to 2.19.90. |
|
10237 | 178 |
* Tue Jul 31 2007 - [email protected] |
179 |
- Bump to 2.19.6. |
|
10178 | 180 |
* Wed Jul 11 2007 - [email protected] |
181 |
- Remove upstream patch, 02-group-windows. |
|
10174 | 182 |
* Tue Jul 10 2007 - [email protected] |
183 |
- Remove upstream patch, 03-x11-keysym. |
|
10169 | 184 |
* Mon Jul 09 2007 - [email protected] |
185 |
- Bump to 2.19.5. |
|
10091 | 186 |
* Thu Jun 21 2007 - [email protected] |
187 |
- Add upstream patch, 03-x11-keysym, to fix build problem of missing header. |
|
10081 | 188 |
* Tue Jun 19 2007 - [email protected] |
189 |
- Bump to 2.19.4. Disable TX patch, waiting for rework. |
|
10012 | 190 |
* Thu Jun 07 2007 - [email protected] |
191 |
- Bump to 2.19.3.1. |
|
9988 | 192 |
* Tue Jun 05 2007 - [email protected] |
193 |
- Bump to 2.19.3. |
|
9889 | 194 |
* Mon May 14 2007 - [email protected] |
195 |
- Bump to 2.19.2. |
|
9538 | 196 |
* Tue Mar 13 2007 - [email protected] |
197 |
- Bump to 2.18.0. |
|
9457 | 198 |
* Tue Mar 06 2007 - [email protected] |
199 |
- Bump to 2.17.92. |
|
9397 | 200 |
* Tue Feb 13 2007 - [email protected] |
201 |
- Add l10n tarball. |
|
202 |
* Tue Feb 13 2007 - [email protected] |
|
203 |
- Bump to 2.17.91. |
|
204 |
* Mon Nov 27 2006 - [email protected] |
|
205 |
- Bump to 2.16.2. |
|
206 |
* Fri Nov 10 2006 - [email protected] |
|
207 |
- Re-enable ported trusted-extensions patch. |
|
208 |
* Tue Oct 03 2006 - [email protected] |
|
209 |
- Bump to 2.16.1. |
|
210 |
* Mon Sep 04 2006 - [email protected] |
|
211 |
- Bump to 2.16.0. |
|
212 |
* Tue Aug 08 2006 - [email protected] |
|
213 |
- Bump to 2.15.91. |
|
214 |
* Mon Jul 24 2006 - [email protected] |
|
215 |
- Bump to 2.15.90. |
|
216 |
* Wed Jun 22 2006 - [email protected] |
|
217 |
- libwnck-01-trusted-extensions.diff: add |
|
218 |
support for Solaris Trusted Extensions. |
|
219 |
* Fri Apr 10 2006 - [email protected] |
|
220 |
- Bump to 2.14.1. |
|
221 |
* Mon Mar 13 2006 - [email protected] |
|
222 |
- Bump to 2.14.0. |
|
223 |
* Tue Feb 28 2006 - [email protected] |
|
224 |
- Bump to 2.13.92. |
|
225 |
* Tue Feb 14 2006 - [email protected] |
|
226 |
- Bump to 2.13.91. |
|
227 |
* Tue Jan 31 2006 - [email protected] |
|
228 |
- Bump to 2.13.90. |
|
229 |
* Wed Jan 18 2006 - [email protected] |
|
230 |
- Added calls to glib-gettextize and intltoolize to avoid going into an |
|
231 |
infinite loop when building. |
|
232 |
* Tue Jan 17 2006 - [email protected] |
|
233 |
- Bump to 2.13.5 |
|
234 |
* Sun Jan 15 2006 - [email protected] |
|
235 |
- Bump to 2.13.4 |
|
236 |
* Thu Dec 22 2005 - [email protected] |
|
237 |
- Bump to 2.13.3. |
|
238 |
* Tue Nov 29 2005 - [email protected] |
|
239 |
- Bump to 2.12.2. |
|
240 |
* Tue Oct 11 2005 - [email protected] |
|
241 |
- Bump to 2.12.1 |
|
242 |
* Sat Sep 17 2005 - [email protected] |
|
243 |
- Bump to 2.12.0 |
|
244 |
* Mon Sep 05 2005 - [email protected] |
|
245 |
- Bump to 2.11.92. |
|
246 |
* Mon Aug 15 2005 - [email protected] |
|
247 |
- Bump to 2.11.91. |
|
248 |
* Fri Jun 24 2005 - [email protected] |
|
249 |
- Add patch pkgconfig.diff that adds the required libs explictly |
|
250 |
* Fri May 10 2005 - [email protected] |
|
251 |
- Bump to 2.10 |
|
252 |
* Thu Jul 08 2004 - [email protected] |
|
253 |
- Updated l10n content to libwnck-l10n-po-1.2.tar.bz2 |
|
254 |
* Wed Jul 07 2004 - [email protected] |
|
255 |
- ported to rpm4 |
|
256 |
* Wed Jul 07 2004 - [email protected] |
|
257 |
- added "-j $CPUS" to make to speed up builds |
|
258 |
* Wed May 12 2004 - [email protected] |
|
259 |
- Updated l10n content to libwnck-l10n-po-1.1.tar.bz2 |
|
260 |
* Mon Mar 29 2004 - [email protected] |
|
261 |
- Updated l10n content to libwnck-l10n-po-1.0.tar.bz2 |
|
262 |
* Tue Mar 23 2004 - [email protected] |
|
263 |
- Bump to 2.6.0 and remove the uninstalled, |
|
264 |
potfiles and null atom patches - upstream. |
|
265 |
* Sun Mar 21 2004 - [email protected] |
|
266 |
- add patch 03 instead of adding patch 02 twice. |
|
267 |
* Fri Mar 19 2004 - <[email protected]> |
|
268 |
- add patch 2 fixing null atom names from causing coredummp on Solaris. |
|
269 |
* Thu Mar 11 2004 - [email protected] |
|
270 |
- libwnck-02-g11n-potfiles.diff |
|
271 |
* Fri Feb 20 2004 - [email protected] |
|
272 |
- Update Distro, l10n tarball |
|
273 |
* Tue Feb 17 2004 - [email protected] |
|
274 |
- Add uninstalled.pc file needed for the Solaris builds |
|
275 |
* Fri Oct 10 2003 - <[email protected]> |
|
276 |
- update to 2.4.0.1 |
|
277 |
* Thu Aug 14 2003 - <[email protected]> |
|
278 |
- move lib*.so to -devel, remove *.a, *.la |
|
279 |
* Thu Jul 10 2003 - [email protected] |
|
280 |
- Added .po tarball |
|
281 |
* Fri May 30 2003 - [email protected] |
|
282 |
- Backport fitt's law patch for gnome-panel 2.3.x. |
|
283 |
* Tue May 13 2003 - [email protected] |
|
284 |
- initial Sun release. |