author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package gnome-mag |
|
3 |
# |
|
4 |
# Copyright (c) 2005 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 |
# |
|
2008 | 8 |
Name: gnome-mag |
9 |
License: LGPL |
|
10 |
Group: System/Libraries |
|
19413
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19294
diff
changeset
|
11 |
Version: 0.12.1 |
19643 | 12 |
Release: 201 |
19693 | 13 |
Distribution: Java Desktop System |
2008 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: GNOME magnifier |
|
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.12/%{name}-%{version}.tar.bz2 |
19719 | 17 |
Source1: magnifier.1.gz |
4012
694894ade97b
Added patch for gnome-mag, work around bug #5099413.
wh70179
parents:
4007
diff
changeset
|
18 |
Patch1: gnome-mag-01-uninstalled.pc.diff |
2008 | 19 |
URL: http://developer.gnome.org/projects/gap/ |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
Docdir: %{_defaultdocdir}/%{name} |
|
22 |
Autoreqprov: on |
|
23 |
Prereq: /sbin/ldconfig |
|
24 |
||
25 |
%define gtk2_version 2.2.4 |
|
26 |
%define libbonobo_version 2.4.0 |
|
4902
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
27 |
%define popt_version 1.6.4 |
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
28 |
%define at_spi_version 1.5.4 |
2008 | 29 |
|
4902
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
30 |
# Requirements |
2008 | 31 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
32 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
4902
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
33 |
BuildRequires: popt-devel >= %{popt_version} |
2008 | 34 |
Requires: gtk2 >= %{gtk2_version} |
35 |
Requires: libbonobo >= %{libbonobo_version} |
|
4902
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
36 |
Requires: at-spi >= %at_spi_version |
2008 | 37 |
|
38 |
%description |
|
4902
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
39 |
gnome-mag is a screen magnification service using Bonobo. |
2008 | 40 |
|
41 |
%prep |
|
42 |
%setup -q |
|
4012
694894ade97b
Added patch for gnome-mag, work around bug #5099413.
wh70179
parents:
4007
diff
changeset
|
43 |
%patch1 -p1 |
4455 | 44 |
|
2008 | 45 |
%build |
3263 | 46 |
%ifos linux |
47 |
if [ -x /usr/bin/getconf ]; then |
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
49 |
fi |
|
50 |
%else |
|
3846 | 51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 52 |
%endif |
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
56 |
||
2787 | 57 |
autoconf |
2008 | 58 |
CFLAGS="$RPM_OPT_FLAGS" \ |
59 |
./configure --prefix=%{_prefix} \ |
|
60 |
--sysconfdir=%{_sysconfdir} \ |
|
4601
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
61 |
--libdir=%{_libdir} \ |
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
62 |
--bindir=%{_bindir} \ |
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
63 |
--includedir=%{_includedir} \ |
3666 | 64 |
--mandir=%{_mandir} |
3263 | 65 |
make -j $CPUS |
2008 | 66 |
|
67 |
%install |
|
68 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
4357 | 69 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
19719 | 70 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
3628 | 71 |
#clean up unpackaged files |
72 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
2008 | 73 |
|
74 |
||
75 |
%clean |
|
76 |
rm -rf $RPM_BUILD_ROOT |
|
77 |
||
78 |
%post |
|
79 |
/sbin/ldconfig |
|
80 |
||
81 |
%postun |
|
82 |
/sbin/ldconfig |
|
83 |
||
84 |
%files |
|
85 |
%defattr(-,root,root) |
|
86 |
%{_bindir}/* |
|
87 |
%{_includedir}/gnome-mag-1.0/*/* |
|
88 |
%{_libdir}/*.so* |
|
89 |
%{_libdir}/bonobo/servers/GNOME_Magnifier.server |
|
90 |
%{_libdir}/pkgconfig/*.pc |
|
91 |
%{_datadir}/gnome-mag/* |
|
92 |
%{_datadir}/idl/gnome-mag-1.0/GNOME_Magnifier.idl |
|
93 |
%{_datadir}/locale/*/*/* |
|
4357 | 94 |
%{_mandir}/man1/* |
2008 | 95 |
|
96 |
%changelog |
|
19643 | 97 |
* Thu May 12 2005 - [email protected] |
98 |
- Revved to 0.12.1, fixes #6199929. Removed obsolete g11n patch. |
|
19294
8b1b2d889cd9
2005-05-16 Balamurali Viswanathan <[email protected]>
bviswa
parents:
5370
diff
changeset
|
99 |
|
5016
1b080eb3f530
gnome-mag bugfix for unequal source and target display sizes. Bugzilla 166282.
wh70179
parents:
4980
diff
changeset
|
100 |
* Fri Feb 04 2005 - [email protected] |
1b080eb3f530
gnome-mag bugfix for unequal source and target display sizes. Bugzilla 166282.
wh70179
parents:
4980
diff
changeset
|
101 |
- Revved to 0.11.14, fixes bugzilla bug #166282 which should be a P2 |
1b080eb3f530
gnome-mag bugfix for unequal source and target display sizes. Bugzilla 166282.
wh70179
parents:
4980
diff
changeset
|
102 |
bugster bug. |
1b080eb3f530
gnome-mag bugfix for unequal source and target display sizes. Bugzilla 166282.
wh70179
parents:
4980
diff
changeset
|
103 |
|
4902
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
104 |
* Fri Jan 21 2005 - [email protected] |
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
105 |
Corrected dependencies - removed gnome-speech and gail dependencies, |
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
106 |
added at-spi dependency (for LoginHelper API) and popt dependency. |
0703013037b6
Corrected dependencies (removed unneeded deps, added 2 needed ones)
wh70179
parents:
4875
diff
changeset
|
107 |
|
4875
dc15ab147c33
gnome-mag.spec; up-revved to 0.11.13, many P1/P2 fixes.
wh70179
parents:
4867
diff
changeset
|
108 |
* Wed Jan 19 2005 - [email protected] |
dc15ab147c33
gnome-mag.spec; up-revved to 0.11.13, many P1/P2 fixes.
wh70179
parents:
4867
diff
changeset
|
109 |
Revved to 0.11.13, fixes for 618662, 6217152, 6205225, 6199929. |
dc15ab147c33
gnome-mag.spec; up-revved to 0.11.13, many P1/P2 fixes.
wh70179
parents:
4867
diff
changeset
|
110 |
|
4715
50c94eb2fe02
Fixes for 6182805, 6182499, 6182502 to gnome-mag (revved to 0.11.11).
wh70179
parents:
4689
diff
changeset
|
111 |
* Tue Dec 07 2004 - [email protected] |
50c94eb2fe02
Fixes for 6182805, 6182499, 6182502 to gnome-mag (revved to 0.11.11).
wh70179
parents:
4689
diff
changeset
|
112 |
Revved to 0.11.11, fixes for bugs 6192805, 6182499, 6182502. |
50c94eb2fe02
Fixes for 6182805, 6182499, 6182502 to gnome-mag (revved to 0.11.11).
wh70179
parents:
4689
diff
changeset
|
113 |
|
4601
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
114 |
* Fri Nov 19 2004 - [email protected] |
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
115 |
- add --bindir=%{_bindir}, --libdir=%{_libdir} and --includedir=%{_includedir} |
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
116 |
to configure opts. |
98e12d3692dc
* gnome-mag.spec, gok.spec, gnopernicus.spec: Add --bindir=%{_bindir},
dc144907
parents:
4579
diff
changeset
|
117 |
|
4461 | 118 |
* Fri Nov 05 2004 - [email protected] |
119 |
- Revved to 0.11.10. Should improve bugtraq 5099413 further. |
|
4421 | 120 |
|
4357 | 121 |
* Thu Oct 28 2004 - [email protected] |
122 |
- Add magnifier.1 man page |
|
123 |
||
4182
7821bb76231d
Revved gnome-mag to 0.11.8, removed patch. Partial fix for
wh70179
parents:
4133
diff
changeset
|
124 |
* Wed Oct 06 2004 - [email protected] |
7821bb76231d
Revved gnome-mag to 0.11.8, removed patch. Partial fix for
wh70179
parents:
4133
diff
changeset
|
125 |
- Removed patch, revved to 0.11.8. Partial fix for bugtraq 5099413. |
7821bb76231d
Revved gnome-mag to 0.11.8, removed patch. Partial fix for
wh70179
parents:
4133
diff
changeset
|
126 |
|
4012
694894ade97b
Added patch for gnome-mag, work around bug #5099413.
wh70179
parents:
4007
diff
changeset
|
127 |
* Mon Sep 20 2004 - [email protected] |
694894ade97b
Added patch for gnome-mag, work around bug #5099413.
wh70179
parents:
4007
diff
changeset
|
128 |
- Added patch gnome-mag-02-damage-fix.diff for bugtraq 5099413. |
694894ade97b
Added patch for gnome-mag, work around bug #5099413.
wh70179
parents:
4007
diff
changeset
|
129 |
|
3802
b82cacf6eef1
Revved gnome-mag to 0.11.5, gnopernicus to 0.9.10. Removed obsolete
wh70179
parents:
3679
diff
changeset
|
130 |
* Tue Aug 31 2004 - [email protected] |
3988
7095c221aa53
Bumped gnome-mag to 0.11.7, should be better for debugging XDAMAGE/mag issues.
wh70179
parents:
3858
diff
changeset
|
131 |
- Revved to 0.11.7, gives readable SourceDisplay and TargetDisplay |
7095c221aa53
Bumped gnome-mag to 0.11.7, should be better for debugging XDAMAGE/mag issues.
wh70179
parents:
3858
diff
changeset
|
132 |
params, and better debugging support for XDAMAGE. |
7095c221aa53
Bumped gnome-mag to 0.11.7, should be better for debugging XDAMAGE/mag issues.
wh70179
parents:
3858
diff
changeset
|
133 |
|
7095c221aa53
Bumped gnome-mag to 0.11.7, should be better for debugging XDAMAGE/mag issues.
wh70179
parents:
3858
diff
changeset
|
134 |
* Tue Aug 31 2004 - [email protected] |
3802
b82cacf6eef1
Revved gnome-mag to 0.11.5, gnopernicus to 0.9.10. Removed obsolete
wh70179
parents:
3679
diff
changeset
|
135 |
- Revved to 0.11.5, to include LoginHelper support. |
b82cacf6eef1
Revved gnome-mag to 0.11.5, gnopernicus to 0.9.10. Removed obsolete
wh70179
parents:
3679
diff
changeset
|
136 |
|
3666 | 137 |
* Wed Aug 18 2004 - [email protected] |
138 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
139 |
configure takes. |
|
140 |
||
3601
4ad237dc92f9
Updated gnome-mag version to 0.11.4 - fixes bug #5083109.
wh70179
parents:
3580
diff
changeset
|
141 |
* Tue Aug 17 2004 - [email protected] |
4ad237dc92f9
Updated gnome-mag version to 0.11.4 - fixes bug #5083109.
wh70179
parents:
3580
diff
changeset
|
142 |
- Updated to version 0.11.4, to fix bug #5083109. |
4ad237dc92f9
Updated gnome-mag version to 0.11.4 - fixes bug #5083109.
wh70179
parents:
3580
diff
changeset
|
143 |
|
3455 | 144 |
* Fri Jul 30 2004 - [email protected] |
145 |
- Updated to version 0.11.3, which includes a fix for |
|
146 |
the configure path to Damage and XFixes client libs, |
|
147 |
which are in /usr/openwin/sfw/lib for some reason. |
|
148 |
||
3628 | 149 |
* Tue Jul 12 2004 - [email protected] |
150 |
- fixed packaging up for rpm4 |
|
151 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
152 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
153 |
- Updated l10n content to gnome-mag-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
154 |
|
3263 | 155 |
* Wed Jul 07 2004 - [email protected] |
156 |
- added "-j $CPUS" to make to speed up builds |
|
157 |
||
2787 | 158 |
* Tue May 18 2004 - <[email protected]> |
159 |
- add patch 01 (uninstalled.pc) |
|
160 |
||
2761 | 161 |
* Fri May 14 2004 - <[email protected]> |
162 |
- Bump to 0.11.2 |
|
163 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
164 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
165 |
- Updated l10n content to gnome-mag-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
166 |
|
2543 | 167 |
* Thu Apr 22 2004 - <[email protected]> |
168 |
- Bump to 0.11.1 |
|
169 |
||
2355 | 170 |
* Wed Mar 31 2004 - [email protected] |
171 |
- replace tar jxf with the more solaris friendly |
|
172 |
bzcat piped through tar |
|
173 |
||
2350 | 174 |
* Mon Mar 29 2004 - [email protected] |
175 |
- Adding gnome-mag-l10n-po-1.0.tar.bz2 l10n content |
|
176 |
||
2299 | 177 |
* Tue Mar 23 2004 - <[email protected]> |
178 |
- Bump to 0.10.10 |
|
179 |
||
2008 | 180 |
* Wed Feb 25 2004 - [email protected] |
181 |
- Created new spec file for gnome-mag |