]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
c2b2b751f31ba8b619134e271a6824d0bf693e7d
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka ghostscript dla GNOME
3 Name:           ggv
4 Version:        2.6.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c02779b6ac22331c60df568301ca48c5
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
31 Requires:       ghostscript
32 Requires:       libbonobo >= 2.6.0
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 mv po/{no,nb}.po
51 sed -i -e 's/^Categories=GNOME;Application;/Categories=GTK;GNOME;/' \
52         ggv.desktop.in
53         
54 %build
55 rm -f missing acinclude.m4
56 %{__libtoolize}
57 glib-gettextize --copy --force
58 intltoolize --copy --force
59 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
60 %{__autoconf}
61 %{__automake}
62 %configure \
63         --enable-platform-gnome-2 \
64         --disable-schemas-install
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
74
75 %find_lang %{name} --with-gnome
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post
81 /usr/bin/scrollkeeper-update
82 %gconf_schema_install
83
84 %postun -p /usr/bin/scrollkeeper-update
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README
89 %attr(755,root,root) %{_bindir}/*
90 %attr(755,root,root) %{_libdir}/ggv*
91 %{_datadir}/gnome-2.0/ui/ggv*
92 %{_datadir}/idl/*
93 %{_libdir}/bonobo/servers/*
94 %{_omf_dest_dir}/%{name}
95 %{_desktopdir}/ggv.desktop
96 %{_pixmapsdir}/*
97 %{_sysconfdir}/gconf/schemas/*
This page took 0.023549 seconds and 2 git commands to generate.