|
|
@ -1,20 +1,14 @@
|
|
|
|
%define gtk2_version 2.0
|
|
|
|
|
|
|
|
%define libart_lgpl_version 2.3.8
|
|
|
|
|
|
|
|
%define libglade2_version 1.99.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###### This is all cut-and-paste boilerplate
|
|
|
|
%define gettext_package libgnomecanvas-2.0
|
|
|
|
%define version_stamp_dir %{_datadir}/rpm-versions/%{name}
|
|
|
|
|
|
|
|
%define version_stamp_file %{_datadir}/rpm-versions/%{name}/%{version}-%{release}
|
|
|
|
%define gtk2_version 2.0.0
|
|
|
|
%define install_version_stamp mkdir -p $RPM_BUILD_ROOT/%{version_stamp_dir} && echo %{version}-%{release} > $RPM_BUILD_ROOT/%{version_stamp_file}
|
|
|
|
%define libart_lgpl_version 2.3.8
|
|
|
|
%define devel_version_stamp_dir %{_datadir}/rpm-versions/%{name}-devel
|
|
|
|
%define libglade2_version 2.0.0
|
|
|
|
%define devel_version_stamp_file %{_datadir}/rpm-versions/%{name}-devel/%{version}-%{release}
|
|
|
|
|
|
|
|
%define install_devel_version_stamp mkdir -p $RPM_BUILD_ROOT/%{devel_version_stamp_dir} && echo %{version}-%{release} > $RPM_BUILD_ROOT/%{devel_version_stamp_file}
|
|
|
|
|
|
|
|
###### End cut-and-paste boilerplate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: GnomeCanvas widget
|
|
|
|
Summary: GnomeCanvas widget
|
|
|
|
Name: libgnomecanvas
|
|
|
|
Name: libgnomecanvas
|
|
|
|
Version: 1.117.0
|
|
|
|
Version: 2.0.1
|
|
|
|
Release: 2
|
|
|
|
Release: 3
|
|
|
|
URL: http://www.gnome.org/
|
|
|
|
URL: http://www.gnome.org/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
License: LGPL
|
|
|
@ -51,19 +45,6 @@ Tk canvas widget but has evolved quite a bit over time.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
## ensure that --nodeps doesn't mess things up (configure.in also
|
|
|
|
|
|
|
|
## checks this in theory, but in principle the RPM and configure.in
|
|
|
|
|
|
|
|
## could require different versions, and a double check is nice
|
|
|
|
|
|
|
|
## anyhow)
|
|
|
|
|
|
|
|
if ! pkg-config --atleast-version=%{gtk2_version} gtk+-2.0; then
|
|
|
|
|
|
|
|
echo "gtk-devel does not meet the build requirements"
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! pkg-config --atleast-version=%{libglade2_version} libglade-2.0; then
|
|
|
|
|
|
|
|
echo "libglade2-devel does not meet the build requirements"
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%configure
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
@ -71,10 +52,7 @@ make %{?_smp_mflags}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%install_version_stamp
|
|
|
|
%find_lang %{gettext_package}
|
|
|
|
%install_devel_version_stamp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
@ -83,24 +61,45 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{gettext_package}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%doc COPYING ChangeLog NEWS
|
|
|
|
|
|
|
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# avoid the .a file, get .la against better judgment
|
|
|
|
|
|
|
|
%dir %{_libdir}/libglade
|
|
|
|
|
|
|
|
%dir %{_libdir}/libglade/2.0
|
|
|
|
|
|
|
|
%{_libdir}/libglade/2.0/libcanvas.so
|
|
|
|
|
|
|
|
%{_libdir}/libglade/2.0/libcanvas.la
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{version_stamp_dir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{devel_version_stamp_dir}
|
|
|
|
%{_datadir}/gtk-doc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
|
|
|
|
- fix gettext package name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
|
|
|
|
- remove empty AUTHORS/README
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 15 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
|
|
|
|
- 2.0.1
|
|
|
|
|
|
|
|
- check file list, add glade module and gtk-doc docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
|
|
|
|