/[packages]/updates/1/libgnomeprint/current/SPECS/libgnomeprint.spec
ViewVC logotype

Contents of /updates/1/libgnomeprint/current/SPECS/libgnomeprint.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101464 - (show annotations) (download)
Wed Jun 1 19:01:05 2011 UTC (12 years, 10 months ago) by schedbot
File size: 2670 byte(s)
SILENT: branch release 1
1 %define lib_major 0
2 %define libname %mklibname gnomeprint2-2_ %{lib_major}
3 %define libnamedev %mklibname -d gnomeprint2-2
4
5 Summary: GNOME print library
6 Name: libgnomeprint
7 Version: 2.18.8
8 Release: %mkrel 1
9 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
10 License: LGPLv2+
11 Group: System/Libraries
12 Url: http://www.levien.com/gnome/print-arch.html
13 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
14 BuildRequires: libart_lgpl-devel
15 BuildRequires: libbonobo2_x-devel
16 BuildRequires: pango-devel >= 1.5
17 BuildRequires: libgnomecups-devel >= 0.2
18 BuildRequires: bison
19 BuildRequires: flex
20 BuildRequires: gtk-doc >= 1.2
21 BuildRequires: intltool
22
23
24 %description
25 This is an implementation of the Gnome Printing Architecture, as
26 described in:
27
28 http://www.levien.com/gnome/print-arch.html
29
30 %package -n %{libname}
31 Summary: Library for GNOME print support
32 Group: %{group}
33
34 Requires: %{name} >= %{version}
35
36 %description -n %{libname}
37 This is an implementation of the Gnome Printing Architecture, as
38 described in:
39
40 http://www.levien.com/gnome/print-arch.html
41
42 %package -n %{libnamedev}
43 Summary: Static libraries, include files for GNOME print
44 Group: Development/GNOME and GTK+
45 Provides: %{name}2-2-devel = %{version}-%{release}
46 Provides: %{name}-devel = %{version}-%{release}
47 Requires: %{libname} = %{version}
48 Requires: %{name} = %{version}
49 Obsoletes: %mklibname -d gnomeprint2-2_ 0
50
51 %description -n %{libnamedev}
52 This is an implementation of the Gnome Printing Architecture, as
53 described in:
54
55 http://www.levien.com/gnome/print-arch.html
56
57
58 %prep
59 %setup -q
60
61 %build
62
63 %configure2_5x
64
65 %make
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %makeinstall_std
71
72 %find_lang %{name}-2.2
73
74 #remove unpackaged files
75 rm -f $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/%{version}/modules/*.{la,a} \
76 $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/%{version}/modules/*/*.{la,a}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files -f %{name}-2.2.lang
82 %defattr(-,root,root)
83 %doc README AUTHORS NEWS
84 %dir %{_libdir}/libgnomeprint
85 %dir %{_libdir}/libgnomeprint/%{version}
86 %dir %{_libdir}/libgnomeprint/%{version}/modules
87 %dir %{_libdir}/libgnomeprint/%{version}/modules/transports
88 %dir %{_libdir}/libgnomeprint/%{version}/modules/filters
89 %{_libdir}/libgnomeprint/%{version}/modules/*.so
90 %{_libdir}/libgnomeprint/%{version}/modules/transports/*.so
91 %{_libdir}/libgnomeprint/%{version}/modules/filters/*.so
92 %{_datadir}/libgnomeprint
93
94 %files -n %{libname}
95 %defattr(-,root,root)
96 %{_libdir}/libgnomeprint-2-2.so.%{lib_major}*
97
98 %files -n %{libnamedev}
99 %defattr(-,root,root)
100 %doc ChangeLog
101 %doc %{_datadir}/gtk-doc/html/*
102 %{_includedir}/*
103 %{_libdir}/*.so
104 %{_libdir}/*.a
105 %{_libdir}/*.la
106 %{_libdir}/pkgconfig/*
107
108

  ViewVC Help
Powered by ViewVC 1.1.30