]> git.pld-linux.org Git - packages/szip.git/blame - szip.spec
use df, downloading by wget causes gzipping second time
[packages/szip.git] / szip.spec
CommitLineData
7890b3fe
JB
1#
2# Conditional build:
6101a856 3%bcond_without encoder # build with encoder (using may require license)
7890b3fe
JB
4#
5Summary: SZIP - Science Data Lossless Compression library
ab28acb5 6Summary(pl.UTF-8): SZIP - biblioteka bezstratnej kompresji danych naukowych
7890b3fe 7Name: szip
4762f429
JB
8Version: 2.1.1
9Release: 1
7890b3fe 10%if %{with encoder}
6101a856 11License: free for use in HDF software (decoder), free for non-commercial, scientific use only in HDF software (encoder)
7890b3fe
JB
12%else
13License: free for use in HDF software
14%endif
15Group: Libraries
1bac4b9c 16Source0: %{name}-%{version}.tar.gz
4762f429 17# Source0-md5: 5addbf2a5b1bf928b92c47286e921f72
7890b3fe 18Patch0: %{name}-opt.patch
4762f429 19URL: https://support.hdfgroup.org/doc_resource/SZIP/
3a5b4689 20BuildRequires: autoconf >= 2.54
21BuildRequires: automake >= 1:1.7
22BuildRequires: libtool >= 1:1.4.2-9
7890b3fe
JB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26SZIP is an implementation of the extended-Rice lossless compression
27algorithm. The Consultative Committee on Space Data Systems (CCSDS)
28has adopted the extended-Rice algorithm for international standards
29for space applications. SZIP is reported to provide fast and effective
30compression, specifically for the EOS data generated by the NASA Earth
31Observatory System (EOS). It was originally developed at University of
32New Mexico (UNM) and integrated with HDF4 by UNM researchers and
33developers.
34
efb324b0 35%description -l pl.UTF-8
7890b3fe
JB
36SZIP to implementacja rozszerzonego algorytmu kompresji bezstratnej
37Rice'a. CCSDS (Consultative Committee on Space Data Systems)
efb324b0
JR
38zaadoptowało rozszerzony algorytm Rice'a na potrzeby międzynarodowych
39standardów aplikacji przestrzennych. SZIP daje szybką i efektywną
40kompresję, szczególnie dla danych EOS generowanych przez NASA Earth
41Observatory System (EOS). Pierwotnie biblioteka została stworzona w
42University of New Mexico (UNM) i zintegrowana z HDF4 przez naukowców i
43programistów UNM.
7890b3fe
JB
44
45%package devel
46Summary: Header files for SZIP library
ab28acb5 47Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SZIP
7890b3fe
JB
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description devel
52Header files for SZIP library.
53
efb324b0
JR
54%description devel -l pl.UTF-8
55Pliki nagłówkowe biblioteki SZIP.
7890b3fe
JB
56
57%package static
58Summary: Static SZIP library
ab28acb5 59Summary(pl.UTF-8): Statyczna biblioteka SZIP
7890b3fe
JB
60Group: Development/Libraries
61Requires: %{name}-devel = %{version}-%{release}
62
63%description static
64Static SZIP library.
65
efb324b0 66%description static -l pl.UTF-8
7890b3fe
JB
67Statyczna biblioteka SZIP.
68
69%prep
70%setup -q
71%patch0 -p1
72
73%build
3a5b4689 74%{__libtoolize}
75%{__aclocal}
76%{__autoheader}
77%{__autoconf}
78%{__automake}
7890b3fe
JB
79%configure \
80 %{!?with_encoder:--disable-encoding}
81%{__make}
82
83%install
84rm -rf $RPM_BUILD_ROOT
85
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(644,root,root,755)
6101a856 97%doc COPYING HISTORY.txt RELEASE.txt
8d340d74 98%attr(755,root,root) %{_libdir}/libsz.so.2.*.*
99%attr(755,root,root) %ghost %{_libdir}/libsz.so.2
7890b3fe
JB
100
101%files devel
102%defattr(644,root,root,755)
103%attr(755,root,root) %{_libdir}/libsz.so
104%{_libdir}/libsz.la
6101a856
JB
105%{_includedir}/ricehdf.h
106%{_includedir}/szip_adpt.h
107%{_includedir}/szlib.h
7890b3fe
JB
108
109%files static
110%defattr(644,root,root,755)
111%{_libdir}/libsz.a
This page took 0.067697 seconds and 4 git commands to generate.