]> git.pld-linux.org Git - packages/epsilon-compressor.git/blob - epsilon-compressor.spec
0d13543d1273e894dfcd7a19723fabf9466467aa
[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:        1
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
77 %description apidocs
78 API and internal documentation for EPSILON library.
79
80 %description apidocs -l pl.UTF-8
81 Dokumentacja API biblioteki EPSILON.
82
83 %prep
84 %setup -q -n epsilon-%{version} -a1
85 %patch0 -p1
86
87 %build
88 %{__libtoolize}
89 %{__aclocal}
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 %configure \
94         --enable-pthreads
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README README.cluster README.mpich TODO
113 %attr(755,root,root) %{_bindir}/epsilon
114 %attr(755,root,root) %{_bindir}/start_epsilon_nodes.pl
115 %attr(755,root,root) %{_bindir}/stop_epsilon_nodes.pl
116 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/libepsilon.so.1
118 %{_mandir}/man1/epsilon.1*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libepsilon.so
123 %{_libdir}/libepsilon.la
124 %{_includedir}/epsilon.h
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/libepsilon.a
129
130 %files apidocs
131 %defattr(644,root,root,755)
132 %doc html/*
This page took 0.071019 seconds and 2 git commands to generate.