]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
62ae6dc1173022c5085fcf6d855217d477f53c37
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka Ghostscriptu dla GNOME
3 Name:           ggv
4 Version:        2.6.0.1
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:  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
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. U¿ywaj tego programu do
43 przegl±dania postscriptowych dokumentów na Twoim ekranie.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49
50 mv po/{no,nb}.po
51
52 %build
53 rm -f missing acinclude.m4
54 %{__libtoolize}
55 glib-gettextize --copy --force
56 intltoolize --copy --force
57 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
58 %{__autoconf}
59 %{__automake}
60 %configure \
61         --enable-platform-gnome-2 \
62         --disable-schemas-install
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
72
73 %find_lang %{name} --with-gnome
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 /usr/bin/scrollkeeper-update
80 %gconf_schema_install
81
82 %postun -p /usr/bin/scrollkeeper-update
83
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*
90 %{_datadir}/idl/*
91 %{_libdir}/bonobo/servers/*
92 %{_omf_dest_dir}/%{name}
93 %{_desktopdir}/ggv.desktop
94 %{_pixmapsdir}/*
95 %{_sysconfdir}/gconf/schemas/*
This page took 0.074113 seconds and 3 git commands to generate.