]> git.pld-linux.org Git - packages/libmspack.git/commitdiff
- added deps patch (fix inter-library dependencies); release 2 auto/th/libmspack-0.7.1alpha-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 12 Oct 2018 17:48:12 +0000 (19:48 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 12 Oct 2018 17:48:12 +0000 (19:48 +0200)
libmspack-deps.patch [new file with mode: 0644]
libmspack.spec

diff --git a/libmspack-deps.patch b/libmspack-deps.patch
new file mode 100644 (file)
index 0000000..7c027e4
--- /dev/null
@@ -0,0 +1,57 @@
+--- libmspack-0.7.1alpha/Makefile.am.orig      2018-08-09 10:29:14.000000000 +0200
++++ libmspack-0.7.1alpha/Makefile.am   2018-10-12 19:31:46.296437020 +0200
+@@ -60,39 +60,39 @@
+                       mspack/readbits.h mspack/readhuff.h
+ libmschmd_la_LDFLAGS =        -export-symbols-regex '^mspack_'
+-examples_cabd_memory_SOURCES =        examples/cabd_memory.c libmscabd.la
++examples_cabd_memory_SOURCES =        examples/cabd_memory.c
+ examples_cabd_memory_LDADD =  libmscabd.la
+-examples_multifh_SOURCES =    examples/multifh.c libmscabd.la
++examples_multifh_SOURCES =    examples/multifh.c
+ examples_multifh_LDADD =      libmscabd.la
+-src_cabrip_SOURCES =          src/cabrip.c libmspack.la
++src_cabrip_SOURCES =          src/cabrip.c
+ src_cabrip_LDADD =            libmspack.la
+-src_chmextract_SOURCES =      src/chmextract.c src/error.h libmspack.la
++src_chmextract_SOURCES =      src/chmextract.c src/error.h
+ src_chmextract_LDADD =                libmspack.la
+-src_msexpand_SOURCES =                src/msexpand.c src/error.h libmspack.la
++src_msexpand_SOURCES =                src/msexpand.c src/error.h
+ src_msexpand_LDADD =          libmspack.la
+-src_oabextract_SOURCES =      src/oabextract.c src/error.h libmspack.la
++src_oabextract_SOURCES =      src/oabextract.c src/error.h
+ src_oabextract_LDADD =                libmspack.la
+ test_cabd_md5_SOURCES =               test/cabd_md5.c test/md5.c test/md5.h \
+-                              test/md5_fh.h test/error.h libmscabd.la
++                              test/md5_fh.h test/error.h
+ test_cabd_md5_LDADD =         libmscabd.la
+-test_cabd_test_SOURCES=               test/cabd_test.c libmscabd.la
++test_cabd_test_SOURCES=               test/cabd_test.c
+ test_cabd_test_LDADD =                libmscabd.la
+-test_chmd_find_SOURCES =      test/chmd_find.c test/error.h libmschmd.la
++test_chmd_find_SOURCES =      test/chmd_find.c test/error.h
+ test_chmd_find_LDADD =                libmschmd.la
+ test_chmd_md5_SOURCES =               test/chmd_md5.c test/md5.c test/md5.h \
+-                              test/md5_fh.h test/error.h libmschmd.la
++                              test/md5_fh.h test/error.h
+ test_chmd_md5_LDADD =         libmschmd.la
+ test_chmd_order_SOURCES =     test/chmd_order.c test/md5.c test/md5.h \
+-                              test/md5_fh.h test/error.h libmschmd.la
++                              test/md5_fh.h test/error.h
+ test_chmd_order_LDADD =               libmschmd.la
+-test_chmd_test_SOURCES =      test/chmd_test.c libmschmd.la
++test_chmd_test_SOURCES =      test/chmd_test.c
+ test_chmd_test_LDADD =                libmschmd.la
+-test_chmd_test_DEPENDENCIES =         test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm
+-test_chminfo_SOURCES =                test/chminfo.c libmschmd.la
++test_chmd_test_DEPENDENCIES =         libmschmd.la test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm
++test_chminfo_SOURCES =                test/chminfo.c
+ test_chminfo_LDADD =          libmschmd.la
+-test_kwajd_test_SOURCES =     test/kwajd_test.c libmspack.la
++test_kwajd_test_SOURCES =     test/kwajd_test.c
+ test_kwajd_test_LDADD =       libmspack.la
+ test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm: test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm.LZXC-is-lzxc
index b7462d0bee64a34e1552611adc17a505ea26880c..62a7c9692f5d984c418c604aaacaa76a6f2d2e93 100644 (file)
@@ -6,13 +6,17 @@ Summary:      A library for Microsoft compression formats
 Summary(pl.UTF-8):     Biblioteka do formatów kompresji używanych przez Microsoft
 Name:          libmspack
 Version:       0.7.1alpha
-Release:       1
+Release:       2
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       https://www.cabextract.org.uk/libmspack/%{name}-%{version}.tar.gz
 # Source0-md5: 4fd625c993fb0dd548d02415dd09b6c0
+Patch0:                %{name}-deps.patch
 URL:           https://www.cabextract.org.uk/libmspack/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake
 BuildRequires: gcc >= 5:3.0
+BuildRequires: libtool >= 2:2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %undefine      __cxx
@@ -69,9 +73,16 @@ Microsoftu.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
This page took 0.105598 seconds and 4 git commands to generate.