1 | %define gtk2_version 2.2.0 |
---|
2 | %define libgnomeprint_version 1.116.0 |
---|
3 | %define libgnomecanvas_version 2.0.0 |
---|
4 | |
---|
5 | Summary: GUI support for libgnomeprint |
---|
6 | Name: libgnomeprintui20 |
---|
7 | Version: 1.116.0 |
---|
8 | Release: 0vl1 |
---|
9 | URL: ftp://ftp.gnome.org |
---|
10 | Source0: libgnomeprintui-%{version}.tar.bz2 |
---|
11 | License: LGPL |
---|
12 | Group: System Environment/Libraries |
---|
13 | BuildRoot: %{_tmppath}/%{name}-root |
---|
14 | |
---|
15 | Requires: gtk2 >= %{gtk2_version} |
---|
16 | Requires: libgnomeprint20 >= %{libgnomeprint_version} |
---|
17 | Requires: libgnomecanvas >= %{libgnomecanvas_version} |
---|
18 | |
---|
19 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
20 | BuildRequires: libgnomeprint20-devel >= %{libgnomeprint_version} |
---|
21 | BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
---|
22 | |
---|
23 | %description |
---|
24 | |
---|
25 | The libgnomeprintui package contains GTK+ widgets related to printing. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Libraries and headers for libgnomeprintui |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version} |
---|
31 | |
---|
32 | Requires: gtk2-devel >= %{gtk2_version} |
---|
33 | Requires: libgnomeprint20-devel >= %{libgnomeprint_version} |
---|
34 | Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
---|
35 | |
---|
36 | %description devel |
---|
37 | |
---|
38 | The libgnomeprintui package contains GTK+ widgets related to printing. |
---|
39 | |
---|
40 | You should install the libgnomeprintui-devel package if you would like |
---|
41 | to compile applications that use the widgets in libgnomeprintui. You |
---|
42 | do not need to install it if you just want to use precompiled |
---|
43 | applications. |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q -n libgnomeprintui-%{version} |
---|
47 | |
---|
48 | %build |
---|
49 | |
---|
50 | %configure |
---|
51 | make |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | %makeinstall |
---|
56 | |
---|
57 | # remove unpackaged files from the buildroot |
---|
58 | rm -f $RPM_BUILD_ROOT%{_libdir}/libgnomeprintui-2.la |
---|
59 | |
---|
60 | %find_lang %{name} |
---|
61 | |
---|
62 | %post -p /sbin/ldconfig |
---|
63 | |
---|
64 | %postun -p /sbin/ldconfig |
---|
65 | |
---|
66 | %clean |
---|
67 | rm -rf $RPM_BUILD_ROOT |
---|
68 | |
---|
69 | %files -f %{name}.lang |
---|
70 | %defattr(-,root,root) |
---|
71 | |
---|
72 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
73 | |
---|
74 | %{_libdir}/lib*.so.* |
---|
75 | |
---|
76 | %files devel |
---|
77 | %defattr(-,root,root) |
---|
78 | |
---|
79 | %{_libdir}/lib*.a |
---|
80 | %{_libdir}/lib*.so |
---|
81 | %{_libdir}/pkgconfig/* |
---|
82 | %{_includedir}/* |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.116.0-0vl1 |
---|
86 | - libgnomeprintui20 for compatibility |
---|
87 | |
---|
88 | * Fri Dec 13 2002 Tim Powers <timp@redhat.com> 1.116.0-2 |
---|
89 | - remove unpackaged files from the buildroot |
---|
90 | |
---|
91 | * Wed Aug 14 2002 Akira TAGOH <tagoh@redhat.com> 1.116.0-1 |
---|
92 | - updates to 1.116.0 |
---|
93 | |
---|
94 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
95 | - automated rebuild |
---|
96 | |
---|
97 | * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com> |
---|
98 | - 1.115.0 |
---|
99 | |
---|
100 | * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com> |
---|
101 | - rebuild in different environment |
---|
102 | |
---|
103 | * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com> |
---|
104 | - add ldconfig to post/postun |
---|
105 | |
---|
106 | * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com> |
---|
107 | - 1.114.0 |
---|
108 | |
---|
109 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
110 | - automated rebuild |
---|
111 | |
---|
112 | * Mon May 20 2002 Havoc Pennington <hp@redhat.com> |
---|
113 | - rebuild in different environment |
---|
114 | |
---|
115 | * Mon May 20 2002 Havoc Pennington <hp@redhat.com> |
---|
116 | - 1.113.0 |
---|
117 | |
---|
118 | * Fri May 3 2002 Havoc Pennington <hp@redhat.com> |
---|
119 | - rebuild for new libs |
---|
120 | |
---|
121 | * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com> |
---|
122 | - 1.112.0 |
---|
123 | |
---|
124 | * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com> |
---|
125 | - rebuild for new libs |
---|
126 | |
---|
127 | * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com> |
---|
128 | - Version 1.110.0 |
---|
129 | |
---|
130 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
131 | - automated rebuild |
---|
132 | |
---|
133 | * Mon Jan 7 2002 Havoc Pennington <hp@redhat.com> |
---|
134 | - hmm, didn't get all the libgnomeui dependency lines |
---|
135 | |
---|
136 | * Mon Jan 7 2002 Havoc Pennington <hp@redhat.com> |
---|
137 | - 1.109.0.90 snap, remove libgnomeui dep that's now gone |
---|
138 | |
---|
139 | * Tue Nov 27 2001 Havoc Pennington <hp@redhat.com> |
---|
140 | - new snap 1.106.0.90 |
---|
141 | - explicitly require certain versions of dependent libs |
---|
142 | |
---|
143 | * Sun Oct 28 2001 Havoc Pennington <hp@redhat.com> |
---|
144 | - rebuild for glib 1.3.10, new cvs snap |
---|
145 | |
---|
146 | * Tue Oct 9 2001 Havoc Pennington <hp@redhat.com> |
---|
147 | - Initial build |
---|
148 | |
---|
149 | |
---|
150 | |
---|