]> git.pld-linux.org Git - packages/epsilon-compressor.git/blame - epsilon-compressor.spec
- unconditional noarch subpackages
[packages/epsilon-compressor.git] / epsilon-compressor.spec
CommitLineData
7c9d78a2
JB
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.
5# TODO: MPI support
6#
7# Conditional build:
8%bcond_without apidocs # do not build and package API docs
ac802a76 9
7c9d78a2
JB
10Summary: EPSILON - powerful Open Source wavelet compressor
11Summary(pl.UTF-8): EPSILON - potężny kompresor falkowy o otwartych źródłach
12Name: epsilon-compressor
13Version: 0.9.2
a23f44a1 14Release: 3
7c9d78a2
JB
15License: LGPL v3+
16Group: Libraries
17Source0: http://downloads.sourceforge.net/epsilon-project/epsilon-%{version}.tar.gz
18# Source0-md5: 56d7f1a41e05be20441728d9e20d22ef
19Source1: http://downloads.sourceforge.net/epsilon-project/refman-%{version}.tar.gz
20# Source1-md5: 953a9e86cfb7435db24ebe5c0c6b1837
21Patch0: epsilon-link.patch
22URL: http://sourceforge.net/projects/epsilon-project/
23BuildRequires: autoconf
24BuildRequires: automake >= 1.4
25BuildRequires: libtool
26BuildRequires: popt-devel
27Conflicts: epsilon
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31EPSILON is a powerful OpenSource wavelet image compressor.
32Wavelet-driven compressors are know to be much more effective than
33traditional DCT-based ones (like JPEG). At the moment, the program
34supports 30+ different wavelet filters, runs in parallel in
35multi-threaded and MPI environments, can process HUGE images and much
36more!
37
38%description -l pl.UTF-8
39EPSILON to potężny kompresor falkowy dla obrazów, mający otwarte
40źródła. Kompresory falkowe są zwykle o wiele bardziej efektywne od
41tradycyjnych, opartych na dyskretnej transformacie cosinusowej (DCT),
42takich jak JPEG. Obecnie program obsługuje ponad 30 różnych filtrów
43falkowych, działa równolegle w środowisku wielowątkowym oraz MPI i
44potrafi przetwarzać OGROMNE obrazy.
45
46%package devel
47Summary: Header files for EPSILON library
48Summary(pl.UTF-8): Pliki nagłówkowe biblioteki EPSILON
49Group: Development/Libraries
50Requires: %{name} = %{version}-%{release}
51Conflicts: epsilon-devel
52
53%description devel
54Header files for EPSILON library.
55
56%description devel -l pl.UTF-8
57Pliki nagłówkowe biblioteki EPSILON.
58
59%package static
60Summary: Static EPSILON library
61Summary(pl.UTF-8): Statyczna biblioteka EPSILON
62Group: Development/Libraries
63Requires: %{name}-devel = %{version}-%{release}
64Conflicts: epsilon-static
65
66%description static
67Static EPSILON library.
68
69%description static -l pl.UTF-8
70Statyczna biblioteka EPSILON.
71
72%package apidocs
73Summary: EPSILON API documentation
74Summary(pl.UTF-8): Dokumentacja API biblioteki EPSILON
75Group: Documentation
ac802a76 76BuildArch: noarch
7c9d78a2
JB
77
78%description apidocs
79API and internal documentation for EPSILON library.
80
81%description apidocs -l pl.UTF-8
82Dokumentacja API biblioteki EPSILON.
83
84%prep
85%setup -q -n epsilon-%{version} -a1
86%patch0 -p1
87
88%build
89%{__libtoolize}
90%{__aclocal}
91%{__autoconf}
92%{__autoheader}
93%{__automake}
94%configure \
95 --enable-pthreads
96
97%{__make}
98
99%install
100rm -rf $RPM_BUILD_ROOT
101
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
108%post -p /sbin/ldconfig
109%postun -p /sbin/ldconfig
110
111%files
112%defattr(644,root,root,755)
113%doc AUTHORS CONTRIBUTORS ChangeLog NEWS README README.cluster README.mpich TODO
114%attr(755,root,root) %{_bindir}/epsilon
115%attr(755,root,root) %{_bindir}/start_epsilon_nodes.pl
116%attr(755,root,root) %{_bindir}/stop_epsilon_nodes.pl
117%attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
118%attr(755,root,root) %ghost %{_libdir}/libepsilon.so.1
119%{_mandir}/man1/epsilon.1*
120
121%files devel
122%defattr(644,root,root,755)
123%attr(755,root,root) %{_libdir}/libepsilon.so
124%{_libdir}/libepsilon.la
125%{_includedir}/epsilon.h
126
127%files static
128%defattr(644,root,root,755)
129%{_libdir}/libepsilon.a
130
131%files apidocs
132%defattr(644,root,root,755)
133%doc html/*
This page took 0.092609 seconds and 4 git commands to generate.