source: projects/specs/trunk/x/xz/xz-vl.spec @ 12213

Revision 12213, 5.9 KB checked in by tomop, 5 years ago (diff)

updated 2 packages

dracut-049-2

xz-5.2.4-1

Line 
1Summary:        LZMA compression utilities
2Summary(ja):    LZMA 圧縮ユーティリティ
3Name:           xz
4Version:        5.2.4
5Release:        1%{?_dist_release}
6License:        LGPLv2+
7Group:          Applications/Archiving
8URL:            https://tukaani.org/xz/
9Source0:        https://tukaani.org/xz/%{name}-%{version}.tar.xz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11Requires:       %{name}-libs = %{version}-%{release}
12
13Vendor:         Project Vine
14Distribution:   Vine Linux
15
16%description
17XZ Utils are an attempt to make LZMA compression easy to use on free (as in
18freedom) operating systems. This is achieved by providing tools and libraries
19which are similar to use than the equivalents of the most popular existing
20compression algorithms.
21
22LZMA is a general purpose compression algorithm designed by Igor Pavlov as
23part of 7-Zip. It provides high compression ratio while keeping the
24decompression speed fast.
25
26%package        libs
27Summary:        Libraries for decoding LZMA compression
28Summary(ja):    LZMA圧縮をデコードするためのライブラリ
29Group:          System Environment/Libraries
30License:        LGPLv2+
31
32%description    libs
33Libraries for decoding files compressed with LZMA or XZ utils.
34
35%package        devel
36Summary:        Devel libraries & headers for liblzma
37Summary(ja):    liblzma の開発ライブラリとヘッダファイル
38Group:          Development/Libraries
39License:        LGPLv2+
40Requires:       %{name}-libs = %{version}-%{release}
41Requires:       pkgconfig
42
43%description  devel
44Devel libraries and headers for liblzma.
45
46%package        lzma-compat
47Summary:        Older LZMA format compatibility binaries
48Summary(ja):    旧式のLZMAフォーマット互換バイナリ
49Group:          Applications/Archiving
50# lz{grep,diff,more} are GPLv2+. Other binaries are LGPLv2+
51License:        GPLv2+ and LGPLv2+
52Requires:       %{name} = %{version}-%{release}
53Obsoletes:      lzma < 5
54Provides:       lzma = 5
55
56%description  lzma-compat
57The lzma-compat package contains compatibility links for older
58commands that deal with the older LZMA format.
59
60%prep
61%setup -q
62
63%build
64CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
65CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
66%configure --enable-silent-rules --disable-static
67sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
68sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
69
70make %{?_smp_mflags}
71
72%install
73rm -rf %{buildroot}
74make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
75rm -f %{buildroot}/%{_libdir}/*.a
76rm -f %{buildroot}/%{_libdir}/*.la
77rm -rf %{buildroot}/%{_docdir}/%{name}
78
79%find_lang %{name}
80
81%check
82LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
83
84%clean
85rm -rf %{buildroot}
86
87%post libs -p /sbin/ldconfig
88
89%postun libs -p /sbin/ldconfig
90
91%files
92%defattr(-,root,root,-)
93%license COPYING.*
94%doc AUTHORS README THANKS ChangeLog
95%{_bindir}/*xz*
96%{_mandir}/man1/*xz*
97
98%files libs -f %{name}.lang
99%defattr(-,root,root,-)
100%license COPYING.*
101%{_libdir}/lib*.so.*
102
103%files devel
104%defattr(-,root,root,-)
105%dir %{_includedir}/lzma
106%{_includedir}/lzma/*.h
107%{_includedir}/lzma.h
108%{_libdir}/*.so
109%{_libdir}/pkgconfig/liblzma.pc
110
111%files lzma-compat
112%defattr(-,root,root,-)
113%{_bindir}/*lz*
114%{_mandir}/man1/*lz*
115
116%changelog
117* Fri Sep 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.4-1
118- new upstream release.
119
120* Thu Nov 10 2016 Toshiaki Ara <ara_t@384.jp> 5.2.2-1
121- new upstream release
122
123* Fri Oct  3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.0.5-3
124- moved lzma-compat to Applications/Archiving Group
125
126* Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-2
127- rebuild with VineSeed environment
128
129* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-1
130- new upstream release
131
132* Fri Oct 19 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.0.4-1
133- new upstream release
134
135* Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.0.2-1
136- new upstream release
137- fix Group: <BTS:VineLinux:1119>
138- add Vendor and Distribution tags
139
140* Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0.0-1
141- new upstream release
142
143* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2
144- rebuild with rpm-4.8.1 for pkg-config file
145
146* Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp>  4.999.9-1
147- initial build for Vine Linux
148
149* Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta
150- move xz man pages to main package, leave lzma ones where they belong (#566484)
151
152* Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta
153- sync with upstream again
154
155* Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta
156- sync with upstream to generate the same archives on machines with different
157  endianess
158
159* Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta
160- update to 4.999.9beta
161
162* Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git
163- sync with upstream because of #517806
164
165* Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git
166- update to the latest GIT snapshot
167
168* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta
169- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
170
171* Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta
172- tweak summary
173- add %%check section (<tibbs@math.uh.edu>)
174 
175* Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta
176- fix release versioning to match guidelines
177- fix up lzma-compat summary/description
178- tweak licensing
179
180* Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5
181- introduce lzma-compat subpackage
182
183* Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4
184- try to not to conflict with lzma
185
186* Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3
187- obsolete but don't provide lzma, they are largely incompatible
188- put beta to Release
189
190* Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2
191- obsolete old lzma
192- add Requires: pkgconfig
193
194* Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1
195- package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand
Note: See TracBrowser for help on using the repository browser.