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