From 255d7c5f2a4f9bea65e3a966f4dfd98ac5fdcc05 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Mar 07 2012 17:58:52 +0000 Subject: Renamed the source package to mingw-libglade2 --- diff --git a/mingw-libglade2.spec b/mingw-libglade2.spec new file mode 100644 index 0000000..9016522 --- /dev/null +++ b/mingw-libglade2.spec @@ -0,0 +1,159 @@ +%global __strip %{_mingw32_strip} +%global __objdump %{_mingw32_objdump} +%define __debug_install_post %{_mingw32_debug_install_post} + +Name: mingw-libglade2 +Version: 2.6.4 +Release: 12%{?dist} +Summary: MinGW Windows Libglade2 library + +License: LGPLv2+ +Group: Development/Libraries +URL: http://www.gnome.org +Source0: http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2 +# http://bugzilla.gnome.org/show_bug.cgi?id=121025 +Patch1: libglade-2.0.1-nowarning.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=510736 +Patch2: libglade-secondary.patch +# As of pango 1.29.5 the gmodule library isn't pulled in automatically anymore +Patch3: libglade-link-against-gmodule.patch + +BuildArch: noarch + +BuildRequires: mingw32-filesystem >= 68 +BuildRequires: mingw32-gcc +BuildRequires: mingw32-binutils +BuildRequires: mingw32-gtk2 +BuildRequires: mingw32-fontconfig +BuildRequires: mingw32-pango +BuildRequires: mingw32-gettext +BuildRequires: mingw32-libxml2 + +# Native one for msgfmt +BuildRequires: gettext + +# Needed for patch3 +BuildRequires: gtk2-devel +BuildRequires: autoconf automake libtool + +%description +MinGW Windows Libglade2 library. + + +%package -n mingw32-libglade2 +Summary: MinGW Windows Libglade2 library +Requires: pkgconfig + +%description -n mingw32-libglade2 +MinGW Windows Libglade2 library. + +%package -n mingw32-libglade2-static +Summary: Static MinGW Windows Libglade2 library +Group: Development/Libraries +Requires: mingw32-libglade2 = %{version}-%{release} + +%description -n mingw32-libglade2-static +Static MinGW Windows Libglade2 library. + + +%{?_mingw32_debug_package} + + +%prep +%setup -q -n libglade-%{version} +%patch1 -p1 -b .nowarning +%patch2 -p1 -b .secondary +%patch3 -p0 -b .gmodule + +autoreconf --install --force + +%build +%{_mingw32_configure} --disable-gtk-doc +make %{?_smp_mflags} + + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT/%{_mingw32_datadir}/gtk-doc/html/libglade + +# Drop all .la files +find $RPM_BUILD_ROOT -name "*.la" -delete + + +%files -n mingw32-libglade2 +%doc COPYING +%{_mingw32_bindir}/libglade-2.0-0.dll +%{_mingw32_bindir}/libglade-convert +%{_mingw32_includedir}/libglade-2.0 +%{_mingw32_libdir}/libglade-2.0.dll.a +%{_mingw32_libdir}/pkgconfig/libglade-2.0.pc + +%dir %{_mingw32_datadir}/xml/libglade +%{_mingw32_datadir}/xml/libglade/glade-2.0.dtd + +%files -n mingw32-libglade2-static +%{_mingw32_libdir}/libglade-2.0.a + + +%changelog +* Wed Mar 07 2012 Erik van Pienbroek - 2.6.4-12 +- Renamed the source package to mingw-libglade2 (RHBZ #800908) + +* Tue Feb 28 2012 Erik van Pienbroek - 2.6.4-11 +- Rebuild against the mingw-w64 toolchain + +* Tue Jan 31 2012 Erik van Pienbroek - 2.6.4-10 +- Rebuild against libpng 1.5 +- Fix compilation against pango 1.29.5 +- Dropped unneeded RPM tags +- Dropped the dependency extraction overrides as that's done automatically as of RPM 4.9 +- Dropped .la files + +* Fri Jan 13 2012 Fedora Release Engineering - 2.6.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 7 2011 Erik van Pienbroek - 2.6.4-8 +- Rebuild against win-iconv + +* Thu Apr 28 2011 Kalev Lember - 2.6.4-7 +- Dropped the gettext soft dependency patch + +* Tue Feb 08 2011 Fedora Release Engineering - 2.6.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Dec 6 2010 Erik van Pienbroek - 2.6.4-5 +- Rebuild in order to have a soft dependency on mingw32-gettext +- Fixed FTBFS +- Use correct %%defattr tag +- Fixed a small rpmlint warning + +* Sat Jul 25 2009 Fedora Release Engineering - 2.6.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 22 2009 Thomas Sailer - 2.6.4-3 +- add debuginfo packages + +* Thu Apr 16 2009 Thomas Sailer - 2.6.4-2 +- fix static Requires + +* Thu Apr 16 2009 Thomas Sailer - 2.6.4-1 +- replace %%define with %%global +- update to 2.6.4 +- move static library to its own subpackage +- add secondary patch from native libglade2 package + +* Fri Feb 20 2009 Richard W.M. Jones - 2.6.3-5 +- Rebuild for mingw32-gcc 4.4 + +* Fri Feb 6 2009 Richard W.M. Jones - 2.6.3-4 +- Include license file. + +* Fri Jan 23 2009 Richard W.M. Jones - 2.6.3-3 +- Use _smp_mflags. +- +BR mingw32-libxml2. + +* Tue Jan 13 2009 Richard W.M. Jones - 2.6.3-2 +- Requires pkgconfig. + +* Fri Nov 28 2008 Daniel P. Berrange - 2.6.3-1 +- Initial build diff --git a/mingw32-libglade2.spec b/mingw32-libglade2.spec deleted file mode 100644 index 3a427ff..0000000 --- a/mingw32-libglade2.spec +++ /dev/null @@ -1,150 +0,0 @@ -%global __strip %{_mingw32_strip} -%global __objdump %{_mingw32_objdump} -%define __debug_install_post %{_mingw32_debug_install_post} - -Name: mingw32-libglade2 -Version: 2.6.4 -Release: 11%{?dist} -Summary: MinGW Windows Libglade2 library - -License: LGPLv2+ -Group: Development/Libraries -URL: http://www.gnome.org -Source0: http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2 -# http://bugzilla.gnome.org/show_bug.cgi?id=121025 -Patch1: libglade-2.0.1-nowarning.patch -# http://bugzilla.gnome.org/show_bug.cgi?id=510736 -Patch2: libglade-secondary.patch -# As of pango 1.29.5 the gmodule library isn't pulled in automatically anymore -Patch3: libglade-link-against-gmodule.patch - -BuildArch: noarch - -BuildRequires: mingw32-filesystem >= 68 -BuildRequires: mingw32-gcc -BuildRequires: mingw32-binutils -BuildRequires: mingw32-gtk2 -BuildRequires: mingw32-fontconfig -BuildRequires: mingw32-pango -BuildRequires: mingw32-gettext -BuildRequires: mingw32-libxml2 - -# Native one for msgfmt -BuildRequires: gettext - -# Needed for patch3 -BuildRequires: gtk2-devel -BuildRequires: autoconf automake libtool - -Requires: pkgconfig - -%description -MinGW Windows Libglade2 library. - -%package static -Summary: Static MinGW Windows Libglade2 library -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description static -Static MinGW Windows Libglade2 library. - - -%{?_mingw32_debug_package} - - -%prep -%setup -q -n libglade-%{version} -%patch1 -p1 -b .nowarning -%patch2 -p1 -b .secondary -%patch3 -p0 -b .gmodule - -autoreconf --install --force - -%build -%{_mingw32_configure} --disable-gtk-doc -make %{?_smp_mflags} - - -%install -make DESTDIR=$RPM_BUILD_ROOT install -rm -rf $RPM_BUILD_ROOT/%{_mingw32_datadir}/gtk-doc/html/libglade - -# Drop all .la files -find $RPM_BUILD_ROOT -name "*.la" -delete - - -%files -%doc COPYING -%{_mingw32_bindir}/libglade-2.0-0.dll -%{_mingw32_bindir}/libglade-convert -%{_mingw32_includedir}/libglade-2.0 -%{_mingw32_libdir}/libglade-2.0.dll.a -%{_mingw32_libdir}/pkgconfig/libglade-2.0.pc - -%dir %{_mingw32_datadir}/xml/libglade -%{_mingw32_datadir}/xml/libglade/glade-2.0.dtd - -%files static -%{_mingw32_libdir}/libglade-2.0.a - - -%changelog -* Tue Feb 28 2012 Erik van Pienbroek - 2.6.4-11 -- Rebuild against the mingw-w64 toolchain - -* Tue Jan 31 2012 Erik van Pienbroek - 2.6.4-10 -- Rebuild against libpng 1.5 -- Fix compilation against pango 1.29.5 -- Dropped unneeded RPM tags -- Dropped the dependency extraction overrides as that's done automatically as of RPM 4.9 -- Dropped .la files - -* Fri Jan 13 2012 Fedora Release Engineering - 2.6.4-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Jul 7 2011 Erik van Pienbroek - 2.6.4-8 -- Rebuild against win-iconv - -* Thu Apr 28 2011 Kalev Lember - 2.6.4-7 -- Dropped the gettext soft dependency patch - -* Tue Feb 08 2011 Fedora Release Engineering - 2.6.4-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Dec 6 2010 Erik van Pienbroek - 2.6.4-5 -- Rebuild in order to have a soft dependency on mingw32-gettext -- Fixed FTBFS -- Use correct %%defattr tag -- Fixed a small rpmlint warning - -* Sat Jul 25 2009 Fedora Release Engineering - 2.6.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Mon Jun 22 2009 Thomas Sailer - 2.6.4-3 -- add debuginfo packages - -* Thu Apr 16 2009 Thomas Sailer - 2.6.4-2 -- fix static Requires - -* Thu Apr 16 2009 Thomas Sailer - 2.6.4-1 -- replace %%define with %%global -- update to 2.6.4 -- move static library to its own subpackage -- add secondary patch from native libglade2 package - -* Fri Feb 20 2009 Richard W.M. Jones - 2.6.3-5 -- Rebuild for mingw32-gcc 4.4 - -* Fri Feb 6 2009 Richard W.M. Jones - 2.6.3-4 -- Include license file. - -* Fri Jan 23 2009 Richard W.M. Jones - 2.6.3-3 -- Use _smp_mflags. -- +BR mingw32-libxml2. - -* Tue Jan 13 2009 Richard W.M. Jones - 2.6.3-2 -- Requires pkgconfig. - -* Fri Nov 28 2008 Daniel P. Berrange - 2.6.3-1 -- Initial build