1 # NOTE: package name is epsilon, but:
2 # - it's somehow common name
3 # - it was already occupied by (obsolete now) epsilon library from Enlightenment project
4 # so let's use more specific package name.
8 %bcond_without apidocs # do not build and package API docs
10 Summary: EPSILON - powerful Open Source wavelet compressor
11 Summary(pl.UTF-8): EPSILON - potężny kompresor falkowy o otwartych źródłach
12 Name: epsilon-compressor
17 Source0: http://downloads.sourceforge.net/epsilon-project/epsilon-%{version}.tar.gz
18 # Source0-md5: 56d7f1a41e05be20441728d9e20d22ef
19 Source1: http://downloads.sourceforge.net/epsilon-project/refman-%{version}.tar.gz
20 # Source1-md5: 953a9e86cfb7435db24ebe5c0c6b1837
21 Patch0: epsilon-link.patch
22 URL: http://sourceforge.net/projects/epsilon-project/
23 BuildRequires: autoconf
24 BuildRequires: automake >= 1.4
25 BuildRequires: libtool
26 BuildRequires: popt-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 EPSILON is a powerful OpenSource wavelet image compressor.
32 Wavelet-driven compressors are know to be much more effective than
33 traditional DCT-based ones (like JPEG). At the moment, the program
34 supports 30+ different wavelet filters, runs in parallel in
35 multi-threaded and MPI environments, can process HUGE images and much
38 %description -l pl.UTF-8
39 EPSILON to potężny kompresor falkowy dla obrazów, mający otwarte
40 źródła. Kompresory falkowe są zwykle o wiele bardziej efektywne od
41 tradycyjnych, opartych na dyskretnej transformacie cosinusowej (DCT),
42 takich jak JPEG. Obecnie program obsługuje ponad 30 różnych filtrów
43 falkowych, działa równolegle w środowisku wielowątkowym oraz MPI i
44 potrafi przetwarzać OGROMNE obrazy.
47 Summary: Header files for EPSILON library
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki EPSILON
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
51 Conflicts: epsilon-devel
54 Header files for EPSILON library.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki EPSILON.
60 Summary: Static EPSILON library
61 Summary(pl.UTF-8): Statyczna biblioteka EPSILON
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
64 Conflicts: epsilon-static
67 Static EPSILON library.
69 %description static -l pl.UTF-8
70 Statyczna biblioteka EPSILON.
73 Summary: EPSILON API documentation
74 Summary(pl.UTF-8): Dokumentacja API biblioteki EPSILON
76 %if "%{_rpmversion}" >= "5"
81 API and internal documentation for EPSILON library.
83 %description apidocs -l pl.UTF-8
84 Dokumentacja API biblioteki EPSILON.
87 %setup -q -n epsilon-%{version} -a1
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
108 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
114 %defattr(644,root,root,755)
115 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README README.cluster README.mpich TODO
116 %attr(755,root,root) %{_bindir}/epsilon
117 %attr(755,root,root) %{_bindir}/start_epsilon_nodes.pl
118 %attr(755,root,root) %{_bindir}/stop_epsilon_nodes.pl
119 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libepsilon.so.1
121 %{_mandir}/man1/epsilon.1*
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libepsilon.so
126 %{_libdir}/libepsilon.la
127 %{_includedir}/epsilon.h
130 %defattr(644,root,root,755)
131 %{_libdir}/libepsilon.a
134 %defattr(644,root,root,755)