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