source: projects/specs/branches/6/l/lzma/lzma-vl.spec @ 3488

Revision 3488, 3.6 KB checked in by inagaki, 13 years ago (diff)

update: libaio, lzma

Line 
1Summary:        LZMA utils
2Summary(ja):    LZMA ユーティリティ
3Name:           lzma
4Version:        4.32.7
5Release:        2%{?_dist_release}
6
7License:        GPLv2+
8Group:          Applications/Archiving
9URL:            http://tukaani.org/%{name}/
10
11Source0:        http://tukaani.org/%{name}/%{name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14Requires:       %{name}-libs = %{version}-%{release}
15
16%description
17LZMA provides very high compression ratio and fast decompression. The
18core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual
19LZMA encoder/decoder. LZMA utils add a few scripts which provide
20gzip-like command line interface and a couple of other LZMA related
21tools.
22
23%package        libs
24Summary:        Libraries for decoding LZMA compression
25Summary(ja):    LZMA圧縮をデコードするためのライブラリ
26Group:          System Environment/Libraries
27License:        LGPLv2+
28
29%description    libs
30Libraries for decoding LZMA compression.
31
32%package        devel
33Summary:        Devel libraries & headers for liblzmadec
34Summary(ja):    liblzmadec の開発ライブラリとヘッダファイル
35Group:          Development/Libraries
36License:        LGPLv2+
37Requires:       %{name}-libs    = %{version}-%{release}
38
39%description  devel
40Devel libraries & headers for liblzmadec.
41
42%prep
43%setup -q  -n %{name}-%{version}
44
45%build
46CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
47CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
48%configure --disable-static
49sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
50sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
51
52make %{?_smp_mflags}
53
54%install
55rm -rf %{buildroot}
56make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
57rm -f %{buildroot}/%{_libdir}/*.a
58rm -f %{buildroot}/%{_libdir}/*.la
59
60%clean
61rm -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
84* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.32.7-2
85- rebuilt with current VineSeed
86
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
Note: See TracBrowser for help on using the repository browser.