2012-06-03 13:22:35 +00:00
|
|
|
%{?mingw_package_header}
|
2009-03-10 22:45:32 +00:00
|
|
|
|
2012-03-06 18:31:16 +00:00
|
|
|
Name: mingw-expat
|
2017-10-15 08:13:55 +00:00
|
|
|
Version: 2.2.4
|
2019-07-25 16:40:39 +00:00
|
|
|
Release: 5%{?dist}
|
2009-03-10 22:45:32 +00:00
|
|
|
Summary: MinGW Windows port of expat XML parser library
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.libexpat.org/
|
2016-10-24 17:03:36 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/expat/expat-%{version}.tar.bz2
|
2009-03-10 22:45:32 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2012-03-10 20:27:07 +00:00
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
2009-03-10 22:45:32 +00:00
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
BuildRequires: mingw32-binutils
|
2012-03-10 20:27:07 +00:00
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
BuildRequires: mingw64-binutils
|
|
|
|
|
2009-03-10 22:45:32 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is expat, the C library for parsing XML, written by James Clark. Expat
|
|
|
|
is a stream oriented XML parser. This means that you register handlers with
|
|
|
|
the parser prior to starting the parse. These handlers are called when the
|
|
|
|
parser discovers the associated structures in the document being parsed. A
|
|
|
|
start tag is an example of the kind of structures for which you may
|
|
|
|
register handlers.
|
|
|
|
|
2012-03-10 20:27:07 +00:00
|
|
|
# Win32
|
2012-03-06 18:31:16 +00:00
|
|
|
%package -n mingw32-expat
|
|
|
|
Summary: MinGW Windows port of expat XML parser library
|
|
|
|
|
|
|
|
%description -n mingw32-expat
|
|
|
|
This is expat, the C library for parsing XML, written by James Clark. Expat
|
|
|
|
is a stream oriented XML parser. This means that you register handlers with
|
|
|
|
the parser prior to starting the parse. These handlers are called when the
|
|
|
|
parser discovers the associated structures in the document being parsed. A
|
|
|
|
start tag is an example of the kind of structures for which you may
|
|
|
|
register handlers.
|
|
|
|
|
2012-07-21 14:39:57 +00:00
|
|
|
%package -n mingw32-expat-static
|
|
|
|
Summary: Static version of the MinGW Windows expat XML parser library
|
|
|
|
Requires: mingw32-expat = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mingw32-expat-static
|
|
|
|
Static version of the MinGW Windows expat XML parser library.
|
|
|
|
|
2012-03-10 20:27:07 +00:00
|
|
|
# Win64
|
|
|
|
%package -n mingw64-expat
|
|
|
|
Summary: MinGW Windows port of expat XML parser library
|
2012-03-06 18:31:16 +00:00
|
|
|
|
2012-03-10 20:27:07 +00:00
|
|
|
%description -n mingw64-expat
|
|
|
|
This is expat, the C library for parsing XML, written by James Clark. Expat
|
|
|
|
is a stream oriented XML parser. This means that you register handlers with
|
|
|
|
the parser prior to starting the parse. These handlers are called when the
|
|
|
|
parser discovers the associated structures in the document being parsed. A
|
|
|
|
start tag is an example of the kind of structures for which you may
|
|
|
|
register handlers.
|
|
|
|
|
2012-07-21 14:39:57 +00:00
|
|
|
%package -n mingw64-expat-static
|
|
|
|
Summary: Static version of the MinGW Windows expat XML parser library
|
|
|
|
Requires: mingw64-expat = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mingw64-expat-static
|
|
|
|
Static version of the MinGW Windows expat XML parser library.
|
|
|
|
|
2012-03-10 20:27:07 +00:00
|
|
|
|
|
|
|
%?mingw_debug_package
|
2012-03-06 20:21:05 +00:00
|
|
|
|
|
|
|
|
2009-03-10 22:45:32 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n expat-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2012-03-10 20:27:07 +00:00
|
|
|
%mingw_configure
|
|
|
|
%mingw_make %{?_smp_mflags}
|
2009-03-10 22:45:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2012-03-10 20:27:07 +00:00
|
|
|
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
|
2009-03-10 22:45:32 +00:00
|
|
|
|
2012-03-09 15:50:25 +00:00
|
|
|
# Remove .la files
|
2012-03-10 20:27:07 +00:00
|
|
|
find $RPM_BUILD_ROOT -name "*.la" -delete
|
2012-03-09 15:50:25 +00:00
|
|
|
|
2009-03-10 22:45:32 +00:00
|
|
|
# Remove documentation which duplicates that found in the native package.
|
2017-10-15 08:13:55 +00:00
|
|
|
rm -r $RPM_BUILD_ROOT%{mingw32_docdir}
|
2012-03-06 18:32:15 +00:00
|
|
|
rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man1
|
2017-10-15 08:13:55 +00:00
|
|
|
rm -r $RPM_BUILD_ROOT%{mingw64_docdir}
|
2012-03-10 20:27:07 +00:00
|
|
|
rm -r $RPM_BUILD_ROOT%{mingw64_mandir}/man1
|
2009-03-10 22:45:32 +00:00
|
|
|
|
2012-07-21 14:39:57 +00:00
|
|
|
# Win32
|
2012-03-06 18:31:16 +00:00
|
|
|
%files -n mingw32-expat
|
2016-10-24 17:05:15 +00:00
|
|
|
%license COPYING
|
2012-03-06 18:32:15 +00:00
|
|
|
%{mingw32_bindir}/libexpat-1.dll
|
2017-10-15 08:13:55 +00:00
|
|
|
%{mingw32_bindir}/xmlwf.exe
|
2012-03-06 18:32:15 +00:00
|
|
|
%{mingw32_libdir}/libexpat.dll.a
|
2012-06-03 13:22:35 +00:00
|
|
|
%{mingw32_libdir}/pkgconfig/expat.pc
|
2012-03-06 18:32:15 +00:00
|
|
|
%{mingw32_includedir}/expat.h
|
2016-10-24 17:03:36 +00:00
|
|
|
%{mingw32_includedir}/expat_config.h
|
2012-03-06 18:32:15 +00:00
|
|
|
%{mingw32_includedir}/expat_external.h
|
2009-03-10 22:45:32 +00:00
|
|
|
|
2012-07-21 14:39:57 +00:00
|
|
|
%files -n mingw32-expat-static
|
|
|
|
%{mingw32_libdir}/libexpat.a
|
|
|
|
|
|
|
|
# Win64
|
2012-03-10 20:27:07 +00:00
|
|
|
%files -n mingw64-expat
|
2016-10-24 17:05:15 +00:00
|
|
|
%license COPYING
|
2012-03-10 20:27:07 +00:00
|
|
|
%{mingw64_bindir}/libexpat-1.dll
|
2017-10-15 08:13:55 +00:00
|
|
|
%{mingw64_bindir}/xmlwf.exe
|
2012-03-10 20:27:07 +00:00
|
|
|
%{mingw64_libdir}/libexpat.dll.a
|
2012-06-03 13:22:35 +00:00
|
|
|
%{mingw64_libdir}/pkgconfig/expat.pc
|
2012-03-10 20:27:07 +00:00
|
|
|
%{mingw64_includedir}/expat.h
|
2016-10-24 17:03:36 +00:00
|
|
|
%{mingw64_includedir}/expat_config.h
|
2012-03-10 20:27:07 +00:00
|
|
|
%{mingw64_includedir}/expat_external.h
|
|
|
|
|
2012-07-21 14:39:57 +00:00
|
|
|
%files -n mingw64-expat-static
|
|
|
|
%{mingw64_libdir}/libexpat.a
|
|
|
|
|
2009-03-10 22:45:32 +00:00
|
|
|
|
|
|
|
%changelog
|
2019-07-25 16:40:39 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 10:27:44 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 10:20:06 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 02:02:49 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-15 08:13:55 +00:00
|
|
|
* Sun Oct 15 2017 Kalev Lember <klember@redhat.com> - 2.2.4-1
|
|
|
|
- Update to 2.2.4
|
|
|
|
|
2017-07-26 21:31:58 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 21:03:12 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-10-24 17:03:36 +00:00
|
|
|
* Mon Oct 24 2016 Kalev Lember <klember@redhat.com> - 2.2.0-1
|
|
|
|
- Update to 2.2.0
|
2016-10-24 17:04:13 +00:00
|
|
|
- Don't set group tags
|
2016-10-24 17:05:15 +00:00
|
|
|
- Use license macro for COPYING
|
2016-10-24 17:03:36 +00:00
|
|
|
|
2016-02-04 08:06:44 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 20:15:06 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 09:33:32 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 10:32:44 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 06:59:28 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 14:39:57 +00:00
|
|
|
* Sat Jul 21 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.1.0-3
|
|
|
|
- Added static subpackages
|
|
|
|
|
2012-07-20 01:14:12 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-03 13:22:35 +00:00
|
|
|
* Sun Jun 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.1.0-1
|
|
|
|
- Update to 2.1.0
|
|
|
|
- Dropped the autoconf/libtool regeneration pieces
|
|
|
|
|
2012-03-10 20:27:07 +00:00
|
|
|
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.0.1-12
|
|
|
|
- Added win64 support
|
|
|
|
- Dropped unneeded RPM tags
|
|
|
|
|
2012-03-09 15:50:25 +00:00
|
|
|
* Fri Mar 09 2012 Kalev Lember <kalevlember@gmail.com> - 2.0.1-11
|
|
|
|
- Remove .la files
|
|
|
|
|
2012-03-06 18:31:16 +00:00
|
|
|
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.0.1-10
|
|
|
|
- Renamed the source package to mingw-expat (RHBZ #800377)
|
2012-03-06 18:32:15 +00:00
|
|
|
- Use mingw macros without leading underscore
|
2012-03-06 20:21:05 +00:00
|
|
|
- Use the RPM magic to automatically generate provides/requires tags
|
|
|
|
- Automatically generate a debuginfo subpackage
|
2012-03-06 18:31:16 +00:00
|
|
|
|
2012-02-27 19:33:51 +00:00
|
|
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.0.1-9
|
|
|
|
- Rebuild against the mingw-w64 toolchain
|
|
|
|
|
2012-01-13 09:57:57 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 18:26:46 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-01-13 15:18:41 +00:00
|
|
|
* Wed Jan 13 2010 Richard W.M. Jones <rjones@redhat.com> - 2.0.1-6
|
|
|
|
- Fix Source0 URL.
|
|
|
|
|
2009-07-25 12:16:17 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-10 22:45:32 +00:00
|
|
|
* Mon Mar 9 2009 Richard W.M. Jones <rjones@redhat.com> - 2.0.1-4
|
|
|
|
- Remove +x permissions on COPYING file.
|
|
|
|
|
|
|
|
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.0.1-3
|
|
|
|
- Rebuild for mingw32-gcc 4.4
|
|
|
|
|
|
|
|
* Fri Feb 6 2009 Richard W.M. Jones <rjones@redhat.com> - 2.0.1-2
|
|
|
|
- Include license.
|
|
|
|
|
|
|
|
* Fri Oct 31 2008 Richard W.M. Jones <rjones@redhat.com> - 2.0.1-1
|
|
|
|
- Initial RPM release.
|