]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
1.0-test7. STB
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka Ghostscriptu dla GNOME
3 Name:           ggv
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Group(pl):      X11/Aplikacje/Grafika
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/testing/%{name}-%{version}-test7.tar.gz
10 BuildRequires:  gettext-devel
11 BuildRequires:  gtk+-devel >= 1.2.0
12 BuildRequires:  gnome-libs-devel
13 BuildRequires:  bonobo-devel >= 0.33
14 BuildRequires:  docbook-dsssl
15 BuildRequires:  jade
16 URL:            http://www.gnome.org/
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _sysconfdir     /etc/X11/GNOME
21
22 %description
23 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
24 postscript interpretter. Use this program to preview postscript
25 documents on your screen.
26
27 %description -l pl
28 Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
29 interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
30 przegl±dania postscriptowych dokumentów na Twoim ekranie.
31
32 %prep
33 %setup -q -n %{name}-%{version}-test7
34
35 %build
36 gettextize --copy --force
37 %configure \
38         --enable-bonobo
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         Graphicsdir=%{_applnkdir}/Graphics
48
49 gzip -9nf AUTHORS ChangeLog NEWS README
50
51 %find_lang %{name} --with-gnome
52
53 %post
54 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
55 %postun
56 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1                                                                                             
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc *.gz
63 %attr(755,root,root) %{_bindir}/*
64 %{_applnkdir}/Graphics/ggv.desktop
65 %{_datadir}/pixmaps/*
66 %{_datadir}/oaf/*
67 /usr/share/info/*.gz
This page took 0.057467 seconds and 4 git commands to generate.