]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
- rpm-build >= 4.1-7 is reqired by %%gconf_schema_install
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka Ghostscriptu dla GNOME
3 Name:           ggv
4 Version:        1.99.96
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.99/%{name}-%{version}.tar.bz2
9 URL:            http://www.gnome.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  autoconf
13 BuildRequires:  docbook-style-dsssl
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2.0.6
16 BuildRequires:  libtool
17 BuildRequires:  GConf2-devel >= 1.2.1
18 BuildRequires:  openjade
19 BuildRequires:  scrollkeeper
20 BuildRequires:  bonobo-activation-devel >= 2.1.0-3
21 BuildRequires:  rpm-build >= 4.1-7
22 Requires(post): GConf2
23 Requires(post): scrollkeeper
24 Requires:       ghostscript
25 Requires:       bonobo-activation >= 2.1.0-3
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _prefix         /usr/X11R6
29 %define         _mandir         %{_prefix}/man
30 %define         _sysconfdir     /etc/X11/GNOME2
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
45 %build
46 %configure --enable-platform-gnome-2 \
47            --disable-install-schemas
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT \
56         Graphicsdir=%{_applnkdir}/Graphics \
57         omf_dest_dir=%{_omf_dest_dir}/%{name}
58
59 %find_lang %{name} --with-gnome
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 /usr/bin/scrollkeeper-update
66 %gconf_schema_install
67
68 %postun -p /usr/bin/scrollkeeper-update
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog NEWS README
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_libdir}/ggv*
75 %{_applnkdir}/Graphics/ggv.desktop
76 %{_datadir}/gnome-2.0/ui/ggv*
77 %{_datadir}/idl/*
78 %{_libdir}/bonobo/servers/*
79 %{_omf_dest_dir}/%{name}
80 %{_pixmapsdir}/*
81 %{_sysconfdir}/gconf/schemas/*
This page took 0.071833 seconds and 3 git commands to generate.