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