]> git.pld-linux.org Git - packages/epsilon-compressor.git/blob - epsilon-compressor.spec
- unconditional noarch subpackages
[packages/epsilon-compressor.git] / epsilon-compressor.spec
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
9
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
13 Version:        0.9.2
14 Release:        3
15 License:        LGPL v3+
16 Group:          Libraries
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
27 Conflicts:      epsilon
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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
36 more!
37
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.
45
46 %package devel
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
52
53 %description devel
54 Header files for EPSILON library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki EPSILON.
58
59 %package static
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
65
66 %description static
67 Static EPSILON library.
68
69 %description static -l pl.UTF-8
70 Statyczna biblioteka EPSILON.
71
72 %package apidocs
73 Summary:        EPSILON API documentation
74 Summary(pl.UTF-8):      Dokumentacja API biblioteki EPSILON
75 Group:          Documentation
76 %if "%{_rpmversion}" >= "5"
77 BuildArch:      noarch
78 %endif
79
80 %description apidocs
81 API and internal documentation for EPSILON library.
82
83 %description apidocs -l pl.UTF-8
84 Dokumentacja API biblioteki EPSILON.
85
86 %prep
87 %setup -q -n epsilon-%{version} -a1
88 %patch0 -p1
89
90 %build
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure \
97         --enable-pthreads
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files
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*
122
123 %files devel
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libepsilon.so
126 %{_libdir}/libepsilon.la
127 %{_includedir}/epsilon.h
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libepsilon.a
132
133 %files apidocs
134 %defattr(644,root,root,755)
135 %doc html/*
This page took 0.085224 seconds and 3 git commands to generate.