]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
- 2.8.1, STBR
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka ghostscript dla GNOME
3 Name:           ggv
4 Version:        2.8.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d2d9d41544541664d71cad9a97994747
10 Patch0:         %{name}-mime-pdf.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.7.91
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  docbook-style-dsssl
17 BuildRequires:  gettext-devel
18 BuildRequires:  ghostscript
19 BuildRequires:  gnome-common >= 2.8.0
20 BuildRequires:  gtk+2-devel >= 2:2.4.4
21 BuildRequires:  intltool >= 0.30
22 BuildRequires:  libbonobo-devel >= 2.6.2
23 BuildRequires:  libgnomeui-devel >= 2.7.91
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,postun):  scrollkeeper
31 Requires:       ghostscript
32 Requires:       libbonobo >= 2.6.2
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
37 postscript interpretter. Use this program to preview postscript
38 documents on your screen.
39
40 %description -l pl
41 Przegl±darka ghostscriptu dla GNOME - graficzny frontend dla
42 interpretera postscriptu o nazwie ghostscript. Program ten slu¿y do
43 przegl±dania postscriptowych dokumentów na ekranie.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 rm -f missing acinclude.m4
52 %{__libtoolize}
53 glib-gettextize --copy --force
54 intltoolize --copy --force
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure \
59         --enable-platform-gnome-2 \
60         --disable-schemas-install
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
70
71 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
72
73 %find_lang %{name} --with-gnome
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 umask 022
80 /usr/bin/scrollkeeper-update
81 %gconf_schema_install
82 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
83
84 %postun
85 umask 022
86 /usr/bin/scrollkeeper-update
87 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) %{_libdir}/ggv*
94 %{_datadir}/gnome-2.0/ui/ggv*
95 %{_datadir}/idl/*
96 %{_libdir}/bonobo/servers/*
97 %{_omf_dest_dir}/%{name}
98 %{_desktopdir}/ggv.desktop
99 %{_pixmapsdir}/*
100 %{_sysconfdir}/gconf/schemas/*
This page took 0.068595 seconds and 3 git commands to generate.