]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
- updated to 1.99.96
[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:        1
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
21 Requires(post): GConf2
22 Requires(post): scrollkeeper
23 Requires:       ghostscript
24 Requires:       bonobo-activation >= 2.1.0
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _prefix         /usr/X11R6
28 %define         _mandir         %{_prefix}/man
29 %define         _sysconfdir     /etc/X11/GNOME2
30
31 %description
32 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
33 postscript interpretter. Use this program to preview postscript
34 documents on your screen.
35
36 %description -l pl
37 Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
38 interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
39 przegl±dania postscriptowych dokumentów na Twoim ekranie.
40
41 %prep
42 %setup -q
43
44 %build
45 %configure --enable-platform-gnome-2 \
46            --disable-install-schemas
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT \
55         Graphicsdir=%{_applnkdir}/Graphics \
56         omf_dest_dir=%{_omf_dest_dir}/%{name}
57
58 %find_lang %{name} --with-gnome
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 /usr/bin/scrollkeeper-update
65 GCONF_CONFIG_SOURCE="" \
66 %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 
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/*server
79 %{_omf_dest_dir}/%{name}
80 %{_pixmapsdir}/*
81 %{_sysconfdir}/gconf/schemas/*
This page took 0.035433 seconds and 4 git commands to generate.