Added static subpackages
This commit is contained in:
parent
6367ecef13
commit
6851367366
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: mingw-expat
|
Name: mingw-expat
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: MinGW Windows port of expat XML parser library
|
Summary: MinGW Windows port of expat XML parser library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -41,6 +41,14 @@ 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
|
start tag is an example of the kind of structures for which you may
|
||||||
register handlers.
|
register handlers.
|
||||||
|
|
||||||
|
%package -n mingw32-expat-static
|
||||||
|
Summary: Static version of the MinGW Windows expat XML parser library
|
||||||
|
Requires: mingw32-expat = %{version}-%{release}
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description -n mingw32-expat-static
|
||||||
|
Static version of the MinGW Windows expat XML parser library.
|
||||||
|
|
||||||
# Win64
|
# Win64
|
||||||
%package -n mingw64-expat
|
%package -n mingw64-expat
|
||||||
Summary: MinGW Windows port of expat XML parser library
|
Summary: MinGW Windows port of expat XML parser library
|
||||||
@ -53,6 +61,14 @@ 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
|
start tag is an example of the kind of structures for which you may
|
||||||
register handlers.
|
register handlers.
|
||||||
|
|
||||||
|
%package -n mingw64-expat-static
|
||||||
|
Summary: Static version of the MinGW Windows expat XML parser library
|
||||||
|
Requires: mingw64-expat = %{version}-%{release}
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description -n mingw64-expat-static
|
||||||
|
Static version of the MinGW Windows expat XML parser library.
|
||||||
|
|
||||||
|
|
||||||
%?mingw_debug_package
|
%?mingw_debug_package
|
||||||
|
|
||||||
@ -69,10 +85,6 @@ register handlers.
|
|||||||
%install
|
%install
|
||||||
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
|
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
# Remove static libraries
|
|
||||||
rm $RPM_BUILD_ROOT%{mingw32_libdir}/libexpat.a
|
|
||||||
rm $RPM_BUILD_ROOT%{mingw64_libdir}/libexpat.a
|
|
||||||
|
|
||||||
# Remove .la files
|
# Remove .la files
|
||||||
find $RPM_BUILD_ROOT -name "*.la" -delete
|
find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||||
|
|
||||||
@ -81,6 +93,7 @@ rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man1
|
|||||||
rm -r $RPM_BUILD_ROOT%{mingw64_mandir}/man1
|
rm -r $RPM_BUILD_ROOT%{mingw64_mandir}/man1
|
||||||
|
|
||||||
|
|
||||||
|
# Win32
|
||||||
%files -n mingw32-expat
|
%files -n mingw32-expat
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{mingw32_bindir}/libexpat-1.dll
|
%{mingw32_bindir}/libexpat-1.dll
|
||||||
@ -90,6 +103,10 @@ rm -r $RPM_BUILD_ROOT%{mingw64_mandir}/man1
|
|||||||
%{mingw32_includedir}/expat.h
|
%{mingw32_includedir}/expat.h
|
||||||
%{mingw32_includedir}/expat_external.h
|
%{mingw32_includedir}/expat_external.h
|
||||||
|
|
||||||
|
%files -n mingw32-expat-static
|
||||||
|
%{mingw32_libdir}/libexpat.a
|
||||||
|
|
||||||
|
# Win64
|
||||||
%files -n mingw64-expat
|
%files -n mingw64-expat
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{mingw64_bindir}/libexpat-1.dll
|
%{mingw64_bindir}/libexpat-1.dll
|
||||||
@ -99,8 +116,14 @@ rm -r $RPM_BUILD_ROOT%{mingw64_mandir}/man1
|
|||||||
%{mingw64_includedir}/expat.h
|
%{mingw64_includedir}/expat.h
|
||||||
%{mingw64_includedir}/expat_external.h
|
%{mingw64_includedir}/expat_external.h
|
||||||
|
|
||||||
|
%files -n mingw64-expat-static
|
||||||
|
%{mingw64_libdir}/libexpat.a
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 21 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.1.0-3
|
||||||
|
- Added static subpackages
|
||||||
|
|
||||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user