File: gpdf.spec.in

package info (click to toggle)
gpdf 2.8.2-1.2sarge6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,220 kB
  • ctags: 6,624
  • sloc: cpp: 61,071; ansic: 12,100; sh: 6,017; xml: 2,299; makefile: 589
file content (115 lines) | stat: -rw-r--r-- 3,101 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Note that this is NOT a relocatable package
%define nam		@PACKAGE@
%define ver		@VERSION@
%define RELEASE		0_cvs_0
%define rel		%{?CUSTOM_RELEASE}%{!?CUSTOM_RELEASE:%RELEASE}

Summary: 	GPdf the GNOME PDF Viewer
Name: 		%nam
Version: 	%ver
Release: 	%rel
License: 	GPL
Group: 		Application/Network
URL: 		http://www.purl.org/NET/gpdf
Source0: 	%{name}-%{version}.tar.gz
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

Requires:	gtk2		  >= @GTK_REQUIRED@
Requires:	libgnomeui2
Requires:	libbonoboui2
Requires:	libbonobo2 	  >= @LIBBONOBO_REQUIRED@
Requires:	gnome-vfs2
Requires:	libgnomeprint22   >= @LIBGNOMEPRINT_REQUIRED@
Requires:	libgnomeprintui22
Requires:	libglade2
Requires:	gconf2 	          >= @GCONF_REQUIRED@

BuildRequires:	gtk2-devel	  	>= @GTK_REQUIRED@
BuildRequires:	libgnomeui2-devel      	>= @LIBGNOMEUI_REQUIRED@
BuildRequires:	libbonoboui2-devel
BuildRequires:	libbonobo2-devel    	>= @LIBBONOBO_REQUIRED@
BuildRequires:	gnome-vfs2-devel
BuildRequires:	libgnomeprint22-devel  	>= @LIBGNOMEPRINT_REQUIRED@
BuildRequires:	libgnomeprintui22-devel
BuildRequires:	libglade2-devel
BuildRequires:	gconf2-devel   		>= @GCONF_REQUIRED@

%description
GPdf is a PDF viewer for the GNOME 2 platform. It is based on the 
Xpdf by Derek B. Noonburg/Glyph & Cog and the GNOME Print Preview 
widget.
Xpdf is an open source viewer for Portable Document Format (PDF)
files.  (These are also sometimes also called 'Acrobat' files, from
the name of Adobe's PDF software.)  The Xpdf project also includes a
PDF text extractor, PDF-to-PostScript converter, and various other
utilities.

%prep
%setup -q
%configure \
	--disable-maintainer-mode --disable-dependency-tracking \
	--enable-compile-warnings=no --enable-cxx-warnings=no \
	--disable-no-text-select --enable-opi --enable-multithreaded \
	--disable-schemas-install

%build
if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gpdf.schemas > /dev/null 2>&1
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi

%postun
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog CHANGES COPYING 
%doc INSTALL NEWS README

%{_prefix}/bin/gpdf

%{_prefix}/libexec/gnome-pdf-viewer

%{_datadir}/gpdf/glade/*.glade

%{_datadir}/pixmaps/gpdf/*.png
%{_datadir}/pixmaps/gnome-pdf.png

%{_datadir}/gnome-2.0/ui/*.xml

%{_datadir}/locale/*/LC_MESSAGES/gpdf.mo

%{_datadir}/gnome/help/gpdf/*/*.xml
%{_datadir}/gnome/help/gpdf/*/figures/*.png

%{_datadir}/omf/gpdf/gpdf-*.omf

%{_datadir}/applications/gpdf.desktop

%{_datadir}/mime-info/gpdf.keys

%{_datadir}/application-registry/gpdf.applications

%{_libdir}/bonobo/servers/GNOME_PDF.server

%{_sysconfdir}/gconf/schemas/gpdf.schemas

%changelog
* Tue Jul  8 2003 Remi Cohen-Scali <rcoscali@cvs.gnome.org> 
- Initial build.