source: projects/specs/tags/6_0_REL/g/ggv/ggv-vl.spec @ 3630

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