rpms/lzma/F-7 lzma.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrice Bouchand (patriceb) fedora-extras-commits at redhat.com
Thu Aug 9 07:03:55 UTC 2007


Author: patriceb

Update of /cvs/pkgs/rpms/lzma/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22662/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	lzma.spec 
Log Message:
Import in F-7




--- NEW FILE lzma.spec ---
%define src_version	4.32.0beta5

Summary: 	LZMA utils
Name: 		lzma
Version: 	4.32.0
Release: 	0.6.beta5%{?dist}
License: 	GPLv2+
Group:		Applications/File
Source0:	http://tukaani.org/%{name}/%{name}-%{src_version}.tar.gz
URL:		http://tukaani.org/%{name}/
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	%{name}-libs	= %{version}-%{release}

%description
LZMA provides very high compression ratio and fast decompression. The
core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual
LZMA encoder/decoder. LZMA utils add a few scripts which provide
gzip-like command line interface and a couple of other LZMA related
tools. 

%package 	libs
Summary:	Libraries for decoding LZMA compression
Group:		System Environment/Libraries
License:	LGPLv2+

%description 	libs
Libraries for decoding LZMA compression.

%package 	devel
Summary:	Devel libraries & headers for liblzmadec
Group:		Development/Libraries
License:	LGPLv2+
Requires:	%{name}-libs	= %{version}-%{release}

%description  devel
Devel libraries & headers for liblzmadec.

%prep
%setup -q  -n %{name}-%{src_version}

%build
CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
rm -f %{buildroot}/%{_libdir}/*.a
rm -f %{buildroot}/%{_libdir}/*.la

%clean
rm -rf %{buildroot}

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README THANKS COPYING ChangeLog AUTHORS
%{_bindir}/*
%{_mandir}/man1/*

%files libs
%defattr(-,root,root,-)
%doc COPYING.LIB
%{_libdir}/lib*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
%{_libdir}/*.so

%changelog

* Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora at gmail.com> 4.32.0-0.6.beta5
- More clean-up in spec and use beta5 release

* Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora at gmail.com> 4.32.0-0.5.beta3
- More clean-up in spec

* Thu Jul 25 2007 Per Patrice Bouchand <patrice.bouchand.fedora at gmail.com> 4.32.0-0.4.beta3
- Add COPYING, remove *.a and *.la file, make description shorter

* Thu Jul 19 2007 Per Patrice Bouchand <patrice.bouchand.fedora at gmail.com> 4.32.0-0.3.beta3
- Add dist and _smp_mflags

* Tue Jul 17 2007 Per Patrice Bouchand <patrice.bouchand.fedora at gmail.com> 4.32.0-0.2.beta3
- Clean-up in spec.

* Sun Jul 15 2007 Per Patrice Bouchand <patrice.bouchand.fedora at gmail.com> 4.32.0-0.1.beta3
- Initial Fedora release (inspired by mandriva spec)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lzma/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Aug 2007 21:09:22 -0000	1.1
+++ .cvsignore	9 Aug 2007 07:03:22 -0000	1.2
@@ -0,0 +1 @@
+lzma-4.32.0beta5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lzma/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Aug 2007 21:09:22 -0000	1.1
+++ sources	9 Aug 2007 07:03:22 -0000	1.2
@@ -0,0 +1 @@
+4fae1e07b2f00252e5422041464cc87a  lzma-4.32.0beta5.tar.gz




More information about the fedora-extras-commits mailing list