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

Revision 521, 5.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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