source: projects/specs/trunk/l/lzma/lzma-vl.spec @ 521

Revision 521, 3.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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