1 Summary: Printing library for GNOME
2 Summary(pl): Biblioteka drukowania dla GNOME
8 Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
9 URL: http://www.gnome.org/
10 PreReq: ghostscript-fonts-std
11 BuildRequires: glib2-devel >= 2.0.1
12 BuildRequires: libxml2-devel >= 2.4.7
13 BuildRequires: libart_lgpl-devel
14 BuildRequires: libbonobo-devel >= 1.110
15 BuildRequires: freetype-devel
16 BuildRequires: pango-devel >= 1.0.0
17 BuildRequires: automake
18 BuildRequires: autoconf
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _prefix /usr/X11R6
23 %define _mandir %{_prefix}/man
24 %define _sysconfdir /etc/X11/GNOME2
27 GNOME (GNU Network Object Model Environment) is a user-friendly set of
28 applications and desktop tools to be used in conjunction with a window
29 manager for the X Window System. The gnome-print package contains
30 libraries and fonts needed by GNOME applications for printing.
32 You should install the gnome-print package if you intend to use any of
33 the GNOME applications that can print. If you would like to develop
34 GNOME applications that can print you will also need to install the
35 gnome-print devel package.
38 GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych
39 dla u¿ytkownika aplikacji i narzêdzi do u¿ytku w po³±czeniu z zarz±dc±
40 okien X Window System. Pakiet libgnomeprint zawiera biblioteki
41 niezbêdne aplikacjom GNOME do drukowania.
44 Summary: Include files for libgnomeprint
45 Summary(pl): Pliki nag³ówkowe libgnomeprint
46 Group: Development/Libraries
47 Requires: %{name} = %{version}
48 Requires: glib2-devel >= 2.0.1
49 Requires: libxml2-devel >= 2.4.7
50 Requires: libart_lgpl-devel
51 Requires: libbonobo-devel
54 GNOME (GNU Network Object Model Environment) is a user-friendly set of
55 applications and desktop tools to be used in conjunction with a window
56 manager for the X Window System. The gnome-print-devel package
57 includes the libraries and include files needed for developing
58 applications that use the GNOME printing capabilities.
60 You should install the gnome-print-devel package if you would like to
61 develop GNOME applications that will use the GNOME print capabilities.
62 You do not need to install the gnome-print-devel package if you just
63 want to use the GNOME desktop environment.
65 %description devel -l pl
66 Pliki nag³ówkowe niezbêdne do kompilacji aplikacji u¿ywaj±cych
67 biblioteki drukowania GNOME.
70 Summary: Static libgnomeprint library
71 Summary(pl): Statyczna biblioteka libgnomeprint
72 Group: Development/Libraries
73 Requires: %{name}-devel = %{version}
76 Static version of libgnomeprint library.
78 %description static -l pl
79 Statyczna wersja biblioteki libgnomeprint.
85 libtoolize --copy --force
90 --disable-font-install
94 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gnome/fonts
97 # It would probably be cleaner to use install DESTDIR=$RPM_BUILD_ROOT
98 # instead of %%makeinstall with this hack.
100 DESTDIR=$RPM_BUILD_ROOT \
101 pkgconfigdir=%{_pkgconfigdir} \
102 FONTMAPDIR_STATIC=%{_datadir}/gnome/libgnomeprint-2.0/fonts
104 gzip -9nf AUTHORS ChangeLog NEWS README installer/README.*
106 %find_lang %{name}-2.0
109 rm -rf $RPM_BUILD_ROOT
112 ## we could pass --dynamic here to install to /etc instead
113 ## but I think it makes more sense to have this not be a config
114 ## file, then people make their changes in /etc if they want
115 %{_bindir}/libgnomeprint-2.0-font-install \
116 --aliases=%{_datadir}/gnome-print/fonts/adobe-urw.font \
117 --target=%{_sysconfdir}/gnome/fonts/libgnomeprint-rpm.fontmap \
118 --recursive --static \
119 %{_datadir}/fonts/Type1
122 %postun -p /sbin/ldconfig
124 %files -f %{name}-2.0.lang
125 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_bindir}/*
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129 %dir %{_libdir}/gnome-print-*
130 %dir %{_libdir}/gnome-print-*/*
131 %attr(755,root,root) %{_libdir}/gnome-print-*/*/*.so
132 %attr(755,root,root) %{_libdir}/gnome-print-*/*/*.la
133 %{_datadir}/gnome-print-*
134 %{_datadir}/gnome/libgnomeprint-*
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/lib*.so
139 %attr(755,root,root) %{_libdir}/lib*.la
141 %{_pkgconfigdir}/*.pc
144 %defattr(644,root,root,755)
146 %{_libdir}/gnome-print-*/*/*.a