/[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 219590 - (hide annotations) (download)
Tue Mar 6 04:49:12 2012 UTC (12 years, 1 month ago) by fwang
File size: 2736 byte(s)
add reporter's patch to fix orientation issues for preview (bug#4779)

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

  ViewVC Help
Powered by ViewVC 1.1.30