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