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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 219577 - (hide annotations) (download)
Tue Mar 6 04:37:27 2012 UTC (12 years, 1 month ago) by fwang
File size: 2809 byte(s)
add reporter's patches to fix landscape printouts (bug#4779)

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

  ViewVC Help
Powered by ViewVC 1.1.30