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

Revision 12428, 6.1 KB checked in by tomop, 4 years ago (diff)

updated 5 packages

cmake-3.18.0-1

jsoncpp-1.9.3-1

libarchive-3.4.3-1

libzip-1.7.3-1

xz-5.2.5-1

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