]> git.pld-linux.org Git - packages/ggv.git/blob - ggv.spec
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/ggv.git] / ggv.spec
1 Summary:        GNOME Ghostscript Viewer
2 Summary(pl):    Przegl±darka ghostscript dla GNOME
3 Name:           ggv
4 Version:        2.8.5
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/ggv/2.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e8b338c1427e170ffbb33c62d0aaf191
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.8.1
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  docbook-style-dsssl
16 BuildRequires:  gettext-devel
17 BuildRequires:  ghostscript
18 BuildRequires:  gnome-common >= 2.8.0
19 BuildRequires:  gtk+2-devel >= 2:2.4.4
20 BuildRequires:  intltool >= 0.30
21 BuildRequires:  libbonobo-devel >= 2.6.2
22 BuildRequires:  libgnomeui-devel >= 2.10.0-2
23 BuildRequires:  libtool
24 BuildRequires:  openjade
25 BuildRequires:  pkgconfig
26 BuildRequires:  popt-devel
27 BuildRequires:  rpm-build >= 4.1-8.2
28 BuildRequires:  rpmbuild(macros) >= 1.197
29 BuildRequires:  scrollkeeper
30 Requires(post,preun):   GConf2
31 Requires(post,postun):  desktop-file-utils
32 Requires(post,postun):  scrollkeeper
33 Requires:       ghostscript
34 Requires:       libbonobo >= 2.6.2
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
39 postscript interpretter. Use this program to preview postscript
40 documents on your screen.
41
42 %description -l pl
43 Przegl±darka ghostscriptu dla GNOME - graficzny frontend dla
44 interpretera postscriptu o nazwie ghostscript. Program ten slu¿y do
45 przegl±dania postscriptowych dokumentów na ekranie.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 rm -f missing acinclude.m4
53 %{__libtoolize}
54 %{__glib_gettextize}
55 %{__intltoolize}
56 %{__aclocal}
57 %{__autoconf}
58 %{__automake}
59 %configure \
60         --enable-platform-gnome-2 \
61         --disable-schemas-install
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
70
71 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
72
73 %find_lang %{name} --with-gnome
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 %gconf_schema_install ggv.schemas
80 %scrollkeeper_update_post
81 %update_desktop_database_post
82
83 %preun
84 %gconf_schema_uninstall ggv.schemas
85
86 %postun
87 %scrollkeeper_update_postun
88 %update_desktop_database_postun
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/ggv*
95 %{_datadir}/gnome-2.0/ui/ggv*
96 %{_datadir}/idl/*
97 %{_libdir}/bonobo/servers/*
98 %{_omf_dest_dir}/%{name}
99 %{_desktopdir}/ggv.desktop
100 %{_pixmapsdir}/*
101 %{_sysconfdir}/gconf/schemas/*
This page took 0.077538 seconds and 3 git commands to generate.