Add lzfP.h file to package rhbz#1075911.

epel9
Steve Traylen 11 years ago
parent 56d7112d12
commit 53da654eea

@ -1,6 +1,6 @@
diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
--- liblzf-3.6.ORIG/bootstrap.sh 1970-01-01 01:00:00.000000000 +0100
+++ liblzf-3.6/bootstrap.sh 2011-02-14 20:56:08.264827668 +0100
--- liblzf-3.6.ORIG/bootstrap.sh 1970-01-01 00:00:00.000000000 +0000
+++ liblzf-3.6/bootstrap.sh 2014-03-13 08:10:49.132000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -x
@ -13,8 +13,8 @@ diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
+#automake-1.10 --add-missing --copy
+autoconf
diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
--- liblzf-3.6.ORIG/config.h.in 2011-02-14 20:55:53.661036535 +0100
+++ liblzf-3.6/config.h.in 2011-02-14 20:56:08.273828155 +0100
--- liblzf-3.6.ORIG/config.h.in 2014-03-13 08:10:30.234000000 +0000
+++ liblzf-3.6/config.h.in 2014-03-13 08:10:49.133000000 +0000
@@ -1,16 +1,89 @@
-/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
+/* config.h.in. Generated from configure.ac by autoheader. */
@ -116,8 +116,8 @@ diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
+#undef inline
+#endif
diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
--- liblzf-3.6.ORIG/configure.ac 2011-02-14 20:55:53.664036698 +0100
+++ liblzf-3.6/configure.ac 2011-02-14 20:56:08.274828210 +0100
--- liblzf-3.6.ORIG/configure.ac 2014-03-13 08:10:30.233000000 +0000
+++ liblzf-3.6/configure.ac 2014-03-13 08:10:49.133000000 +0000
@@ -1,9 +1,65 @@
-AC_INIT
-AC_CONFIG_SRCDIR([lzfP.h])
@ -204,8 +204,8 @@ diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
-AC_OUTPUT
+AC_OUTPUT(Makefile liblzf.pc)
diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
--- liblzf-3.6.ORIG/liblzf.pc.in 1970-01-01 01:00:00.000000000 +0100
+++ liblzf-3.6/liblzf.pc.in 2011-02-14 20:56:19.891457520 +0100
--- liblzf-3.6.ORIG/liblzf.pc.in 1970-01-01 00:00:00.000000000 +0000
+++ liblzf-3.6/liblzf.pc.in 2014-03-13 08:10:49.134000000 +0000
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
@ -219,14 +219,14 @@ diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
+Libs: -L${libdir} -llzf
+Cflags: -I${includedir}
diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
--- liblzf-3.6.ORIG/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ liblzf-3.6/Makefile.am 2011-02-14 20:56:08.276828319 +0100
--- liblzf-3.6.ORIG/Makefile.am 1970-01-01 00:00:00.000000000 +0000
+++ liblzf-3.6/Makefile.am 2014-03-13 08:12:06.195000000 +0000
@@ -0,0 +1,74 @@
+$(PROGRAMS): $(LDEPS)
+
+
+
+h_sources = lzf.h
+h_sources = lzf.h lzfP.h
+c_sources = lzf_c.c \
+ lzf_d.c \
+ crc32.h \
@ -296,3 +296,14 @@ diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = liblzf.pc
+
diff -uNr liblzf-3.6.ORIG/Makefile.in liblzf-3.6/Makefile.in
--- liblzf-3.6.ORIG/Makefile.in 2014-03-13 08:10:30.233000000 +0000
+++ liblzf-3.6/Makefile.in 2014-03-13 08:13:08.090000000 +0000
@@ -41,6 +41,7 @@
$(INSTALL) -m 755 lzf $(bindir)
$(INSTALL) -d $(includedir)
$(INSTALL_DATA) lzf.h $(includedir)
+ $(INSTALL_DATA) lzfP.h $(includedir)
$(INSTALL) -d $(libdir)
$(INSTALL_DATA) liblzf.a $(libdir)

@ -1,6 +1,6 @@
Name: liblzf
Version: 3.6
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Small data compression library
Group: System Environment/Libraries
@ -9,7 +9,7 @@ URL: http://oldhome.schmorp.de/marc/liblzf.html
Source0: http://dist.schmorp.de/liblzf/liblzf-%{version}.tar.gz
# Adds autoconf and in particular support for building shared libraries.
# 7th Feb 2011 - Mail sent upstream to author. Awaiting conclusion.
Patch0: liblzf-%{version}-autoconf.patch
Patch0: liblzf-%{version}-autoconf-20140314.patch
BuildRequires: autoconf
BuildRequires: automake
@ -73,10 +73,14 @@ rm -f %{buildroot}%{_libdir}/liblzf.la
%files devel
%defattr(-,root,root,-)
%{_includedir}/lzf.h
%{_includedir}/lzfP.h
%{_libdir}/liblzf.so
%{_libdir}/pkgconfig/liblzf.pc
%changelog
* Thu Mar 13 2014 Steve Traylen <steve.traylen@cern.ch> - 3.6-7
- Add lzfP.h file to package rhbz#1075911.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Loading…
Cancel
Save