c7d42b
%global apiver 1.0
c7d42b
c7d42b
%global cairo_version 1.10.0
c7d42b
%global libsigc_version 2.5.1
c7d42b
c7d42b
Summary:        C++ API for the cairo graphics library
c7d42b
Name:           cairomm
c7d42b
Version:        1.12.0
fe966f
Release:        8%{?dist}
c7d42b
URL:            http://www.cairographics.org
c7d42b
License:        LGPLv2+
c7d42b
Group:          System Environment/Libraries
c7d42b
Source:         http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
c7d42b
BuildRequires:  cairo-devel >= %{cairo_version}
c7d42b
BuildRequires:  libsigc++20-devel >= %{libsigc_version}
c7d42b
BuildRequires:  perl-interpreter
c7d42b
BuildRequires:  perl(Getopt::Long)
c7d42b
BuildRequires:  pkgconfig
c7d42b
c7d42b
Requires:       cairo%{?_isa} >= %{cairo_version}
c7d42b
Requires:       libsigc++20%{?_isa} >= %{libsigc_version}
c7d42b
c7d42b
%description
c7d42b
Cairomm is the C++ API for the cairo graphics library. It offers all the power
c7d42b
of cairo with an interface familiar to C++ developers, including use of the 
c7d42b
Standard Template Library where it makes sense.
c7d42b
c7d42b
%package        devel
c7d42b
Summary:        Headers for developing programs that will use %{name}
c7d42b
Group:          Development/Libraries
c7d42b
Requires:       %{name}%{?_isa} = %{version}-%{release}
c7d42b
c7d42b
%description    devel
c7d42b
Cairomm is the C++ API for the cairo graphics library. It offers all the power
c7d42b
of cairo with an interface familiar to C++ developers, including use of the 
c7d42b
Standard Template Library where it makes sense.
c7d42b
c7d42b
This package contains the libraries and header files needed for
c7d42b
developing %{name} applications.
c7d42b
c7d42b
%package        doc
c7d42b
Summary:        Developer's documentation for the cairomm library
c7d42b
Group:          Documentation
c7d42b
BuildArch:      noarch
c7d42b
Requires:       %{name} = %{version}-%{release}
c7d42b
Requires:       libsigc++20-doc
c7d42b
c7d42b
%description      doc
c7d42b
This package contains developer's documentation for the cairomm
c7d42b
library. Cairomm is the C++ API for the cairo graphics library.
c7d42b
c7d42b
The documentation can be viewed either through the devhelp
c7d42b
documentation browser or through a web browser.
c7d42b
c7d42b
If using a web browser the documentation is installed in the gtk-doc
c7d42b
hierarchy and can be found at /usr/share/doc/cairomm-1.0
c7d42b
c7d42b
%prep
c7d42b
%setup -q 
c7d42b
c7d42b
%build
c7d42b
%configure --disable-static
c7d42b
make %{?_smp_mflags}
c7d42b
c7d42b
%install
c7d42b
%make_install
c7d42b
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
c7d42b
c7d42b
%ldconfig_scriptlets
c7d42b
c7d42b
%files
c7d42b
%license COPYING
c7d42b
%doc AUTHORS README NEWS
c7d42b
%{_libdir}/lib*.so.*
c7d42b
c7d42b
%files devel
c7d42b
%doc ChangeLog
c7d42b
%{_includedir}/%{name}-%{apiver}
c7d42b
%{_libdir}/*.so
c7d42b
%{_libdir}/pkgconfig/*
c7d42b
%{_libdir}/%{name}-%{apiver}
c7d42b
c7d42b
%files doc
c7d42b
%doc %{_datadir}/doc/%{name}-%{apiver}/
c7d42b
%doc %{_datadir}/devhelp/
c7d42b
c7d42b
%changelog
fe966f
* Thu Oct 15 2020 Tomas Popela <tpopela@redhat.com> - 1.12.0-8
fe966f
- Rebuild for the annobin fixes
fe966f
- Resolves: rhbz#1703971
fe966f
c7d42b
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.12.0-7
c7d42b
- Switch to %%ldconfig_scriptlets
c7d42b
c7d42b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-6
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c7d42b
c7d42b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-5
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c7d42b
c7d42b
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-4
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
c7d42b
c7d42b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-3
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c7d42b
c7d42b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c7d42b
c7d42b
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 1.12.0-1
c7d42b
- Update to 1.12.0
c7d42b
- Drop manual requires that are automatically handled by pkgconfig dep gen
c7d42b
- Use license macro for COPYING
c7d42b
- Tighten -devel subpackage deps with the _isa macro
c7d42b
- Use make_install macro
c7d42b
c7d42b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-12
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c7d42b
c7d42b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.10.0-11
c7d42b
- Rebuilt for GCC 5 C++11 ABI change
c7d42b
c7d42b
* Sat Mar 07 2015 Kalev Lember <kalevlember@gmail.com> - 1.10.0-10
c7d42b
- Rebuilt for gcc5 ABI change
c7d42b
c7d42b
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-9
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c7d42b
c7d42b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-8
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c7d42b
c7d42b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-7
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c7d42b
c7d42b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-6
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c7d42b
c7d42b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c7d42b
c7d42b
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-4
c7d42b
- Rebuilt for c++ ABI breakage
c7d42b
c7d42b
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c7d42b
c7d42b
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.10.0-2
c7d42b
- Rebuild for new libpng
c7d42b
c7d42b
* Fri Jul 29 2011 Kalev Lember <kalevlember@gmail.com> - 1.10.0-1
c7d42b
- Update to 1.10.0
c7d42b
- Have the -doc subpackage depend on the base package
c7d42b
- Modernize the spec file
c7d42b
- Really own /usr/share/devhelp directory
c7d42b
c7d42b
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.8-2
c7d42b
- fix documentation location
c7d42b
- co-own /usr/share/devhelp
c7d42b
c7d42b
* Mon Feb 14 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.8-1
c7d42b
- upstream 1.9.8
c7d42b
- fix issues with f15/rawhide (RHBZ #676878)
c7d42b
- drop gtk-doc dependency (RHBZ #604169)
c7d42b
c7d42b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c7d42b
c7d42b
* Wed Jul 14 2010 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.9.1-1
c7d42b
- New upstream release
c7d42b
- Removed html docs from -devel package
c7d42b
- Seperated requires into one per line
c7d42b
- Fixed devhelp docs
c7d42b
c7d42b
* Tue Nov 17 2009 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.8.4-1
c7d42b
- New upstream release
c7d42b
- Added cairommconfig.h file
c7d42b
- Added doc subpackage
c7d42b
c7d42b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c7d42b
c7d42b
* Tue Feb 24 2009 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.8.0-1
c7d42b
- Update to 1.8.0
c7d42b
- Added libsigc++20-devel dependency
c7d42b
c7d42b
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
c7d42b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c7d42b
c7d42b
* Fri Aug 29 2008 Denis Leroy <denis@poolshark.org> - 1.6.2-1
c7d42b
- Update to upstream 1.6.2
c7d42b
- atsui patch upstreamed
c7d42b
c7d42b
* Sun Mar 23 2008 Denis Leroy <denis@poolshark.org> - 1.5.0-1
c7d42b
- Update to 1.5.0
c7d42b
- Added patch from Mamoru Tasaka to fix font type enum (#438600)
c7d42b
c7d42b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.4-2
c7d42b
- Autorebuild for GCC 4.3
c7d42b
c7d42b
* Fri Aug 17 2007 Denis Leroy <denis@poolshark.org> - 1.4.4-1
c7d42b
- Update to upstream version 1.4.4
c7d42b
- Fixed License tag
c7d42b
c7d42b
* Fri Jul 20 2007 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.4.2-1
c7d42b
- New upstream release
c7d42b
- Changed install to preserve timestamps
c7d42b
- Removed mv of docs/reference and include files directly
c7d42b
c7d42b
* Wed Jan 17 2007 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.4-1
c7d42b
- New release
c7d42b
c7d42b
* Sat Oct 14 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.2-1
c7d42b
- New upstream release
c7d42b
c7d42b
* Sun Aug 27 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-4
c7d42b
- Bumped release for make tag
c7d42b
c7d42b
* Sun Aug 27 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-3
c7d42b
- Bumped release for mass rebuild
c7d42b
c7d42b
* Sun Aug 20 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-2
c7d42b
- Bumped release for make tag
c7d42b
c7d42b
* Sun Aug 20 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-1
c7d42b
- New upstream release
c7d42b
- Updated summary and description
c7d42b
c7d42b
* Thu Aug  3 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.1.10-1
c7d42b
- First release for cairo 1.2
c7d42b
- Adjusted cairo dependencies for new version
c7d42b
- Docs were in html, moved to reference/html
c7d42b
c7d42b
* Sun Apr  9 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.6.0-1
c7d42b
- New upstream version should fix the upstream issues like AUTHORS and README
c7d42b
- Added pkgconfig to cairomm BuildRequires and cairomm-devel Requires
c7d42b
- Replaced makeinstall
c7d42b
- Fixed devel package description
c7d42b
- Modified includedir syntax
c7d42b
- docs included via the mv in install and in the devel files as html dir
c7d42b
c7d42b
* Sun Mar  5 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-10
c7d42b
- Removed duplicate Group tag in devel
c7d42b
- Disabled docs till they're fixed upstream 
c7d42b
c7d42b
* Sun Mar  5 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-9
c7d42b
- Removed requires since BuildRequires is present
c7d42b
- Cleaned up Source tag
c7d42b
c7d42b
* Fri Feb 24 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-7
c7d42b
- Fixed URL and SOURCE tags
c7d42b
- Fixed header include directory
c7d42b
c7d42b
* Fri Feb 24 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-6
c7d42b
- Fixed URL tag
c7d42b
c7d42b
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-5
c7d42b
- Remove epoch 'leftovers'
c7d42b
c7d42b
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-4
c7d42b
- Cleanup for FE
c7d42b
c7d42b
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-3
c7d42b
- Added pre-release alphatag
c7d42b
c7d42b
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-2
c7d42b
- Updated to current cairomm CVS
c7d42b
- Added documentation to devel package
c7d42b
c7d42b
* Fri Feb 03 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-1
c7d42b
- Updated to current cairomm CVS
c7d42b
c7d42b
* Fri Jan 27 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.4.0-1
c7d42b
- Initial creation from papyrus.spec.in
c7d42b