]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
e8df6b423c3176beb698ff26e334c4d6328ac600
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka Ghostscriptu dla GNOME
3 Name:           ggv
4 Version:        0.95
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/stable/sources/ggv/%{name}-%{version}.tar.gz
10 BuildRequires:  gettext-devel
11 BuildRequires:  gtk+-devel >= 1.2.0
12 BuildRequires:  gnome-libs-devel
13 BuildRequires:  bonobo-devel
14 URL:            http://www.gnome.org/
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _sysconfdir     /etc/X11/GNOME
19
20 %description
21 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
22 postscript interpretter. Use this program to preview postscript
23 documents on your screen.
24
25 %description -l pl
26 Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
27 interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
28 przegl±dania postscriptowych dokumentów na Twoim ekranie.
29
30 %prep
31 %setup -q
32
33 %build
34 gettextize --copy --force
35 LDFLAGS="-s"; export LDFLAGS
36 %configure \
37         --enable-bonobo
38
39 make
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 make install \
45         DESTDIR=$RPM_BUILD_ROOT \
46         Graphicsdir=%{_applnkdir}/Graphics
47
48 gzip -9nf AUTHORS ChangeLog NEWS README
49
50 %find_lang %{name} --with-gnome
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc *.gz
58 %attr(755,root,root) %{_bindir}/*
59 %{_sysconfdir}/CORBA/servers/*
60 %{_applnkdir}/Graphics/ggv.desktop
61 %{_datadir}/pixmaps/*
This page took 0.070552 seconds and 2 git commands to generate.