1 Summary: GNOME Ghostscript Viewer
2 Summary(pl): Przegl±darka Ghostscriptu dla GNOME
7 Group: X11/Applications/Graphics
8 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
9 # Source0-md5: 1c563ecffa556d2132d48600ed9fd22f
10 Patch0: %{name}-mime-pdf.patch
11 Patch1: %{name}-locale-names.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.6.0
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: docbook-style-dsssl
17 BuildRequires: gettext-devel
18 BuildRequires: ghostscript
19 BuildRequires: gnome-common
20 BuildRequires: gtk+2-devel >= 2:2.4.0
21 BuildRequires: intltool >= 0.30
22 BuildRequires: libgnomeui-devel >= 2.6.0
23 BuildRequires: libbonobo-devel >= 2.6.0
24 BuildRequires: libtool
25 BuildRequires: openjade
26 BuildRequires: popt-devel
27 BuildRequires: rpm-build >= 4.1-8.2
28 BuildRequires: scrollkeeper
29 Requires(post): GConf2
30 Requires(post): scrollkeeper
32 Requires: libbonobo >= 2.6.0
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
37 postscript interpretter. Use this program to preview postscript
38 documents on your screen.
41 Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
42 interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
43 przegl±dania postscriptowych dokumentów na Twoim ekranie.
53 rm -f missing acinclude.m4
55 glib-gettextize --copy --force
56 intltoolize --copy --force
57 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
61 --enable-platform-gnome-2 \
62 --disable-schemas-install
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT \
71 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
73 %find_lang %{name} --with-gnome
76 rm -rf $RPM_BUILD_ROOT
79 /usr/bin/scrollkeeper-update
82 %postun -p /usr/bin/scrollkeeper-update
84 %files -f %{name}.lang
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog NEWS README
87 %attr(755,root,root) %{_bindir}/*
88 %attr(755,root,root) %{_libdir}/ggv*
89 %{_datadir}/gnome-2.0/ui/ggv*
91 %{_libdir}/bonobo/servers/*
92 %{_omf_dest_dir}/%{name}
93 %{_desktopdir}/ggv.desktop
95 %{_sysconfdir}/gconf/schemas/*