|
|
d8c7fb6 |
%global api_ver 1.0
|
|
|
d8c7fb6 |
|
|
|
4aa08d5 |
Name: goocanvasmm
|
|
|
ab523b6 |
Version: 0.15.4
|
|
|
e489200 |
Release: 5%{?dist}
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
Summary: C++ interface for goocanvas
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
Group: System Environment/Libraries
|
|
|
4aa08d5 |
License: LGPLv2+
|
|
|
04eacb4 |
URL: http://www.gtkmm.org/
|
|
|
d8c7fb6 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.15/%{name}-%{version}.tar.bz2
|
|
|
e489200 |
Patch0: goocanvasmm-0.15.4-doctooldir.patch
|
|
|
4aa08d5 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4aa08d5 |
|
|
|
57bae9f |
BuildRequires: glibmm24-devel >= 2.14.2
|
|
|
ab523b6 |
BuildRequires: gtkmm24-devel >= 2.22.0
|
|
|
d8c7fb6 |
BuildRequires: goocanvas-devel >= 0.15
|
|
|
e489200 |
BuildRequires: mm-common >= 0.9.5
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%description
|
|
|
4aa08d5 |
This package provides a C++ interface for goocanvas. It is a
|
|
|
4aa08d5 |
subpackage of the gtkmm project. The interface provides a convenient
|
|
|
4aa08d5 |
interface for C++ programmers to create Gnome GUIs with GTK+'s
|
|
|
4aa08d5 |
flexible object-oriented framework.
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%package devel
|
|
|
4aa08d5 |
Summary: Headers for developing programs that will use %{name}
|
|
|
4aa08d5 |
Group: Development/Libraries
|
|
|
4aa08d5 |
Requires: %{name} = %{version}-%{release}
|
|
|
4aa08d5 |
Requires: gtkmm24-devel
|
|
|
4aa08d5 |
Requires: goocanvas-devel
|
|
|
4aa08d5 |
Requires: pkgconfig
|
|
|
4aa08d5 |
|
|
|
386066b |
%description devel
|
|
|
386066b |
The %{name}-devel package contains libraries and header files for
|
|
|
386066b |
developing applications that use %{name}.
|
|
|
386066b |
|
|
|
386066b |
%package doc
|
|
|
386066b |
Summary: Developer documentation for %{name}
|
|
|
386066b |
Group: Documentation
|
|
|
386066b |
%if 0%{?fedora} > 9 || 0%{?rhel} > 5
|
|
|
386066b |
BuildArch: noarch
|
|
|
386066b |
%endif
|
|
|
386066b |
BuildRequires: doxygen graphviz
|
|
|
386066b |
Requires: gtkmm24-docs
|
|
|
4aa08d5 |
|
|
|
386066b |
%description doc
|
|
|
386066b |
This package contains developer's documentation for the goocanvasmm2
|
|
|
386066b |
library. Goocanvasmm2 is the C++ API for the goocanvas graphics library.
|
|
|
4aa08d5 |
|
|
|
386066b |
The documentation can be viewed either through the devhelp
|
|
|
386066b |
documentation browser or through a web browser.
|
|
|
386066b |
|
|
|
386066b |
If using a web browser the documentation is at
|
|
|
386066b |
/usr/share/doc/%{tarname}-%{api_ver}
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%prep
|
|
|
4aa08d5 |
%setup -q
|
|
|
e489200 |
%patch0 -p1
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%build
|
|
|
4aa08d5 |
%configure --enable-shared
|
|
|
4aa08d5 |
make %{?_smp_mflags}
|
|
|
4aa08d5 |
# Build documentation
|
|
|
d8c7fb6 |
(cd doc/reference; doxygen -u 2> /dev/null)
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%install
|
|
|
4aa08d5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4aa08d5 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
4aa08d5 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%clean
|
|
|
4aa08d5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%post -p /sbin/ldconfig
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%postun -p /sbin/ldconfig
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%files
|
|
|
4aa08d5 |
%defattr(-, root, root, -)
|
|
|
4aa08d5 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
4aa08d5 |
%{_libdir}/*.so.*
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%files devel
|
|
|
4aa08d5 |
%defattr(-, root, root, -)
|
|
|
d8c7fb6 |
%{_includedir}/%{name}-%{api_ver}
|
|
|
386066b |
%{_libdir}/%{name}-%{api_ver}
|
|
|
4aa08d5 |
%{_libdir}/*.so
|
|
|
386066b |
%{_libdir}/pkgconfig/%{name}-%{api_ver}.pc
|
|
|
386066b |
|
|
|
386066b |
%files doc
|
|
|
386066b |
%defattr(-,root,root,-)
|
|
|
386066b |
%doc COPYING
|
|
|
386066b |
%doc %{_datadir}/devhelp/books/%{name}-%{api_ver}
|
|
|
386066b |
%doc %{_docdir}/%{name}-%{api_ver}
|
|
|
b260154 |
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
%changelog
|
|
|
e489200 |
* Mon Jul 04 2011 Karsten Hopp <karsten@redhat.com> 0.15.4-5
|
|
|
e489200 |
- buildrequire mm-common
|
|
|
e489200 |
- fix pkg-config call to figure out doctooldir
|
|
|
e489200 |
|
|
|
9834812 |
* Mon Feb 28 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 0.15.4-4
|
|
|
9834812 |
- bump release
|
|
|
9834812 |
|
|
|
b260154 |
* Sun Feb 20 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 0.15.4-3
|
|
|
386066b |
- add doc sub-package and fix documentation handling
|
|
|
b260154 |
|
|
|
d684560 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.4-2
|
|
|
d684560 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d684560 |
|
|
|
ab523b6 |
* Tue Oct 26 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 0.15.4-1
|
|
|
ab523b6 |
- Update to upstream 0.15.4
|
|
|
ab523b6 |
|
|
|
e680034 |
* Sun Sep 03 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 0.15.3-1
|
|
|
e680034 |
- Update to upstream 0.15.3
|
|
|
e680034 |
|
|
|
6175fbe |
* Mon Apr 26 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 0.15.2-1
|
|
|
6175fbe |
- Update to upstream 0.15.2
|
|
|
6175fbe |
|
|
|
d8c7fb6 |
* Mon Apr 26 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 0.15.1-1
|
|
|
d8c7fb6 |
- Update to upstream 0.15.1
|
|
|
d8c7fb6 |
|
|
|
4234d71 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2
|
|
|
4234d71 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4234d71 |
|
|
|
eee36bd |
* Thu Apr 23 2009 Denis <denis@poolshark.org> - 0.14.0-1
|
|
|
eee36bd |
- Update to upstream 0.14.0
|
|
|
eee36bd |
|
|
|
a275654 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-2
|
|
|
a275654 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a275654 |
|
|
|
eaceb96 |
* Sun Jan 18 2009 Denis Leroy <denis@poolshark.org> - 0.13.0-1
|
|
|
eaceb96 |
- Update to upstream 0.13.0
|
|
|
eaceb96 |
|
|
|
e6abd43 |
* Wed Sep 3 2008 Denis Leroy <denis@poolshark.org> - 0.9.0-1
|
|
|
e6abd43 |
- Update to upstream 0.9.0
|
|
|
e6abd43 |
|
|
|
57bae9f |
* Fri Jul 11 2008 Denis Leroy <denis@poolshark.org> - 0.6.0-1
|
|
|
57bae9f |
- Update to upstream 0.6.0
|
|
|
57bae9f |
- Updated BRs
|
|
|
57bae9f |
|
|
|
b430b66 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-3
|
|
|
b430b66 |
- Autorebuild for GCC 4.3
|
|
|
b430b66 |
|
|
|
4aa08d5 |
* Wed Nov 28 2007 Denis Leroy <denis@poolshark.org> - 0.4.0-2
|
|
|
4aa08d5 |
- Added graphviz dep, fixed doxygen warning
|
|
|
4aa08d5 |
|
|
|
4aa08d5 |
* Sun Nov 25 2007 Denis Leroy <denis@poolshark.org> - 0.4.0-1
|
|
|
4aa08d5 |
- Initial version
|
|
|
4aa08d5 |
|