diff --git a/mingw32-libxml2.spec b/mingw-libxml2.spec similarity index 93% rename from mingw32-libxml2.spec rename to mingw-libxml2.spec index 6f1fc35..b5f1816 100644 --- a/mingw32-libxml2.spec +++ b/mingw-libxml2.spec @@ -5,9 +5,9 @@ %global __find_provides %{_mingw32_findprovides} %define __debug_install_post %{_mingw32_debug_install_post} -Name: mingw32-libxml2 +Name: mingw-libxml2 Version: 2.7.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: MinGW Windows libxml2 XML processing library License: MIT @@ -37,19 +37,25 @@ BuildRequires: mingw32-gettext BuildRequires: mingw32-win-iconv BuildRequires: mingw32-zlib -Requires: pkgconfig - %description MinGW Windows libxml2 XML processing library. -%package static +%package -n mingw32-libxml2 +Summary: MinGW Windows libxml2 XML processing library +Requires: pkgconfig + +%description -n mingw32-libxml2 +MinGW Windows libxml2 XML processing library. + + +%package -n mingw32-libxml2-static Summary: Static version of the MinGW Windows XML processing library -Requires: %{name} = %{version}-%{release} +Requires: mingw32-libxml2 = %{version}-%{release} Group: Development/Libraries -%description static +%description -n mingw32-libxml2-static Static version of the MinGW Windows XML processing library. @@ -109,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc/ rm -rf $RPM_BUILD_ROOT -%files +%files -n mingw32-libxml2 %defattr(-,root,root,-) %{_mingw32_bindir}/libxml2-2.dll %{_mingw32_bindir}/xml2-config @@ -123,12 +129,15 @@ rm -rf $RPM_BUILD_ROOT %{_mingw32_datadir}/aclocal/* -%files static +%files -n mingw32-libxml2-static %defattr(-,root,root,-) %{_mingw32_libdir}/libxml2.a %changelog +* Tue Mar 06 2012 Kalev Lember - 2.7.8-5 +- Renamed the source package to mingw-libxml2 (#800440) + * Mon Feb 27 2012 Erik van Pienbroek - 2.7.8-4 - Rebuild against the mingw-w64 toolchain