d099dfc
%?mingw_package_header
d099dfc
Kalev Lember a42dcfe
# first two digits of version
18cd092
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
Kalev Lember a42dcfe
a95922a
Name:           mingw-glibmm24
58e1439
Version:        2.51.6
58e1439
Release:        1%{?dist}
d1d7ceb
Summary:        MinGW Windows C++ interface for GTK2 (a GUI library for X)
d1d7ceb
d1d7ceb
License:        LGPLv2+
57b32aa
URL:            http://www.gtkmm.org/
a38e783
Source0:        http://ftp.gnome.org/pub/GNOME/sources/glibmm/%{release_version}/glibmm-%{version}.tar.xz
d1d7ceb
d1d7ceb
BuildArch:      noarch
d1d7ceb
d099dfc
BuildRequires:  mingw32-filesystem >= 95
d099dfc
BuildRequires:  mingw64-filesystem >= 95
d1d7ceb
BuildRequires:  mingw32-gcc
d099dfc
BuildRequires:  mingw64-gcc
d1d7ceb
BuildRequires:  mingw32-gcc-c++
d099dfc
BuildRequires:  mingw64-gcc-c++
d1d7ceb
BuildRequires:  mingw32-binutils
d099dfc
BuildRequires:  mingw64-binutils
d1d7ceb
BuildRequires:  mingw32-libsigc++20 >= 2.0.0
d099dfc
BuildRequires:  mingw64-libsigc++20 >= 2.0.0
39e18c1
BuildRequires:  mingw32-glib2 >= 2.48.0
39e18c1
BuildRequires:  mingw64-glib2 >= 2.48.0
dfd5782
BuildRequires:  perl-Getopt-Long
d1d7ceb
d1d7ceb
%description
d1d7ceb
glibmm provides a C++ interface to the GTK+ GLib low-level core
d1d7ceb
library. Highlights include typesafe callbacks, widgets extensible via
d1d7ceb
inheritance and a comprehensive set of widget classes that can be
d1d7ceb
freely combined to quickly create complex user interfaces.
d1d7ceb
d1d7ceb
5880ea5
# Win32
a95922a
%package -n mingw32-glibmm24
a95922a
Summary:        MinGW Windows C++ interface for GTK2 (a GUI library for X)
a95922a
a95922a
%description -n mingw32-glibmm24
a95922a
glibmm provides a C++ interface to the GTK+ GLib low-level core
a95922a
library. Highlights include typesafe callbacks, widgets extensible via
a95922a
inheritance and a comprehensive set of widget classes that can be
a95922a
freely combined to quickly create complex user interfaces.
a95922a
5880ea5
%package -n mingw32-glibmm24-static
5880ea5
Summary:        Static cross compiled version of the glibmm library
5880ea5
Requires:       mingw32-glibmm24 = %{version}-%{release}
5880ea5
5880ea5
%description -n mingw32-glibmm24-static
5880ea5
Static cross compiled version of the glibmm library.
a95922a
5880ea5
# Win64
d099dfc
%package -n mingw64-glibmm24
d099dfc
Summary:        MinGW Windows C++ interface for GTK2 (a GUI library for X)
d099dfc
d099dfc
%description -n mingw64-glibmm24
d099dfc
glibmm provides a C++ interface to the GTK+ GLib low-level core
d099dfc
library. Highlights include typesafe callbacks, widgets extensible via
d099dfc
inheritance and a comprehensive set of widget classes that can be
d099dfc
freely combined to quickly create complex user interfaces.
d099dfc
5880ea5
%package -n mingw64-glibmm24-static
5880ea5
Summary:        Static cross compiled version of the glibmm library
5880ea5
Requires:       mingw64-glibmm24 = %{version}-%{release}
5880ea5
5880ea5
%description -n mingw64-glibmm24-static
5880ea5
Static cross compiled version of the glibmm library.
5880ea5
d099dfc
d099dfc
%?mingw_debug_package
49cbec1
49cbec1
d1d7ceb
%prep
d1d7ceb
%setup -q -n glibmm-%{version}
d1d7ceb
d1d7ceb
%build
5880ea5
%mingw_configure --enable-static
d099dfc
%mingw_make %{?_smp_mflags}
d1d7ceb
d1d7ceb
d1d7ceb
%install
d099dfc
%mingw_make DESTDIR=$RPM_BUILD_ROOT install
d1d7ceb
5da216b
# Remove .la files
955e424
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
d099dfc
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/*.la
d1d7ceb
# Remove docs, duplicate native package.
955e424
rm -r $RPM_BUILD_ROOT%{mingw32_docdir}/glibmm-2.4
d099dfc
rm -r $RPM_BUILD_ROOT%{mingw64_docdir}/glibmm-2.4
955e424
rm -r $RPM_BUILD_ROOT%{mingw32_datadir}/devhelp
d099dfc
rm -r $RPM_BUILD_ROOT%{mingw64_datadir}/devhelp
d1d7ceb
d1d7ceb
5880ea5
# Win32
a95922a
%files -n mingw32-glibmm24
fd78ad0
%license COPYING COPYING.tools
955e424
%{mingw32_bindir}/libgiomm-2.4-1.dll
955e424
%{mingw32_bindir}/libglibmm-2.4-1.dll
955e424
%{mingw32_bindir}/libglibmm_generate_extra_defs-2.4-1.dll
955e424
%{mingw32_libdir}/libgiomm-2.4.dll.a
955e424
%{mingw32_libdir}/libglibmm-2.4.dll.a
955e424
%{mingw32_libdir}/libglibmm_generate_extra_defs-2.4.dll.a
955e424
%{mingw32_libdir}/giomm-2.4
955e424
%{mingw32_libdir}/glibmm-2.4
955e424
%{mingw32_includedir}/giomm-2.4
955e424
%{mingw32_includedir}/glibmm-2.4
955e424
%{mingw32_libdir}/pkgconfig/giomm-2.4.pc
955e424
%{mingw32_libdir}/pkgconfig/glibmm-2.4.pc
d1d7ceb
5880ea5
%files -n mingw32-glibmm24-static
5880ea5
%{mingw32_libdir}/libgiomm-2.4.a
5880ea5
%{mingw32_libdir}/libglibmm-2.4.a
5880ea5
%{mingw32_libdir}/libglibmm_generate_extra_defs-2.4.a
5880ea5
5880ea5
# Win64
d099dfc
%files -n mingw64-glibmm24
fd78ad0
%license COPYING COPYING.tools
d099dfc
%{mingw64_bindir}/libgiomm-2.4-1.dll
d099dfc
%{mingw64_bindir}/libglibmm-2.4-1.dll
d099dfc
%{mingw64_bindir}/libglibmm_generate_extra_defs-2.4-1.dll
d099dfc
%{mingw64_libdir}/libgiomm-2.4.dll.a
d099dfc
%{mingw64_libdir}/libglibmm-2.4.dll.a
d099dfc
%{mingw64_libdir}/libglibmm_generate_extra_defs-2.4.dll.a
d099dfc
%{mingw64_libdir}/giomm-2.4
d099dfc
%{mingw64_libdir}/glibmm-2.4
d099dfc
%{mingw64_includedir}/giomm-2.4
d099dfc
%{mingw64_includedir}/glibmm-2.4
d099dfc
%{mingw64_libdir}/pkgconfig/giomm-2.4.pc
d099dfc
%{mingw64_libdir}/pkgconfig/glibmm-2.4.pc
d099dfc
5880ea5
%files -n mingw64-glibmm24-static
5880ea5
%{mingw64_libdir}/libgiomm-2.4.a
5880ea5
%{mingw64_libdir}/libglibmm-2.4.a
5880ea5
%{mingw64_libdir}/libglibmm_generate_extra_defs-2.4.a
5880ea5
d1d7ceb
d1d7ceb
%changelog
58e1439
* Fri May 05 2017 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.51.6-1
58e1439
- update to 2.51.6
58e1439
3837b1e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.50.0-2
3837b1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3837b1e
dd8efc2
* Fri Sep 23 2016 Kalev Lember <klember@redhat.com> - 2.50.0-1
dd8efc2
- Update to 2.50.0
e1ae902
- Don't set group tags
dd8efc2
c0e2bf0
* Thu Sep 01 2016 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.49.5-1
c0e2bf0
- update to 2.49.5
c0e2bf0
0c60976
* Mon Aug 08 2016 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.49.4-1
0c60976
- update to 2.49.4
0c60976
334947b
* Fri Apr 01 2016 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.48.1-1
650a727
- update to 2.48.1
650a727
ffc80ac
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.47.4-3
ffc80ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ffc80ac
18cd092
* Tue Jan 05 2016 Richard Jones <rjones@redhat.com> - 2.47.4-2
18cd092
- Use global instead of define.
18cd092
84bc81b
* Tue Dec 29 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.47.4
84bc81b
- update to 2.47.4
84bc81b
78c1178
* Tue Dec  1 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.47.3.1
78c1178
- update to 2.47.3.1
78c1178
404bbf0
* Tue Dec  1 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.46.2-1
404bbf0
- update to 2.46.2
404bbf0
8ddc9d8
* Fri Sep 25 2015 Kalev Lember <klember@redhat.com> - 2.46.1-1
8ddc9d8
- Update to 2.46.1
8ddc9d8
8c2c669
* Thu Jul  2 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.45.3-1
8c2c669
- update to 2.45.3
8c2c669
4e02fef
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44.0-3
4e02fef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4e02fef
19c8940
* Sat Apr 11 2015 Kalev Lember <kalevlember@gmail.com> - 2.44.0-2
19c8940
- Rebuild against latest mingw-gcc
19c8940
80af776
* Wed Mar 25 2015 Kalev Lember <kalevlember@gmail.com> - 2.44.0-1
80af776
- Update to 2.44.0
fd78ad0
- Use license macro for the COPYING files
80af776
3d2c3a6
* Fri Jan  2 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.43.2-1
3d2c3a6
- update to 2.43.2
3d2c3a6
1f988fe
* Wed Oct  1 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.42.0-1
1f988fe
- update to 2.42.0
1f988fe
d3c12d4
* Tue Jul  1 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.41.1-1
d3c12d4
- update to 2.41.1
d3c12d4
83bf34f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41.0-2
83bf34f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
83bf34f
9e0b7c0
* Sun Jun  1 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.41.0-1
9e0b7c0
- update to 2.41.0
9e0b7c0
b8fd13a
* Wed Apr  2 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.39.92-1
b8fd13a
- update to 2.39.92
b8fd13a
2a63a5a
* Thu Mar  6 2014 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.39.91-1
2a63a5a
- update to 2.39.91
2a63a5a
60ac29d
* Tue Dec  3 2013 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.38.1-1
60ac29d
- update to 2.38.1
60ac29d
9453bba
* Tue Sep  3 2013 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.37.6-1
9453bba
- update to 2.37.6
9453bba
1f50c78
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36.2-3
1f50c78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1f50c78
7aae087
* Sun Jun 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.36.2-2
7aae087
- Rebuild to resolve InterlockedCompareExchange regression in mingw32 libraries
7aae087
71a231f
* Mon May  6 2013 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.36.2-1
71a231f
- update to 2.36.2
71a231f
fe80c20
* Mon Apr  1 2013 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.35.9-1
fe80c20
- update to 2.35.9
fe80c20
0015a87
* Sun Mar  3 2013 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.35.8-1
0015a87
- update to 2.35.8
0015a87
e5c06f0
* Sun Jan 27 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.34.1-2
e5c06f0
- Rebuild against mingw-gcc 4.8 (win64 uses SEH exceptions now)
e5c06f0
bcfc415
* Wed Nov 28 2012 Kalev Lember <kalevlember@gmail.com> - 2.34.1-1
bcfc415
- Update to 2.34.1
bcfc415
54b0917
* Fri Aug  3 2012 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.32.1-1
54b0917
- update to 2.32.1
54b0917
be50193
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32.0-2
be50193
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
be50193
924d8f4
* Sat Apr 14 2012 Kalev Lember <kalevlember@gmail.com> - 2.32.0-1
924d8f4
- Update to 2.32.0
924d8f4
5880ea5
* Sun Apr  8 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.22-1
5880ea5
- Update to 2.31.22
5880ea5
- Added -static subpackage
5880ea5
- Cleaned up unneeded %%global tags
5880ea5
- Dropped upstreamed patches
5880ea5
d099dfc
* Thu Mar 15 2012 Kalev Lember <kalevlember@gmail.com> - 2.31.2-5
d099dfc
- Build 64 bit Windows binaries
d099dfc
a95922a
* Wed Mar 07 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.2-4
a95922a
- Renamed the source package to mingw-glibmm24 (RHBZ #800875)
955e424
- Use mingw macros without leading underscore
a95922a
5da216b
* Tue Feb 28 2012 Kalev Lember <kalevlember@gmail.com> - 2.31.2-3
5da216b
- Remove .la files
5da216b
b3d0d60
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.31.2-2
b3d0d60
- Rebuild against the mingw-w64 toolchain
b3d0d60
57b32aa
* Sat Jan 14 2012 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.31.2-1
57b32aa
- Update to 2.31.2
57b32aa
f25935c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30.0-2
f25935c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f25935c
a38e783
* Fri Sep 30 2011 Kalev Lember <kalevlember@gmail.com> - 2.30.0-1
a38e783
- Update to 2.30.0
a38e783
- Use automatic mingw dep extraction
a38e783
- Clean up the spec file for recent rpmbuild
74d710f
- Drop hacks for sed'ing headers; this is now in upstream
a38e783
7940f06
* Wed Jul 06 2011 Kalev Lember <kalevlember@gmail.com> - 2.28.1-2
7940f06
- Rebuilt against win-iconv
7940f06
Kalev Lember 2b9511c
* Tue May 10 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.1-1
Kalev Lember 2b9511c
- Update to 2.28.1
Kalev Lember 2b9511c
- Dropped upstreamed unixfdlist patch
Kalev Lember 2b9511c
Kalev Lember d2d6ecb
* Mon May 02 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.0-2
Kalev Lember d2d6ecb
- Backported an upstream patch to avoid including unixfdlist.h on win32
Kalev Lember d2d6ecb
Kalev Lember a42dcfe
* Thu Apr 28 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.0-1
Kalev Lember a42dcfe
- Update to 2.28.0
Kalev Lember a42dcfe
- Use macro for calculating two digit version in download url
Kalev Lember a42dcfe
Kalev Lember f52405a
* Wed Apr 27 2011 Kalev Lember <kalev@smartlink.ee> - 2.27.93-2
Kalev Lember f52405a
- Rebuilt for proxy-libintl removal
Kalev Lember f52405a
72bc4f1
* Sun Feb 13 2011 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.27.93-1
72bc4f1
- update to 2.27.93
72bc4f1
11d017a
* Mon Dec  6 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.27.4-1
11d017a
- update to 2.27.4
11d017a
29d79d0
* Thu Aug  5 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.24.1-1
29d79d0
- update to 2.24.1
29d79d0
b31d152
* Sun Feb 28 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.23.2-1
b31d152
- update to 2.23.2
b31d152
9164598
* Sun Jan 31 2010 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.23.1-1
9164598
- update to 2.23.1
9164598
e4ee7ca
* Tue Oct  6 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.22.1-2
e4ee7ca
- remove nonexisting (on windows) files from giomm.h header
e4ee7ca
907d65a
* Sun Sep 27 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.22.1-1
907d65a
- update to 2.22.1 to match native package
907d65a
0ce629a
* Sat Sep 19 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.21.5-1
907d65a
- update to 2.21.5 to match native package
0ce629a
4c54f09
* Mon Aug 31 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.21.4-1
907d65a
- update to 2.21.4 to match native package
4c54f09
0474eaf
* Mon Aug 31 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.21.3-1
907d65a
- update to 2.21.3 to match native package
0474eaf
46e22c8
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20.0-5
46e22c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
46e22c8
49cbec1
* Mon Jun 22 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.20.0-4
49cbec1
- add debuginfo packages
49cbec1
0e3f14f
* Fri Apr 17 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.20.0-3
0e3f14f
- fix extradefs build failure
0e3f14f
2823524
* Thu Apr 16 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.20.0-2
2823524
- update to 2.20.0
c0a79d3
- replace %%define with %%global
c0a79d3
d1d7ceb
* Wed Mar 25 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.19.2-1
d1d7ceb
- update to 2.19.2
d1d7ceb
d1d7ceb
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-5
d1d7ceb
- Rebuild for mingw32-gcc 4.4
d1d7ceb
d1d7ceb
* Fri Feb  6 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-4
d1d7ceb
- Include license.
d1d7ceb
d1d7ceb
* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-3
d1d7ceb
- Use _smp_mflags.
d1d7ceb
d1d7ceb
* Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-2
d1d7ceb
- Initial RPM release.