From ad728c8b1b1a32e122db05aacc1812146425d2f5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 16:11:57 +0000 Subject: import libmspack-0.5-0.4.alpha.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52c1979 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libmspack-0.5alpha.tar.gz diff --git a/.libmspack.metadata b/.libmspack.metadata new file mode 100644 index 0000000..24d926b --- /dev/null +++ b/.libmspack.metadata @@ -0,0 +1 @@ +226f19b1fc58e820671a1749983b06896e108cc4 SOURCES/libmspack-0.5alpha.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/libmspack-0.4alpha-doc.patch b/SOURCES/libmspack-0.4alpha-doc.patch new file mode 100644 index 0000000..78396ec --- /dev/null +++ b/SOURCES/libmspack-0.4alpha-doc.patch @@ -0,0 +1,12 @@ +diff -up libmspack-0.4alpha/doc/Doxyfile.in.orig libmspack-0.4alpha/doc/Doxyfile.in +--- libmspack-0.4alpha/doc/Doxyfile.in.orig 2013-05-28 12:25:42.000000000 +0200 ++++ libmspack-0.4alpha/doc/Doxyfile.in 2013-05-28 17:30:57.000000000 +0200 +@@ -10,7 +10,7 @@ SHOW_USED_FILES = YES + INPUT = @top_srcdir@/mspack/mspack.h + FULL_PATH_NAMES = NO + GENERATE_HTML = YES +-HTML_OUTPUT = . ++HTML_OUTPUT = html + HTML_FILE_EXTENSION = .html + HTML_TIMESTAMP = NO + GENERATE_HTMLHELP = NO diff --git a/SPECS/libmspack.spec b/SPECS/libmspack.spec new file mode 100644 index 0000000..a0d0328 --- /dev/null +++ b/SPECS/libmspack.spec @@ -0,0 +1,147 @@ +Name: libmspack +Version: 0.5 +Release: 0.4.alpha%{?dist} +Summary: Library for CAB and related files compression and decompression + +Group: System Environment/Libraries +License: LGPLv2 +URL: http://www.cabextract.org.uk/libmspack/ +Source0: http://www.cabextract.org.uk/libmspack/%{name}-%{version}alpha.tar.gz +Patch0: %{name}-0.4alpha-doc.patch +BuildRequires: doxygen + +# Since this is only required for open-vm-tools: +ExclusiveArch: x86_64 + + +%description +The purpose of libmspack is to provide both compression and decompression of +some loosely related file formats used by Microsoft. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Obsoletes: %{name}-doc < 0.2 + +%description devel +The %{name}-devel package contains libraries, header files and documentation +for developing applications that use %{name}. + + +%prep +%setup -q -n %{name}-%{version}alpha +%patch0 -p1 + +chmod a-x mspack/mspack.h + + +%build +CFLAGS="%{optflags} -fno-strict-aliasing" \ +%configure --disable-static --disable-silent-rules +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +rm $RPM_BUILD_ROOT%{_libdir}/libmspack.la + +iconv -f ISO_8859-1 -t utf8 ChangeLog --output Changelog.utf8 +touch -r ChangeLog Changelog.utf8 +mv Changelog.utf8 ChangeLog + +pushd doc +doxygen +find html -type f | xargs touch -r %{SOURCE0} +rm -f html/installdox +popd + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc README TODO COPYING.LIB ChangeLog AUTHORS +%{_libdir}/*.so.* + +%files devel +%doc doc/html +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Thu Jul 30 2015 Richard W.M. Jones - 0.5-0.4.alpha +- Avoid 'test/md5.c:126:3: warning: dereferencing type-punned pointer + will break strict-aliasing rules' by adding -fno-strict-aliasing flag. + +* Wed Jul 29 2015 Richard W.M. Jones - 0.5-0.3.alpha +- Import into RHEL 7.2. +- Add ExcludeArch x86_64 +- resolves: rhbz#1223486 + +* Wed Jun 17 2015 Fedora Release Engineering - 0.5-0.2.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Mar 03 2015 Dan Horák - 0.5-0.1.alpha +- updated to 0.5alpha + +* Sun Aug 17 2014 Fedora Release Engineering - 0.4-0.4.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.4-0.3.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.4-0.2.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 28 2013 Dan Horák - 0.4-0.1.alpha +- updated to 0.4alpha + +* Thu Feb 14 2013 Fedora Release Engineering - 0.3-0.4.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.3-0.3.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.3-0.2.alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon May 16 2011 Dan Horák - 0.3-0.1.alpha +- updated to 0.3alpha + +* Tue Feb 08 2011 Fedora Release Engineering - 0.2-0.2.20100723alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Aug 30 2010 Dan Horák - 0.2-0.1.20100723alpha +- updated to 0.2alpha released 2010/07/23 +- merged the doc subpackage with devel + +* Fri Jul 24 2009 Fedora Release Engineering - 0.0-0.7.20060920alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.0-0.6.20060920alpha +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 13 2008 Marc Wiriadisastra - 0.0-0.5-20060920alpha +- Rebuild for gcc4.3 + +* Sun Jan 20 2008 Marc Wiriadisastra - 0.0-0.4.20060920alpha +- installed documentation into html subdir +- manually installed doc's for main package + +* Sun Jan 20 2008 Marc Wiriadisastra - 0.0-0.3.20060920alpha +- Got source using wget -N +- Removed some doc's +- Shifted doc line for doc package +- Added install -p + +* Sun Jan 20 2008 Marc Wiriadisastra - 0.0-0.2.20060920alpha +- Changed install script for doc package +- Fixed rpmlint issue with debug package + +* Fri Jan 18 2008 Marc Wiriadisastra - 20060920cvs.a-1 +- Initial release