]>
Commit | Line | Data |
---|---|---|
0e6699ab | 1 | Summary: GNOME Ghostscript Viewer |
16f7a4b4 | 2 | Summary(pl.UTF-8): Przeglądarka ghostscript dla GNOME |
0e6699ab | 3 | Name: ggv |
cf42ada2 | 4 | Version: 2.8.5 |
5 | Release: 1 | |
bc8b16ac | 6 | License: GPL |
0ff4cc85 | 7 | Group: X11/Applications/Graphics |
79a07374 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/ggv/2.8/%{name}-%{version}.tar.bz2 |
cf42ada2 | 9 | # Source0-md5: e8b338c1427e170ffbb33c62d0aaf191 |
ea8c72b9 | 10 | Patch0: %{name}-desktop.patch |
2b8dc516 | 11 | URL: http://www.gnome.org/ |
6a0b1ac7 | 12 | BuildRequires: GConf2-devel >= 2.8.1 |
4b734dd9 | 13 | BuildRequires: autoconf |
e224c610 | 14 | BuildRequires: automake |
cb523196 | 15 | BuildRequires: docbook-style-dsssl |
2b8dc516 | 16 | BuildRequires: gettext-devel |
6fcf92a6 | 17 | BuildRequires: ghostscript |
2b9f3596 | 18 | BuildRequires: gnome-common >= 2.8.0 |
7b33e4cb | 19 | BuildRequires: gtk+2-devel >= 2:2.4.4 |
6fcf92a6 | 20 | BuildRequires: intltool >= 0.30 |
7b33e4cb | 21 | BuildRequires: libbonobo-devel >= 2.6.2 |
37a81bb5 | 22 | BuildRequires: libgnomeui-devel >= 2.10.0-2 |
e224c610 | 23 | BuildRequires: libtool |
ea738c23 | 24 | BuildRequires: openjade |
38db9d90 | 25 | BuildRequires: pkgconfig |
6fcf92a6 | 26 | BuildRequires: popt-devel |
acbc1c8a | 27 | BuildRequires: rpm-build >= 4.1-8.2 |
80cfd438 | 28 | BuildRequires: rpmbuild(macros) >= 1.197 |
1ddda387 | 29 | BuildRequires: scrollkeeper |
80cfd438 | 30 | Requires(post,preun): GConf2 |
31 | Requires(post,postun): desktop-file-utils | |
9d4d8f63 | 32 | Requires(post,postun): scrollkeeper |
824a206c | 33 | Requires: ghostscript |
7b33e4cb | 34 | Requires: libbonobo >= 2.6.2 |
f34a0a6c | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b2d57502 | 36 | |
37 | %description | |
eb39517e | 38 | GNOME Ghostscript viewer - a GUI frontend to the Ghostscript |
39 | postscript interpretter. Use this program to preview postscript | |
40 | documents on your screen. | |
b2d57502 | 41 | |
500b14be JR |
42 | %description -l pl.UTF-8 |
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. | |
70f53c63 | 46 | |
b2d57502 | 47 | %prep |
18f194f2 | 48 | %setup -q |
b2cc6bd5 | 49 | %patch0 -p1 |
a41a0c8f | 50 | |
b2d57502 | 51 | %build |
b3bdeacf | 52 | rm -f missing acinclude.m4 |
53 | %{__libtoolize} | |
80cfd438 | 54 | %{__glib_gettextize} |
55 | %{__intltoolize} | |
2b9f3596 | 56 | %{__aclocal} |
b3bdeacf | 57 | %{__autoconf} |
58 | %{__automake} | |
13cf52a9 | 59 | %configure \ |
60 | --enable-platform-gnome-2 \ | |
6fcf92a6 | 61 | --disable-schemas-install |
cbdbdabe | 62 | %{__make} |
b2d57502 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
fdaa05c8 | 66 | |
b6076687 | 67 | %{__make} install \ |
6fcf92a6 | 68 | DESTDIR=$RPM_BUILD_ROOT \ |
69 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
b2d57502 | 70 | |
7b33e4cb | 71 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no |
72 | ||
1f3a6c7e | 73 | %find_lang %{name} --with-gnome |
d86399ab | 74 | |
3c120640 JB |
75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
38aa83a0 | 78 | %post |
80cfd438 | 79 | %gconf_schema_install ggv.schemas |
80 | %scrollkeeper_update_post | |
81 | %update_desktop_database_post | |
82 | ||
83 | %preun | |
84 | %gconf_schema_uninstall ggv.schemas | |
023e7559 | 85 | |
9d4d8f63 | 86 | %postun |
80cfd438 | 87 | %scrollkeeper_update_postun |
88 | %update_desktop_database_postun | |
023e7559 | 89 | |
d86399ab | 90 | %files -f %{name}.lang |
7b5aedba | 91 | %defattr(644,root,root,755) |
44307097 | 92 | %doc AUTHORS ChangeLog NEWS README |
dbbcfa5a | 93 | %attr(755,root,root) %{_bindir}/* |
023e7559 | 94 | %attr(755,root,root) %{_libdir}/ggv* |
023e7559 | 95 | %{_datadir}/gnome-2.0/ui/ggv* |
df793090 | 96 | %{_datadir}/idl/* |
4f230d9a | 97 | %{_libdir}/bonobo/servers/* |
22957d4b | 98 | %{_omf_dest_dir}/%{name} |
1ddda387 | 99 | %{_desktopdir}/ggv.desktop |
023e7559 | 100 | %{_pixmapsdir}/* |
101 | %{_sysconfdir}/gconf/schemas/* |