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

Contents of /updates/1/libgnomeprintui/current/SPECS/libgnomeprintui.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: 2630 byte(s)
SILENT: branch release 1
1 %define lib_major 0
2 %define lib_name %mklibname gnomeprintui 2-2 %{lib_major}
3 %define develname %mklibname -d gnomeprintui 2-2
4
5 %define req_libgnomeprint_version 2.12.1
6
7 Summary: GNOME print library
8 Name: libgnomeprintui
9 Version: 2.18.6
10 Release: %mkrel 1
11 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
12 # (fc) 2.18.3-2mdv use system-config-printer, not gnome-cups-add
13 Patch0: libgnomeprintui-2.18.3-system-config-printer.patch
14 License: LGPLv2+
15 Group: System/Libraries
16 Url: http://www.levien.com/gnome/print-arch.html
17 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
18 BuildRequires: libgnomeprint2-2-devel >= %{req_libgnomeprint_version}
19 BuildRequires: libgnomecanvas2-devel >= 1.117.0
20 BuildRequires: libglade2.0-devel
21 BuildRequires: gtk+2-devel >= 2.4.0
22 BuildRequires: gnome-icon-theme >= 1.1.92
23 BuildRequires: gtk-doc
24 BuildRequires: intltool
25 BuildRequires: autoconf2.5 >= 2.54
26 Requires: libgnomeprint >= %{req_libgnomeprint_version}
27 Requires: gnome-icon-theme >= 1.1.92
28 Suggests: system-config-printer
29 Conflicts: %{_lib}gnomeprintui2-2_0 < 2.12
30
31
32 %description
33 This is an implementation of the Gnome Printing Architecture, as
34 described in:
35
36 http://www.levien.com/gnome/print-arch.html
37
38 %package -n %{lib_name}
39 Summary: Library for GNOME print support
40 Group: %{group}
41 Requires: %{name} >= %{version}
42
43 %description -n %{lib_name}
44 This is an implementation of the Gnome Printing Architecture, as
45 described in:
46
47 http://www.levien.com/gnome/print-arch.html
48
49 %package -n %develname
50 Summary: Static libraries, include files for GNOME print
51 Group: Development/GNOME and GTK+
52 Provides: %{name}-devel = %{version}-%{release}
53 Provides: %{name}2-2-devel = %{version}-%{release}
54 Requires: %{lib_name} = %{version}-%{release}
55 Requires: libgnomeprint2-2-devel >= %{req_libgnomeprint_version}
56 Requires: libgnomecanvas2-devel >= 1.117.0
57 Obsoletes: %mklibname -d gnomeprintui 2-2 0
58
59 %description -n %develname
60 This is an implementation of the Gnome Printing Architecture, as
61 described in:
62
63 http://www.levien.com/gnome/print-arch.html
64
65
66 %prep
67 %setup -q
68 %patch0 -p1 -b .system-config-printer
69
70 %build
71 %configure2_5x --enable-gtk-doc
72 %make LIBS=-lm
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %makeinstall_std
78
79 %find_lang %{name}-2.2
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files -f %{name}-2.2.lang
85 %defattr(-,root,root)
86 %doc README AUTHORS NEWS
87 %{_datadir}/libgnomeprintui
88
89 %files -n %{lib_name}
90 %{_libdir}/libgnomeprintui-2-2.so.0*
91
92 %files -n %develname
93 %defattr(-,root,root)
94 %doc ChangeLog
95 %doc %{_datadir}/gtk-doc/html/*
96 %{_includedir}/*
97 %{_libdir}/*.so
98 %{_libdir}/*.a
99 %{_libdir}/*.la
100 %{_libdir}/pkgconfig/*
101
102
103
104

  ViewVC Help
Powered by ViewVC 1.1.30