source: projects/specs/trunk/lib/libg/libgnomecanvas/libgnomecanvas-vl.spec @ 805

Revision 805, 6.8 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

Line 
1%define gettext_package libgnomecanvas-2.0
2
3%define gtk2_version 2.20.0
4%define libart_lgpl_version 2.3.12
5%define libglade2_version 2.6.0
6
7%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
8
9Summary: GnomeCanvas widget
10Name: libgnomecanvas
11Version: 2.30.0
12Release: 1%{?_dist_release}
13URL: http://www.gnome.org/
14Source0: %{name}-%{version}.tar.bz2
15License: LGPL
16Group: System Environment/Libraries
17BuildRoot: %{_tmppath}/%{name}-root
18Requires: gtk2 >= %{gtk2_version}
19BuildRequires: gtk2-devel >= %{gtk2_version}
20BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
21BuildRequires: libglade2-devel >= %{libglade2_version}
22
23%description
24The canvas widget allows you to create custom displays using stock items
25such as circles, lines, text, and so on. It was originally a port of the
26Tk canvas widget but has evolved quite a bit over time.
27
28%package devel
29Summary: Libraries and headers for libgnomecanvas.
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Conflicts: gnome-libs-devel < 1.4.1.2
33Requires: gtk2-devel >= %{gtk2_version}
34Requires: libart_lgpl-devel >= %{libart_lgpl_version}
35Requires: libglade2-devel >= %{libglade2_version}
36
37%description devel
38The canvas widget allows you to create custom displays using stock items
39such as circles, lines, text, and so on. It was originally a port of the
40Tk canvas widget but has evolved quite a bit over time.
41
42# compat32
43%package -n compat32-%{name}
44Summary: GnomeCanvas widget
45Group: System Environment/Libraries
46Requires: %{name} = %{version}-%{release}
47
48%description -n compat32-%{name}
49The canvas widget allows you to create custom displays using stock items
50such as circles, lines, text, and so on. It was originally a port of the
51Tk canvas widget but has evolved quite a bit over time.
52
53%package -n compat32-%{name}-devel
54Summary: Libraries and headers for libgnomecanvas.
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57Requires: compat32-%{name} = %{version}-%{release}
58Requires: compat32-gtk2-devel >= %{gtk2_version}
59Requires: compat32-libart_lgpl-devel >= %{libart_lgpl_version}
60Requires: compat32-libglade2-devel >= %{libglade2_version}
61
62%description -n compat32-%{name}-devel
63The canvas widget allows you to create custom displays using stock items
64such as circles, lines, text, and so on. It was originally a port of the
65Tk canvas widget but has evolved quite a bit over time.
66
67%prep
68%setup -q
69
70%build
71
72%configure
73make %{?_smp_mflags}
74
75%install
76rm -rf %{buildroot}
77make install DESTDIR=$RPM_BUILD_ROOT
78
79rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
80rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.{a,la}
81
82%find_lang %{gettext_package}
83
84%clean
85rm -rf %{buildroot}
86
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
90%post -n compat32-%{name} -p /sbin/ldconfig
91%postun -n compat32-%{name} -p /sbin/ldconfig
92
93%files -f %{gettext_package}.lang
94%defattr(-,root,root)
95%doc ChangeLog NEWS
96%{_libdir}/lib*.so.*
97%dir %{_libdir}/libglade
98## %dir %{_libdir}/libglade/2.0
99## %{_libdir}/libglade/2.0/libcanvas.so
100
101%files devel
102%defattr(-,root,root)
103%{_libdir}/lib*.so
104%{_libdir}/pkgconfig/*
105%{_includedir}/*
106%{_datadir}/gtk-doc
107
108# compat32
109%if %{build_compat32}
110%files -n compat32-%{name}
111%defattr(-,root,root)
112%{_libdir}/lib*.so.*
113%dir %{_libdir}/libglade
114%dir %{_libdir}/libglade/2.0
115## %{_libdir}/libglade/2.0/libcanvas.so
116
117%files -n compat32-%{name}-devel
118%defattr(-,root,root)
119%{_libdir}/lib*.so
120%{_libdir}/pkgconfig/*
121%endif
122
123%changelog
124* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
125- new upstream release
126
127* Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-2
128- added compat32 package for x86_64 arch support
129
130* Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
131- new upstream release
132- remove BR: gail-devel
133- remove static libs
134
135* Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-1vl5
136- rebuilt with gtk-2.12.9, gail-1.22.0
137- used %%{?_dist_release} macro
138
139* Sun Jan 20 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.20.1.1-0vl2
140- added BuildRequires: gail-devel
141
142* Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
143- new upstream release
144
145* Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
146- new upstream release
147
148* Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.0-0vl1
149- new upstream release
150
151* Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
152- new upstream release
153
154* Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
155- new upstream release
156
157* Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
158- new upstream version
159
160* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
161- new upstream release
162
163* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
164- new upstream release
165
166* Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
167- new upstream release
168
169* Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
170- new upstream release
171
172* Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
173- new upstream release
174
175* Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
176- new upstream release
177
178* Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
179- new upstream release
180
181* Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
182- build for Vine Linux
183
184* Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
185- 2.0.2
186
187* Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
188- fix gettext package name
189
190* Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
191- remove empty AUTHORS/README
192
193* Sat Jun 15 2002 Havoc Pennington <hp@redhat.com>
194- 2.0.1
195- check file list, add glade module and gtk-doc docs
196
197* Sun May 26 2002 Tim Powers <timp@redhat.com>
198- automated rebuild
199
200* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
201- rebuild in different environment
202
203* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
204- rebuild in different environment
205
206* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
207- 1.117.0
208
209* Thu May  2 2002 Havoc Pennington <hp@redhat.com>
210- rebuild for new libglade
211- 1.116.0
212
213* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
214- 1.114.0
215
216* Tue Feb 19 2002 Alex Larsson <alexl@redhat.com>
217- Add nasty version check stuff.
218
219* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
220- 1.111.0
221
222* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
223- Version 1.110.0
224
225* Fri Jan 25 2002 Havoc Pennington <hp@redhat.com>
226- rebuild in rawhide
227
228* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
229- 1.108.0.90 cvs snap
230
231* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
232- cvs snap 1.105.0.90, gtk 1.3.11
233
234* Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
235- new cvs snap, rebuild for gtk 1.3.10,
236  add libglade dep, fix libart dep
237
238* Fri Oct  5 2001 Havoc Pennington <hp@redhat.com>
239- rebuild cvs snap for new glib/gtk
240
241* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
242- new cvs snap with upstream changes
243
244* Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
245- Initial build.
246
247
Note: See TracBrowser for help on using the repository browser.