Jan Engelhardt 2012-06-02 23:05:56 +00:00 committed by Git OBS Bridge
parent 0baddaa76f
commit dbf83b3949
5 changed files with 23 additions and 60 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afb3199bc62e4eef7be59ed7f38eb253a658dce5800a17790e5b9030afcf218d
size 1201232

3
lhasa-0.0.7.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9eeee29893175dc7f028908e7ff29f0354e34bd29cae8c3a5ce38d6c6fec537
size 2034680

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Jun 2 23:05:27 UTC 2012 - jengelh@inai.de
- Update to new upstream release 0.0.7
* This release adds support for extraction of Unix symbolic links
and parsing of Unix-level 0 extended header areas. A decompressor
has been added for the "old" PMarc compression algorithm (-pm1-).
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 13 01:24:32 UTC 2012 - jengelh@inai.de Sun May 13 01:24:32 UTC 2012 - jengelh@inai.de

View File

@ -14,9 +14,11 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: lhasa Name: lhasa
%define lname liblhasa0 %define lname liblhasa0
Version: 0.0.5 Version: 0.0.7
Release: 0 Release: 0
Summary: Program to unpack LHARC archives Summary: Program to unpack LHARC archives
License: ISC License: ISC
@ -24,11 +26,12 @@ Group: Productivity/Archiving/Compression
Url: http://fragglet.github.com/lhasa/ Url: http://fragglet.github.com/lhasa/
#Freecode-URL: http://freecode.com/projects/lhasa #Freecode-URL: http://freecode.com/projects/lhasa
#DL-URL: https://github.com/downloads/fragglet/lhasa/lhasa-0.0.5.tar.gz #DL-URL: https://github.com/downloads/fragglet/lhasa/lhasa-0.0.7.tar.gz
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
Patch1: liblhasa-pkgconfig.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool pkgconfig xz BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: xz
%description %description
Lhasa is a replacement for the Unix LHA tool, for decompressing Lhasa is a replacement for the Unix LHA tool, for decompressing
@ -56,7 +59,6 @@ in %lname.
%prep %prep
%setup -q %setup -q
%patch -P 1 -p1
%build %build
autoreconf -fi; autoreconf -fi;

View File

@ -1,47 +0,0 @@
---
Makefile.am | 3 ++-
configure.ac | 1 +
liblhasa.pc.in | 10 ++++++++++
3 files changed, 13 insertions(+), 1 deletion(-)
Index: lhasa-0.0.5/Makefile.am
===================================================================
--- lhasa-0.0.5.orig/Makefile.am
+++ lhasa-0.0.5/Makefile.am
@@ -4,7 +4,8 @@ AUX_DIST_GEN = $(ac_aux_dir)
EXTRA_DIST = $(AUX_DIST_GEN) gencov rpm.spec
MAINTAINERCLEANFILES = $(AUX_DIST_GEN)
-$(pkgconfig_DATA) : config.status
+pkgconfigdir = ${libdir}/pkgconfig
+pkgconfig_DATA = liblhasa.pc
SUBDIRS=doc lib src test
Index: lhasa-0.0.5/configure.ac
===================================================================
--- lhasa-0.0.5.orig/configure.ac
+++ lhasa-0.0.5/configure.ac
@@ -74,6 +74,7 @@ AC_SUBST(ac_aux_dir)
AM_CONFIG_HEADER(config.h:config.hin)
AC_OUTPUT([
+ liblhasa.pc
rpm.spec
Makefile
doc/Makefile
Index: lhasa-0.0.5/liblhasa.pc.in
===================================================================
--- /dev/null
+++ lhasa-0.0.5/liblhasa.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: liblhasa
+Description: LHA (de)compression library
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -llhasa
+Cflags: -I${includedir}/liblhasa-1.0