9397
|
1 |
#
|
|
2 |
# spec file for package gnome-mag
|
|
3 |
#
|
11371
|
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 liyuan
|
9397
|
9 |
#
|
16426
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16426
|
12 |
|
9397
|
13 |
Name: gnome-mag
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries
|
17829
|
16 |
Version: 0.16.1
|
9397
|
17 |
Release: 201
|
|
18 |
Distribution: Java Desktop System
|
17864
|
19 |
Vendor: Gnome Community
|
9397
|
20 |
Summary: GNOME magnifier
|
17570
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.16/%{name}-%{version}.tar.bz2
|
10031
|
22 |
#owner:dcarbery date:2007-06-07 type:bug bugzilla:444137,444138
|
10017
|
23 |
Patch1: gnome-mag-01-x11-build-error.diff
|
10385
|
24 |
#owner:dcarbery date:2007-08-28 type:branding
|
10381
|
25 |
Patch2: gnome-mag-02-no-xext-dependency.diff
|
17696
|
26 |
#owner:chrisk date:2010-03-12 type:bug
|
|
27 |
Patch3: gnome-mag-03-enable-deprecated.diff
|
20098
|
28 |
#owner:liyuan date:2010-09-25 type:bug doo:7131
|
|
29 |
Patch4: gnome-mag-04-display-env.diff
|
9397
|
30 |
URL: http://developer.gnome.org/projects/gap/
|
|
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
32 |
Docdir: %{_defaultdocdir}/%{name}
|
|
33 |
Autoreqprov: on
|
|
34 |
Prereq: /sbin/ldconfig
|
|
35 |
|
|
36 |
%define gtk2_version 2.2.4
|
|
37 |
%define libbonobo_version 2.4.0
|
|
38 |
%define popt_version 1.6.4
|
|
39 |
%define at_spi_version 1.5.4
|
|
40 |
|
|
41 |
# Requirements
|
|
42 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
43 |
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
|
44 |
BuildRequires: popt-devel >= %{popt_version}
|
|
45 |
Requires: gtk2 >= %{gtk2_version}
|
|
46 |
Requires: libbonobo >= %{libbonobo_version}
|
|
47 |
Requires: at-spi >= %at_spi_version
|
|
48 |
|
|
49 |
%description
|
|
50 |
gnome-mag is a screen magnification service using Bonobo.
|
|
51 |
|
|
52 |
%prep
|
|
53 |
%setup -q
|
10017
|
54 |
%patch1 -p1
|
10381
|
55 |
%patch2 -p1
|
17696
|
56 |
%patch3 -p1
|
20098
|
57 |
%patch4 -p1
|
9397
|
58 |
|
|
59 |
%build
|
|
60 |
%ifos linux
|
|
61 |
if [ -x /usr/bin/getconf ]; then
|
|
62 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
63 |
fi
|
|
64 |
%else
|
|
65 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
66 |
%endif
|
|
67 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
68 |
CPUS=1
|
|
69 |
fi
|
|
70 |
|
16135
|
71 |
libtoolize --force
|
12774
|
72 |
aclocal $ACLOCAL_FLAGS -I m4
|
|
73 |
automake
|
9397
|
74 |
autoconf
|
|
75 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
76 |
./configure --prefix=%{_prefix} \
|
|
77 |
--sysconfdir=%{_sysconfdir} \
|
|
78 |
--libdir=%{_libdir} \
|
|
79 |
--bindir=%{_bindir} \
|
|
80 |
--includedir=%{_includedir} \
|
|
81 |
--mandir=%{_mandir}
|
|
82 |
make -j $CPUS
|
|
83 |
|
|
84 |
%install
|
|
85 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
86 |
#clean up unpackaged files
|
|
87 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
88 |
|
|
89 |
|
|
90 |
%clean
|
|
91 |
rm -rf $RPM_BUILD_ROOT
|
|
92 |
|
|
93 |
%post
|
|
94 |
/sbin/ldconfig
|
|
95 |
|
|
96 |
%postun
|
|
97 |
/sbin/ldconfig
|
|
98 |
|
|
99 |
%files
|
|
100 |
%defattr(-,root,root)
|
|
101 |
%{_bindir}/*
|
|
102 |
%{_includedir}/gnome-mag-1.0/*/*
|
|
103 |
%{_libdir}/*.so*
|
|
104 |
%{_libdir}/bonobo/servers/GNOME_Magnifier.server
|
|
105 |
%{_libdir}/pkgconfig/*.pc
|
|
106 |
%{_datadir}/gnome-mag/*
|
|
107 |
%{_datadir}/idl/gnome-mag-1.0/GNOME_Magnifier.idl
|
|
108 |
%{_datadir}/locale/*/*/*
|
|
109 |
%{_mandir}/man1/*
|
|
110 |
|
|
111 |
%changelog
|
20098
|
112 |
* Sat Sep 25 2010 - [email protected]
|
|
113 |
- Add gnome-mag-04-display-env.diff.
|
17696
|
114 |
* Fri Mar 12 2010 - [email protected]
|
|
115 |
- Add gnome-mag-03-enable-deprecated.diff.
|
17552
|
116 |
* Mon Feb 15 2010 - [email protected]
|
|
117 |
- Bump to 0.16.0.
|
16657
|
118 |
* Wed Sep 23 2009 - [email protected]
|
|
119 |
- Bump to 0.15.9
|
16324
|
120 |
* Fri Aug 21 2009 - [email protected]
|
|
121 |
- Change owner to liyuan.
|
16156
|
122 |
* Tue Jul 28 2009 - [email protected]
|
|
123 |
- Bump to 0.15.8.
|
16135
|
124 |
* Mon Jul 27 2009 - [email protected]
|
|
125 |
- Bump to 0.15.7.
|
15628
|
126 |
* Wed Apr 15 2009 - [email protected]
|
|
127 |
- Bump to 0.15.6
|
15398
|
128 |
* Fri Mar 13 2009 - [email protected]
|
|
129 |
- Bump to 0.15.5
|
13800
|
130 |
* Sat Sep 27 2008 - [email protected]
|
|
131 |
- Bump to 0.15.4.
|
13372
|
132 |
* Tue Sep 02 2008 - [email protected]
|
|
133 |
- Bump to 0.15.3.
|
13022
|
134 |
* Tue Aug 05 2008 - [email protected]
|
|
135 |
- Bump to 0.15.2.
|
12774
|
136 |
* Tue Jul 08 2008 - [email protected]
|
|
137 |
- Call aclocal/automake to pick up modified intltool.m4.
|
12767
|
138 |
* Mon Jun 07 2008 - [email protected]
|
|
139 |
- Bump to 0.15.1.
|
11371
|
140 |
* Thu Jan 03 2007 - [email protected]
|
|
141 |
- Bump to 0.15.0.
|
10508
|
142 |
* Tue Sep 18 2007 - [email protected]
|
|
143 |
- Bump to 0.14.10.
|
10488
|
144 |
* Tue Sep 11 2007 - [email protected]
|
|
145 |
- Bump to 0.14.9.
|
10381
|
146 |
* Tue Aug 28 2007 - [email protected]
|
10385
|
147 |
- Add patch, 02-no-xext-dependency, to remove the xext dependency from
|
|
148 |
configure.in. This module is not on Solaris and gnome-mag builds without it.
|
|
149 |
* Tue Aug 28 2007 - [email protected]
|
10381
|
150 |
- Bump to 0.14.8.
|
10373
|
151 |
* Mon Aug 27 2007 - [email protected]
|
|
152 |
- Bump to 0.14.7. Remove upstream patch, 02-pkg-config.
|
10338
|
153 |
* Thu Aug 16 2007 - [email protected]
|
|
154 |
- Add patch 02-pkg-config to fix #467320, reorder two lines in .pc.in file.
|
10076
|
155 |
* Tue Jun 19 2007 - [email protected]
|
|
156 |
- Bump to 0.14.6.
|
10017
|
157 |
* Thu Jun 07 2007 - [email protected]
|
|
158 |
- Add patch 01-x11-build-error to fix #445140.
|
10004
|
159 |
* Wed Jun 06 2007 - [email protected]
|
|
160 |
- Bump to 0.14.5.
|
9949
|
161 |
* Mon May 28 2007 - [email protected]
|
|
162 |
- Bump to 0.14.4.
|
9516
|
163 |
* Sun Mar 11 2007 - [email protected]
|
|
164 |
- Bump to 0.14.3.
|
9441
|
165 |
* Mon Mar 05 2007 - [email protected]
|
|
166 |
- Bump to 0.14.2. Remove upstream patch, 01-uninstalled.pc.
|
9397
|
167 |
* Tue Jan 09 2007 - [email protected]
|
|
168 |
- Bump to 0.14.1.
|
|
169 |
* Sun Dec 17 2006 - [email protected]
|
|
170 |
- Bump to 0.14.0.
|
|
171 |
* Wed Jul 26 2006 - [email protected]
|
|
172 |
- Bump to 0.13.1.
|
|
173 |
* Tue Jul 25 2006 - [email protected]
|
|
174 |
- Bump to 0.13.0.
|
|
175 |
* Mon Mar 13 2006 - [email protected]
|
|
176 |
- Bump to 0.12.4.
|
|
177 |
* Tue Oct 11 2005 - [email protected]
|
|
178 |
- Bump to 0.12.2
|
|
179 |
* Thu May 12 2005 - [email protected]
|
|
180 |
- Revved to 0.12.1, fixes #6199929. Removed obsolete g11n patch.
|
|
181 |
* Fri Feb 04 2005 - [email protected]
|
|
182 |
- Revved to 0.11.14, fixes bugzilla bug #166282 which should be a P2
|
|
183 |
bugster bug.
|
|
184 |
* Fri Jan 21 2005 - [email protected]
|
|
185 |
Corrected dependencies - removed gnome-speech and gail dependencies,
|
|
186 |
added at-spi dependency (for LoginHelper API) and popt dependency.
|
|
187 |
* Wed Jan 19 2005 - [email protected]
|
|
188 |
Revved to 0.11.13, fixes for 618662, 6217152, 6205225, 6199929.
|
|
189 |
* Tue Dec 07 2004 - [email protected]
|
|
190 |
Revved to 0.11.11, fixes for bugs 6192805, 6182499, 6182502.
|
|
191 |
* Fri Nov 19 2004 - [email protected]
|
|
192 |
- add --bindir=%{_bindir}, --libdir=%{_libdir} and --includedir=%{_includedir}
|
|
193 |
to configure opts.
|
|
194 |
* Fri Nov 05 2004 - [email protected]
|
|
195 |
- Revved to 0.11.10. Should improve bugtraq 5099413 further.
|
|
196 |
* Thu Oct 28 2004 - [email protected]
|
|
197 |
- Add magnifier.1 man page
|
|
198 |
* Wed Oct 06 2004 - [email protected]
|
|
199 |
- Removed patch, revved to 0.11.8. Partial fix for bugtraq 5099413.
|
|
200 |
* Mon Sep 20 2004 - [email protected]
|
|
201 |
- Added patch gnome-mag-02-damage-fix.diff for bugtraq 5099413.
|
|
202 |
* Tue Aug 31 2004 - [email protected]
|
|
203 |
- Revved to 0.11.7, gives readable SourceDisplay and TargetDisplay
|
|
204 |
params, and better debugging support for XDAMAGE.
|
|
205 |
* Tue Aug 31 2004 - [email protected]
|
|
206 |
- Revved to 0.11.5, to include LoginHelper support.
|
|
207 |
* Wed Aug 18 2004 - [email protected]
|
|
208 |
- removed --disable-gtk-doc since this isn't an option this module's
|
|
209 |
configure takes.
|
|
210 |
* Tue Aug 17 2004 - [email protected]
|
|
211 |
- Updated to version 0.11.4, to fix bug #5083109.
|
|
212 |
* Fri Jul 30 2004 - [email protected]
|
|
213 |
- Updated to version 0.11.3, which includes a fix for
|
|
214 |
the configure path to Damage and XFixes client libs,
|
|
215 |
which are in /usr/openwin/sfw/lib for some reason.
|
|
216 |
* Tue Jul 12 2004 - [email protected]
|
|
217 |
- fixed packaging up for rpm4
|
|
218 |
* Thu Jul 08 2004 - [email protected]
|
|
219 |
- Updated l10n content to gnome-mag-l10n-po-1.2.tar.bz2
|
|
220 |
* Wed Jul 07 2004 - [email protected]
|
|
221 |
- added "-j $CPUS" to make to speed up builds
|
|
222 |
* Tue May 18 2004 - <[email protected]>
|
|
223 |
- add patch 01 (uninstalled.pc)
|
|
224 |
* Fri May 14 2004 - <[email protected]>
|
|
225 |
- Bump to 0.11.2
|
|
226 |
* Wed May 12 2004 - [email protected]
|
|
227 |
- Updated l10n content to gnome-mag-l10n-po-1.1.tar.bz2
|
|
228 |
* Thu Apr 22 2004 - <[email protected]>
|
|
229 |
- Bump to 0.11.1
|
|
230 |
* Wed Mar 31 2004 - [email protected]
|
|
231 |
- replace tar jxf with the more solaris friendly
|
|
232 |
bzcat piped through tar
|
|
233 |
* Mon Mar 29 2004 - [email protected]
|
|
234 |
- Adding gnome-mag-l10n-po-1.0.tar.bz2 l10n content
|
|
235 |
* Tue Mar 23 2004 - <[email protected]>
|
|
236 |
- Bump to 0.10.10
|
|
237 |
* Wed Feb 25 2004 - [email protected]
|
|
238 |
- Created new spec file for gnome-mag
|