Blame SPECS/gtkmm24.spec

4957f5
# first two digits of version
4957f5
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
4957f5
%global tarname gtkmm
4957f5
%global api_ver 2.4
4957f5
4957f5
Name:           gtkmm24
4957f5
Version:        2.24.5
1f44e0
Release:        6%{?dist}
4957f5
4957f5
Summary:        C++ interface for GTK2 (a GUI library for X)
4957f5
4957f5
License:        LGPLv2+
4957f5
URL:            http://www.gtkmm.org/
4957f5
Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.xz
4957f5
4957f5
BuildRequires:  glibmm24-devel >= 2.24
4957f5
BuildRequires:  atkmm-devel >= 2.22
4957f5
BuildRequires:  gtk2-devel >= 2.24
4957f5
BuildRequires:  cairomm-devel >= 1.2.2
4957f5
BuildRequires:  pangomm-devel >= 2.26
4957f5
4957f5
4957f5
%description
4957f5
gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps GTK+ 2.
4957f5
Highlights include typesafe callbacks, widgets extensible via inheritance
4957f5
and a comprehensive set of widget classes that can be freely combined to
4957f5
quickly create complex user interfaces.
4957f5
4957f5
4957f5
%package        devel
4957f5
Summary:        Headers for developing programs that will use %{name}.
4957f5
Requires:       %{name}%{_isa} = %{version}-%{release}
4957f5
Requires:       gtk2-devel
4957f5
Requires:       glibmm24-devel
4957f5
Requires:       atkmm-devel
4957f5
Requires:       pangomm-devel
4957f5
Requires:       cairomm-devel
4957f5
4957f5
4957f5
%description devel
4957f5
This package contains the static libraries and header files needed for
4957f5
developing gtkmm applications.
4957f5
4957f5
4957f5
%package        docs
4957f5
Summary:        Documentation for %{name}, includes full API docs
4957f5
BuildArch:      noarch
4957f5
Requires:       %{name} = %{version}-%{release}
4957f5
Requires:       glibmm24-doc
4957f5
4957f5
%description    docs
4957f5
This package contains the full API documentation for %{name}.
4957f5
4957f5
4957f5
%prep
4957f5
%setup -q -n gtkmm-%{version}
4957f5
4957f5
4957f5
%build
4957f5
%configure %{!?_with_static: --disable-static} --enable-shared
4957f5
# removing rpath
4957f5
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
4957f5
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
4957f5
4957f5
make %{?_smp_mflags}
4957f5
4957f5
4957f5
%install
4957f5
make install DESTDIR=$RPM_BUILD_ROOT
4957f5
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
4957f5
4957f5
4957f5
%post -p /sbin/ldconfig
4957f5
4957f5
4957f5
%postun -p /sbin/ldconfig
4957f5
4957f5
4957f5
%files
4957f5
%license COPYING
4957f5
%doc AUTHORS NEWS README
4957f5
%{_libdir}/*.so.*
4957f5
4957f5
4957f5
%files devel
4957f5
%doc PORTING demos/gtk-demo/
4957f5
%{_includedir}/gtkmm-2.4/
4957f5
%{_includedir}/gdkmm-2.4/
4957f5
%{?_with_static: %{_libdir}/*.a}
4957f5
%{_libdir}/*.so
4957f5
%{_libdir}/gtkmm-2.4/
4957f5
%{_libdir}/gdkmm-2.4/
4957f5
%{_libdir}/pkgconfig/*.pc
4957f5
4957f5
4957f5
%files docs
4957f5
%doc %{_docdir}/%{tarname}-%{api_ver}
4957f5
%doc %{_datadir}/devhelp/
4957f5
4957f5
%changelog
1f44e0
* Thu Oct 15 2020 Tomas Popela <tpopela@redhat.com> - 2.24.5-6
1f44e0
- Rebuild for the annobin fixes
1f44e0
- Resolves: rhbz#1704012
1f44e0
4957f5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.5-5
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4957f5
4957f5
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.5-4
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4957f5
4957f5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.5-3
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4957f5
4957f5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.5-2
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4957f5
4957f5
* Mon Sep 05 2016 Kalev Lember <klember@redhat.com> - 2.24.5-1
4957f5
- Update to 2.24.5
4957f5
- Use license macro for COPYING
4957f5
- Don't set group tags
4957f5
- Tighten -devel requires with the _isa macro
4957f5
4957f5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.4-9
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4957f5
4957f5
* Thu Jan 14 2016 Lubomir Rintel <lkundrak@v3.sk> - 2.24.4-8
4957f5
- Fix FTBFS
4957f5
4957f5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.4-7
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4957f5
4957f5
* Mon Apr 27 2015 Nils Philippsen <nils@redhat.com> - 2.24.4-6
4957f5
- rebuild for C++11 ABI
4957f5
4957f5
* Fri Feb 27 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.24.4-5
4957f5
- Rebuild on F-23 for gcc5 ABI change
4957f5
4957f5
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.4-4
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4957f5
4957f5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.4-3
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4957f5
4957f5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.4-2
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4957f5
4957f5
* Fri Jun 28 2013 Kalev Lember <kalevlember@gmail.com> - 2.24.4-1
4957f5
- Update to 2.24.4
4957f5
4957f5
* Fri Jun 21 2013 Matthias Clasen <mclasen@redhat.com> - 2.24.3-2
4957f5
- Don't install ChangeLog
4957f5
4957f5
* Fri Apr 05 2013 Kalev Lember <kalevlember@gmail.com> - 2.24.3-1
4957f5
- Update to 2.24.3
4957f5
4957f5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-5
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4957f5
4957f5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-4
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4957f5
4957f5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-3
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4957f5
4957f5
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.24.2-2
4957f5
- Rebuild for new libpng
4957f5
4957f5
* Sat Jul 09 2011 Kalev Lember <kalevlember@gmail.com> - 2.24.2-1
4957f5
- Update to 2.24.2
4957f5
- Removed mm-common buildrequire which is no longer needed for tarball builds
4957f5
- Cleaned up the spec file for modern rpmbuild
4957f5
4957f5
* Thu Jul 07 2011 Kalev Lember <kalevlember@gmail.com> - 2.24.1-1
4957f5
- Update to 2.24.1
4957f5
- Dropped the doctooldir patch
4957f5
4957f5
* Mon Jul 04 2011 Karsten Hopp <karsten@redhat.com> 2.24.0-4
4957f5
- buildrequire mm-common
4957f5
- fix pkg-config call to figure out doctooldir
4957f5
4957f5
* Wed Mar 02 2011 Kalev Lember <kalev@smartlink.ee> - 2.24.0-3
4957f5
- Co-own /usr/share/devhelp/ directory
4957f5
- Require base package from -doc subpackage
4957f5
- Dropped unneeded doxygen and graphviz BRs
4957f5
4957f5
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.24.0-2
4957f5
- fix documentation location
4957f5
4957f5
* Thu Feb 10 2011 Kalev Lember <kalev@smartlink.ee> - 2.24.0-1
4957f5
- Update to 2.24.0
4957f5
- Use macro for automatically figuring out the download URL
4957f5
- Cleaned up unnecessary BuildRequires / Requires
4957f5
4957f5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.0-2
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4957f5
4957f5
* Tue Sep 28 2010 Kalev Lember <kalev@smartlink.ee> - 2.22.0-1
4957f5
- Update to 2.22.0
4957f5
4957f5
* Tue Sep 21 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.8.1-1
4957f5
- Update to 2.21.8.1
4957f5
4957f5
* Tue Sep 21 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.8-1
4957f5
- Update to 2.21.8
4957f5
4957f5
* Tue Sep 14 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.7-2
4957f5
- Dropped gtkmm24-2.21.1-gtkcalendar.patch
4957f5
- Build docs subpackage as noarch
4957f5
- Co-own gtk-doc directory (#604169)
4957f5
- Fixed macro-in-changelog rpmlint warning
4957f5
4957f5
* Wed Sep 08 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 2.21.7-1
4957f5
- Update to upstream 2.21.7
4957f5
4957f5
* Mon Jul 05 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 2.21.1-1
4957f5
- Update to upstream 2.21.1
4957f5
- close RHBZ #610195 (first step for parallel installable Gtkmm stacks)
4957f5
- build patch from Kalev
4957f5
4957f5
* Thu Apr 29 2010 Haïkel Guémar <hguemar@fedoraproject.org> - 2.20.2-1
4957f5
- Update to upstream 2.20.2
4957f5
4957f5
* Sat Mar 20 2010 Denis Leroy <denis@poolshark.org> - 2.19.7-1
4957f5
- Update to unstable 2.19.7
4957f5
4957f5
* Sat Feb 27 2010 Denis Leroy <denis@poolshark.org> - 2.19.6-1
4957f5
- Update to unstable 2.19.6, fixes #568905
4957f5
4957f5
* Thu Feb 18 2010 Denis Leroy <denis@poolshark.org> - 2.19.4-1
4957f5
- Update to upstream 2.19.4
4957f5
4957f5
* Sun Jan 17 2010 Denis Leroy <denis@poolshark.org> - 2.19.2-1
4957f5
- Update to upstream 2.19.2, new unstable branch
4957f5
4957f5
* Sat Oct 24 2009 Denis Leroy <denis@poolshark.org> - 2.18.2-1
4957f5
- Update to upstream 2.18.2
4957f5
4957f5
* Fri Sep 25 2009 Denis Leroy <denis@poolshark.org> - 2.18.1-1
4957f5
- Update to upstream 2.18.1
4957f5
4957f5
* Mon Sep 14 2009 Denis Leroy <denis@poolshark.org> - 2.17.11-1
4957f5
- Update to upstream 2.17.11
4957f5
- Added demo code to devel package doc directory
4957f5
4957f5
* Sun Aug 16 2009 Denis Leroy <denis@poolshark.org> - 2.17.2-1
4957f5
- Update to upstream 2.17.2
4957f5
4957f5
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16.0-2
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4957f5
4957f5
* Mon Apr  6 2009 Denis Leroy <denis@poolshark.org> - 2.16.0-1
4957f5
- Update to upstream 2.16.0
4957f5
4957f5
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15.3-2
4957f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4957f5
4957f5
* Sat Feb 14 2009 Denis Leroy <denis@poolshark.org> - 2.15.3-1
4957f5
- Update to upstream 2.15.3
4957f5
4957f5
* Wed Jan 14 2009 Denis Leroy <denis@poolshark.org> - 2.15.0-1
4957f5
- Update to upstream 2.15.0
4957f5
4957f5
* Thu Dec 11 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.14.3-2
4957f5
- Rebuild for pkgconfig provides
4957f5
4957f5
* Wed Nov 26 2008 Denis Leroy <denis@poolshark.org> - 2.14.3-1
4957f5
- Update to 2.14.3 version
4957f5
- Devhelp patch upstreamed
4957f5
4957f5
* Sat Oct 11 2008 Denis Leroy <denis@poolshark.org> - 2.14.1-1
4957f5
- Update to 2.14.1
4957f5
- Fix documentation links
4957f5
4957f5
* Tue Sep 23 2008 Denis Leroy <denis@poolshark.org> - 2.14.0-1
4957f5
- Update to stable 2.14.0
4957f5
4957f5
* Fri Sep  5 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.13.7-2
4957f5
- Patch from svn temporarily to make compatible with GTK 2.14
4957f5
  (bug 461227)
4957f5
4957f5
* Sun Aug 24 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-1
4957f5
- Update to upstream 2.13.7, with pangomm split
4957f5
4957f5
* Wed Jul 23 2008 Denis Leroy <denis@poolshark.org> - 2.13.4-1
4957f5
- Update to upstream 2.13.4
4957f5
4957f5
* Fri Jul  4 2008 Denis Leroy <denis@poolshark.org> - 2.13.1-1
4957f5
- Update to version 2.13.1
4957f5
4957f5
* Sat May 31 2008 Denis Leroy <denis@poolshark.org> - 2.13.0-1
4957f5
- Following gtk2 to 2.13 unstable branch
4957f5
4957f5
* Sat Apr 12 2008 Denis Leroy <denis@poolshark.org> - 2.12.7-1
4957f5
- Update to upstream 2.12.7
4957f5
4957f5
* Wed Mar 12 2008 Denis Leroy <denis@poolshark.org> - 2.12.5-1
4957f5
- Update to upstream 2.12.5
4957f5
4957f5
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.12.4-2
4957f5
- Autorebuild for GCC 4.3
4957f5
4957f5
* Tue Jan 29 2008 Denis Leroy <denis@poolshark.org> - 2.12.4-1
4957f5
- Update to upstream 2.12.4, includes gcc 4.3 build fix
4957f5
4957f5
* Sun Nov 11 2007 Denis Leroy <denis@poolshark.org> - 2.12.3-1
4957f5
- Update to 2.12.3, bug fix
4957f5
4957f5
* Mon Sep 17 2007 Denis Leroy <denis@poolshark.org> - 2.12.0-1
4957f5
- Update to new stable branch 2.12.0
4957f5
4957f5
* Tue Aug 28 2007 Denis Leroy <denis@poolshark.org> - 2.11.7-1
4957f5
- Update to 2.11.7
4957f5
- License tag update
4957f5
- ppc32 rebuild
4957f5
4957f5
* Wed Aug  1 2007 Denis Leroy <denis@poolshark.org> - 2.11.6-1
4957f5
- Update to 2.11.6
4957f5
4957f5
* Tue Jul  3 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.11.3-2
4957f5
- Rebuild against newest GLib (due to #245141, #245634)
4957f5
4957f5
* Thu Jun 21 2007 Denis Leroy <denis@poolshark.org> - 2.11.3-1
4957f5
- Update to unstable 2.11 tree to follow gtk2 version
4957f5
- Fixed documentation devhelp support
4957f5
4957f5
* Mon Apr 30 2007 Denis Leroy <denis@poolshark.org> - 2.10.9-1
4957f5
- Update to 2.10.9
4957f5
4957f5
* Thu Mar 15 2007 Denis Leroy <denis@poolshark.org> - 2.10.8-1
4957f5
- Update to 2.10.8
4957f5
4957f5
* Sun Jan 28 2007 Denis Leroy <denis@poolshark.org> - 2.10.7-1
4957f5
- Update to 2.10.7, fixed Source url path
4957f5
4957f5
* Tue Dec 12 2006 Denis Leroy <denis@poolshark.org> - 2.10.6-1
4957f5
- Update to 2.10.6
4957f5
4957f5
* Mon Dec  4 2006 Denis Leroy <denis@poolshark.org> - 2.10.5-1
4957f5
- Update to 2.10.5
4957f5
4957f5
* Tue Oct  3 2006 Denis Leroy <denis@poolshark.org> - 2.10.2-1
4957f5
- Update to 2.10.2
4957f5
4957f5
* Mon Aug 28 2006 Denis Leroy <denis@poolshark.org> - 2.10.0-3
4957f5
- FE6 Rebuild
4957f5
4957f5
* Mon Aug 21 2006 Denis Leroy <denis@poolshark.org> - 2.10.0-2
4957f5
- Added cairomm Require in devel 
4957f5
4957f5
* Mon Aug 21 2006 Denis Leroy <denis@poolshark.org> - 2.10.0-1
4957f5
- Update to 2.10.0. Now depends on cairomm
4957f5
4957f5
* Sun Jun 25 2006 Denis Leroy <denis@poolshark.org> - 2.8.8-2
4957f5
- Added dist postfix to release version
4957f5
4957f5
* Sun Jun 25 2006 Denis Leroy <denisleroy@yahoo.com> - 2.8.8-1
4957f5
- Update to 2.8.8
4957f5
4957f5
* Sun May  7 2006 Denis Leroy <denis@poolshark.org> - 2.8.5-1
4957f5
- Update to 2.8.5
4957f5
4957f5
* Tue Feb 28 2006 Denis Leroy <denis@poolshark.org> - 2.8.3-1
4957f5
- Update to version 2.8.3
4957f5
- Added optional macro to compile static libs
4957f5
4957f5
* Fri Nov 25 2005 Denis Leroy <denis@poolshark.org> - 2.8.1-1
4957f5
- Update to gtkmm 2.8.1
4957f5
- Disabled static libraries build
4957f5
4957f5
* Mon Sep 19 2005 Denis Leroy <denis@poolshark.org> - 2.8.0-1
4957f5
- Update to gtkmm 2.8.0
4957f5
- Incorporated dependency updates from Rick Vinyard
4957f5
4957f5
* Fri Apr 29 2005 Denis Leroy <denis@poolshark.org> - 2.6.2-2
4957f5
- Disabled building of demo and examples
4957f5
4957f5
* Sat Apr  9 2005 Denis Leroy <denis@poolshark.org> - 2.6.2-1
4957f5
- Update to gtkmm 2.6.2
4957f5
- Added demo binary to devel package
4957f5
4957f5
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
4957f5
- rebuilt
4957f5
4957f5
* Sat Jan 15 2005 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0:2.4.8-1
4957f5
- Update for gtkmm 2.4.8
4957f5
4957f5
* Wed Nov 17 2004 Denis Leroy <denis@poolshark.org> - 0:2.4.7-1
4957f5
- Update for gtkmm 2.4.7
4957f5
4957f5
* Mon Jun 28 2004 Denis Leroy <denis@poolshark.org> - 0:2.4.5-0.fdr.1
4957f5
- Upgrade to 2.4.5
4957f5
4957f5
* Thu Oct 9 2003 Michael Koziarski <michael@koziarski.org> - 0:2.2.8-0.fdr.3
4957f5
- Incorporated more of Michael Schwendt's Comments in fedora bug 727
4957f5
- Seperate -docs package with devhelp support disabled.
4957f5
4957f5
* Tue Oct 7 2003 Michael Koziarski <michael@koziarski.org> - 0:2.2.8-0.fdr.2
4957f5
- Split the documentation into a separate -docs package
4957f5
- Included devhelp
4957f5
4957f5
* Sat Oct 4 2003 Michael Koziarski <michael@koziarski.org> - 0:2.2.8-0.fdr.1
4957f5
- Incorporated Michael Schwendt's Comments in fedora bug 727
4957f5
- Updated to 2.2.8
4957f5
4957f5
* Tue Sep 16 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.7-0.fdr.1
4957f5
- Initial Fedora Release.
4957f5
- Updated to 2.2.7.
4957f5
4957f5
* Fri Dec 6 2002 Gary Peck <gbpeck@sbcglobal.net> - 2.0.2-1
4957f5
- Removed "--without docs" option and simplified the spec file since the
4957f5
  documentation is included in the tarball now
4957f5
4957f5
* Thu Dec 5 2002 Walter H. van Holst <rpm-maintainer@fossiel.xs4all.nl> - 1.0.2
4957f5
- Removed reference to patch
4957f5
- Added the documentation files in %%files
4957f5
4957f5
* Thu Oct 31 2002 Gary Peck <gbpeck@sbcglobal.net> - 2.0.0-gp1
4957f5
- Update to 2.0.0
4957f5
4957f5
* Wed Oct 30 2002 Gary Peck <gbpeck@sbcglobal.net> - 1.3.26-gp3
4957f5
- Added "--without docs" option to disable DocBook generation
4957f5
4957f5
* Sat Oct 26 2002 Gary Peck <gbpeck@sbcglobal.net> - 1.3.26-gp2
4957f5
- Update to 1.3.26
4957f5
- Spec file cleanups
4957f5
- Removed examples from devel package
4957f5
- Build html documentation (including a Makefile patch)
4957f5
4957f5
* Mon Oct 14 2002 Gary Peck <gbpeck@sbcglobal.net> - 1.3.24-gp1
4957f5
- Initial release of gtkmm2, using gtkmm spec file as base