]> git.pld-linux.org Git - packages/szip.git/blame - szip.spec
- updated to 2.1
[packages/szip.git] / szip.spec
CommitLineData
7890b3fe
JB
1#
2# Conditional build:
3%bcond_with encoder # build with encoder (may require license)
4#
5Summary: SZIP - Science Data Lossless Compression library
ab28acb5 6Summary(pl.UTF-8): SZIP - biblioteka bezstratnej kompresji danych naukowych
7890b3fe 7Name: szip
45fde329
KK
8Version: 2.1
9Release: 1
7890b3fe
JB
10%if %{with encoder}
11License: free for non-commercial, scientific use only in HDF software
12%else
13License: free for use in HDF software
14%endif
15Group: Libraries
45fde329
KK
16Source0: ftp://ftp.hdfgroup.org/lib-external/szip/%{version}/%{name}-%{version}.tar.gz
17# Source0-md5: 9cc9125a58b905a4148e4e2fda3fabc6
7890b3fe
JB
18Patch0: %{name}-opt.patch
19URL: http://hdf.ncsa.uiuc.edu/HDF5/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)
97%doc COPYING RELEASE.txt
98%attr(755,root,root) %{_libdir}/libsz.so.*.*.*
99
100%files devel
101%defattr(644,root,root,755)
102%attr(755,root,root) %{_libdir}/libsz.so
103%{_libdir}/libsz.la
104%{_includedir}/*.h
105
106%files static
107%defattr(644,root,root,755)
108%{_libdir}/libsz.a
This page took 0.109083 seconds and 4 git commands to generate.