[521] | 1 | Summary: LZMA utils |
---|
| 2 | Summary(ja): LZMA ユーティリティ |
---|
| 3 | Name: lzma |
---|
| 4 | Version: 4.32.7 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2+ |
---|
| 7 | Group: Applications/Archiving |
---|
| 8 | Source0: http://tukaani.org/%{name}/%{name}-%{version}.tar.gz |
---|
| 9 | URL: http://tukaani.org/%{name}/ |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | LZMA provides very high compression ratio and fast decompression. The |
---|
| 15 | core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual |
---|
| 16 | LZMA encoder/decoder. LZMA utils add a few scripts which provide |
---|
| 17 | gzip-like command line interface and a couple of other LZMA related |
---|
| 18 | tools. |
---|
| 19 | |
---|
| 20 | %package libs |
---|
| 21 | Summary: Libraries for decoding LZMA compression |
---|
| 22 | Group: System Environment/Libraries |
---|
| 23 | License: LGPLv2+ |
---|
| 24 | |
---|
| 25 | %description libs |
---|
| 26 | Libraries for decoding LZMA compression. |
---|
| 27 | |
---|
| 28 | %package devel |
---|
| 29 | Summary: Devel libraries & headers for liblzmadec |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | License: LGPLv2+ |
---|
| 32 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | Devel libraries & headers for liblzmadec. |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q -n %{name}-%{version} |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \ |
---|
| 42 | CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \ |
---|
| 43 | %configure --disable-static |
---|
| 44 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 45 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 46 | |
---|
| 47 | make %{?_smp_mflags} |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" |
---|
| 52 | rm -f %{buildroot}/%{_libdir}/*.a |
---|
| 53 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf %{buildroot} |
---|
| 57 | |
---|
| 58 | %post libs -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | %postun libs -p /sbin/ldconfig |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %defattr(-,root,root,-) |
---|
| 64 | %doc README THANKS COPYING.* ChangeLog AUTHORS |
---|
| 65 | %{_bindir}/* |
---|
| 66 | %{_mandir}/man1/* |
---|
| 67 | |
---|
| 68 | %files libs |
---|
| 69 | %defattr(-,root,root,-) |
---|
| 70 | %doc COPYING.* |
---|
| 71 | %{_libdir}/lib*.so.* |
---|
| 72 | |
---|
| 73 | %files devel |
---|
| 74 | %defattr(-,root,root,-) |
---|
| 75 | %{_includedir}/*.h |
---|
| 76 | %{_libdir}/*.so |
---|
| 77 | |
---|
| 78 | %changelog |
---|
| 79 | * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.32.7-1 |
---|
| 80 | - new upstream release |
---|
| 81 | - spec in UTF-8 |
---|
| 82 | - changed Group to Applications/Archiving |
---|
| 83 | |
---|
| 84 | * Wed Apr 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.32.5-1 |
---|
| 85 | - initial build for Vine Linux |
---|
| 86 | |
---|
| 87 | * Sat Feb 09 2008 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.5-1 |
---|
| 88 | - Switch to version 4.32.5 |
---|
| 89 | |
---|
| 90 | * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-2 |
---|
| 91 | - Forgot to upload new sources, bumping... |
---|
| 92 | |
---|
| 93 | * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-1 |
---|
| 94 | - 'make tag' problems, bumping... |
---|
| 95 | |
---|
| 96 | * Sat Oct 27 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.2-0 |
---|
| 97 | - Switch to version 4.32.2 |
---|
| 98 | |
---|
| 99 | * Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.6.beta5 |
---|
| 100 | - More clean-up in spec and use beta5 release |
---|
| 101 | |
---|
| 102 | * Tue Aug 7 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.5.beta3 |
---|
| 103 | - More clean-up in spec |
---|
| 104 | |
---|
| 105 | * Thu Jul 25 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.4.beta3 |
---|
| 106 | - Add COPYING, remove *.a and *.la file, make description shorter |
---|
| 107 | |
---|
| 108 | * Thu Jul 19 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.3.beta3 |
---|
| 109 | - Add dist and _smp_mflags |
---|
| 110 | |
---|
| 111 | * Tue Jul 17 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.2.beta3 |
---|
| 112 | - Clean-up in spec. |
---|
| 113 | |
---|
| 114 | * Sun Jul 15 2007 Per Patrice Bouchand <patrice.bouchand.fedora<at>gmail.com> 4.32.0-0.1.beta3 |
---|
| 115 | - Initial Fedora release (inspired by mandriva spec) |
---|
| 116 | |
---|