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

Annotation of /updates/1/libgnomeprintui/current/SPECS/libgnomeprintui.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20480 - (hide annotations) (download)
Sun Jan 16 21:27:45 2011 UTC (13 years, 3 months ago) by pterjan
Original Path: cauldron/libgnomeprintui/current/SPECS/libgnomeprintui.spec
File size: 2778 byte(s)
imported package libgnomeprintui
1 pterjan 20480 %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     %if %mdkversion < 200900
85     %post -n %{lib_name} -p /sbin/ldconfig
86     %endif
87    
88     %if %mdkversion < 200900
89     %postun -n %{lib_name} -p /sbin/ldconfig
90     %endif
91    
92     %files -f %{name}-2.2.lang
93     %defattr(-,root,root)
94     %doc README AUTHORS NEWS
95     %{_datadir}/libgnomeprintui
96    
97     %files -n %{lib_name}
98     %{_libdir}/libgnomeprintui-2-2.so.0*
99    
100     %files -n %develname
101     %defattr(-,root,root)
102     %doc ChangeLog
103     %doc %{_datadir}/gtk-doc/html/*
104     %{_includedir}/*
105     %{_libdir}/*.so
106     %{_libdir}/*.a
107     %{_libdir}/*.la
108     %{_libdir}/pkgconfig/*
109    
110    
111    
112    

  ViewVC Help
Powered by ViewVC 1.1.30