f38
Matthias Clasen 19 years ago
parent 18db4e6294
commit 84cc817cc6

@ -8,7 +8,7 @@
Summary: GnomeCanvas widget Summary: GnomeCanvas widget
Name: libgnomecanvas Name: libgnomecanvas
Version: 2.14.0 Version: 2.14.0
Release: 1 Release: 2
URL: http://www.gnome.org/ URL: http://www.gnome.org/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
License: LGPL License: LGPL
@ -19,16 +19,14 @@ BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version} BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
BuildRequires: libglade2-devel >= %{libglade2_version} BuildRequires: libglade2-devel >= %{libglade2_version}
BuildRequires: libtool BuildRequires: libtool
BuildRequires: gtk-doc
%description %description
The canvas widget allows you to create custom displays using stock items The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time. Tk canvas widget but has evolved quite a bit over time.
%package devel %package devel
Summary: Libraries and headers for libgnomecanvas. Summary: Libraries and headers for libgnomecanvas
Group: Development/Libraries Group: Development/Libraries
Requires: %name = %{version} Requires: %name = %{version}
Conflicts: gnome-libs-devel < 1.4.1.2 Conflicts: gnome-libs-devel < 1.4.1.2
@ -46,10 +44,8 @@ Tk canvas widget but has evolved quite a bit over time.
%setup -q %setup -q
%build %build
#replace shipped libtool files (bug #78045)
libtoolize -f
export CFLAGS=$(echo $RPM_OPT_FLAGS |sed -e 's/O2/O1/g') export CFLAGS=$(echo $RPM_OPT_FLAGS |sed -e 's/O2/O1/g')
%configure --enable-gtk-doc %configure --disable-gtk-doc
export tagname=CC export tagname=CC
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
@ -77,22 +73,24 @@ rm -rf %{buildroot}
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
# avoid the .a file, get .la against better judgment
%dir %{_libdir}/libglade %dir %{_libdir}/libglade
%dir %{_libdir}/libglade/2.0 %dir %{_libdir}/libglade/2.0
%{_libdir}/libglade/2.0/libcanvas.so %{_libdir}/libglade/2.0/libcanvas.so
%{_libdir}/libglade/2.0/libcanvas.la
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/lib*.a
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_includedir}/* %{_includedir}/*
%{_datadir}/gtk-doc %{_datadir}/gtk-doc
%changelog %changelog
* Tue May 23 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-2
- Fix multilib conflicts
- Don't ship .la files
- Some spec file cleanups
* Mon Mar 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-1 * Mon Mar 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-1
- Update to 2.14.0 - Update to 2.14.0

Loading…
Cancel
Save