source: projects/specs/trunk/g/ggv/ggv-vl.spec @ 5596

Revision 5596, 6.1 KB checked in by munepi, 12 years ago (diff)

updated ggv-vl.spec

Line 
1Name: ggv
2Summary: GNOME Ghostview (ggv) is a frontend for Ghostscript
3Summary(ja): GNOME Ghostview - Ghostscript のフロントエンド
4Version: 2.12.0
5Release: 3%{?_dist_release}
6Group: Applications/Publishing
7License: GPL
8Source: ftp://ftp.gnome.org/pub/gnome/sources/ggv/2.12/ggv-%{version}.tar.bz2
9# security fix
10Patch0: ggv-2.12.0-CVE-2006-5864.patch
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: libbonobo-devel, libgnomeprint-devel, libgnome-devel, gettext
13BuildRequires: gtk2-devel, libxml-devel, ORBit2-devel
14BuildRequires: libgnomeui-devel >= 2.6.0
15BuildRequires: libX11-devel
16BuildRequires: libXt-devel
17BuildRequires: desktop-file-utils
18Requires(post): GConf2
19Requires(post,postun): scrollkeeper >= 0.3.11
20
21%description
22GNOME Ghostview (ggv) is a frontend for Ghostscript, an interpreter of
23PostScript that is able to properly render PostScript documents in a display
24or a printer. GGv serves as a layer that isolates the user from the cumbersome
25options and interface of Ghostscript, and, at the same time, gives extra
26features such as panning and persistent user settings.
27
28%prep
29%setup -q
30
31%patch0 -p1 -b .CVE-2006-5864
32
33%build
34export LDFLAGS="$LDFLAGS -lm"
35%configure
36%__make
37
38%install
39%__rm -rf $RPM_BUILD_ROOT
40
41# XXX
42%__perl -pi -e 's/.*scrollkeeper-update.*//g' omf-install/Makefile*
43
44export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
45%makeinstall
46unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
47
48# FIXME: remove invalid locale sr@Latn from desktop files.
49for i in $RPM_BUILD_ROOT%{_datadir}/applications/*
50do
51  %__mv $i $i.orig
52  grep -v "sr@Latn" $i.orig > $i
53  %__rm $i.orig
54done
55
56desktop-file-install --vendor gnome --delete-original       \
57  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
58  $RPM_BUILD_ROOT%{_datadir}/applications/ggv.desktop
59
60# remove scrollkeeper stuff we don't include in the package
61%__rm -rf $RPM_BUILD_ROOT/var
62
63%find_lang %name
64
65%clean
66%__rm -rf $RPM_BUILD_ROOT
67
68%post
69scrollkeeper-update > /dev/null 2>&1 || :
70export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
71SCHEMAS="ggv.schemas"
72for S in $SCHEMAS; do
73  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
74done
75
76%postun
77scrollkeeper-update > /dev/null 2>&1 || :
78
79
80%files -f %{name}.lang
81%defattr(-,root,root)
82%doc COPYING ChangeLog NEWS TODO
83%{_bindir}/*
84%{_datadir}/omf/ggv
85%{_datadir}/pixmaps/*
86%{_datadir}/gnome/help/ggv
87%{_datadir}/idl/*
88%{_datadir}/gnome-2.0/ui/*
89%{_libdir}/bonobo/servers/*
90%{_sysconfdir}/gconf/schemas/*
91%{_libexecdir}/*
92%{_datadir}/applications/*
93
94%changelog
95* Wed Feb  8 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2.12.0-3
96- rebuild
97
98* Thu Apr 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.12.0-2
99- rebuilt with new toolchain
100- updated old tags
101- added BuildRequires:
102  - libgnomeui-devel >= 2.6.0
103  - libX11-devel
104  - libXt-devel
105  - desktop-file-utils
106
107* Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.12.0-1vl5
108- applied new versioning policy, spec in utf-8
109
110* Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.12.0-0vl1
111- [SECURITY FIX]
112  - new upstream release
113  - add patch0 to fix stack-based buffer overflow (CVE-2006-5864)
114
115* Sun Apr 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-0vl1
116- new upstream release
117
118* Sat Jan 29 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1
119- new upstream release
120
121* Wed Nov 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
122- new upstream release
123
124* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
125- new upstream release
126
127* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
128- new upstream release
129
130* Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.99-0vl1
131- new upstream release
132
133* Thu Jun 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
134- new upstream release
135
136* Fri Apr 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
137- new upstream release
138
139* Sat Jan  4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.99.97-0vl1
140- new upstream release
141- discard scrollkeeper outputs.
142- update PreReq tag.
143
144* Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.99.96-0vl1
145- new upstream release
146- build for Vine Linux
147
148* Tue Nov 19 2002 Bill Nottingham <notting@redhat.com> 1.99.9-6
149- rebuild
150
151* Tue Sep 24 2002 Bill Nottingham <notting@redhat.com> 1.99.9-5
152- fix handling of some postscript/pdf headers
153
154* Sat Aug 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
155- also PreReq scrollkeeper
156
157* Mon Aug  5 2002 Jonathan Blandford <jrb@redhat.com>
158- Switch Generic Name and Name, as I got this wrong
159
160* Fri Aug  2 2002 Jonathan Blandford <jrb@redhat.com>
161- update to new version
162
163* Tue Jul 23 2002 Jonathan Blandford <jrb@redhat.com>
164- update to new version.
165
166* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
167- automated rebuild
168
169* Thu Jun 13 2002 Nalin Dahyabhai <nalin@redhat.com>
170- rebuild in different environment
171
172* Thu Jun 13 2002 Nalin Dahyabhai <nalin@redhat.com>
173- fix a scrollkeeper validation bug
174
175* Thu May 23 2002 Tim Powers <timp@redhat.com>
176- automated rebuild
177
178* Mon Apr 15 2002 Jonathan Blandford <jrb@redhat.com>
179- Add patch to accept '-' on the command line
180- buildrequires /usr/bin/lpr, #63167
181
182* Fri Mar 15 2002 Jonathan Blandford <jrb@redhat.com>
183- fix tempnam problems
184
185* Wed Jan 30 2002 Jonathan Blandford <jrb@redhat.com>
186- New release.
187
188* Wed Aug 29 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
189- Add more build dependencies (#48561)
190
191* Wed Aug 22 2001 Yukihiro Nakai <ynakai@redhat.com>
192- Update translation.
193
194* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
195- fix build dep bug (48561)
196
197* Mon May 21 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
198- Replace Copyright with License
199- langify
200
201* Mon May 21 2001  <jrb@redhat.com>
202- New version.
203
204* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
205- rebuilt to fix bad dir perms
206
207* Fri Nov 10 2000 Tim Powers <timp@redhat.com>
208- updated to 0.95
209
210* Mon Jul 24 2000 Prospector <prospector@redhat.com>
211- rebuilt
212
213* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
214- rebuilt
215
216* Mon Jul 03 2000 Prospector <bugzilla@redhat.com>
217- automatic rebuild
218
219* Tue May 30 2000 Tim Powers <timp@redhat.com>
220- woops, forgot to add the docs to the package
221
222* Tue Mar 4 2000 Tim Powers <timp@redhat.com>
223- initial package of ggv for 7.0
224- bzipped sources to conserve space
Note: See TracBrowser for help on using the repository browser.