]> git.pld-linux.org Git - packages/szip.git/blame - szip.spec
- tabs in preamble
[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
JB
7Name: szip
8Version: 2.0
3a5b4689 9Release: 2
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
16Source0: ftp://ftp.ncsa.uiuc.edu/HDF/szip/2.0/src/%{name}-%{version}.tar
17# Source0-md5: 60f5247d9948fda493042fc42c5ca655
18Patch0: %{name}-opt.patch
3a5b4689 19Patch1: %{name}-link.patch
7890b3fe 20URL: http://hdf.ncsa.uiuc.edu/HDF5/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
3a5b4689 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)
99%doc COPYING RELEASE.txt
100%attr(755,root,root) %{_libdir}/libsz.so.*.*.*
101
102%files devel
103%defattr(644,root,root,755)
104%attr(755,root,root) %{_libdir}/libsz.so
105%{_libdir}/libsz.la
106%{_includedir}/*.h
107
108%files static
109%defattr(644,root,root,755)
110%{_libdir}/libsz.a
This page took 0.039776 seconds and 4 git commands to generate.