]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
- up to 2.4.0.2
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka Ghostscriptu dla GNOME
3 Name:           ggv
4 Version:        2.4.0.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d4ecc03f80138928ae5f8ec8066ab4f3
10 Patch0:         %{name}-mime-pdf.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.3.3
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  docbook-style-dsssl
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 2.2.3
18 BuildRequires:  intltool
19 BuildRequires:  libbonobo-devel >= 2.4.0
20 BuildRequires:  libtool
21 BuildRequires:  openjade
22 BuildRequires:  rpm-build >= 4.1-8.2
23 BuildRequires:  scrollkeeper
24 BuildRequires:  gnome-common
25 BuildRequires:  ghostscript
26 Requires(post): GConf2
27 Requires(post): scrollkeeper
28 Requires:       ghostscript
29 Requires:       libbonobo >= 2.4.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
34 postscript interpretter. Use this program to preview postscript
35 documents on your screen.
36
37 %description -l pl
38 Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
39 interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
40 przegl±dania postscriptowych dokumentów na Twoim ekranie.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 rm -f missing acinclude.m4
48 %{__libtoolize}
49 glib-gettextize --copy --force
50 intltoolize --copy --force
51 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --enable-platform-gnome-2 \
56         --disable--schemas-install
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
67
68 %find_lang %{name} --with-gnome
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 /usr/bin/scrollkeeper-update
75 %gconf_schema_install
76
77 %postun -p /usr/bin/scrollkeeper-update
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/ggv*
84 %{_datadir}/gnome-2.0/ui/ggv*
85 %{_datadir}/idl/*
86 %{_libdir}/bonobo/servers/*
87 %{_omf_dest_dir}/%{name}
88 %{_desktopdir}/ggv.desktop
89 %{_pixmapsdir}/*
90 %{_sysconfdir}/gconf/schemas/*
This page took 0.052573 seconds and 4 git commands to generate.