]> git.pld-linux.org Git - packages/epsilon.git/blob - epsilon.spec
- rel 4; fix build
[packages/epsilon.git] / epsilon.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Enlightened Thumbnail Generator
6 Summary(pl):    O¶wiecony generator miniaturek obrazów
7 Name:           epsilon
8 Version:        0.3.0.007
9 Release:        4
10 License:        BSD
11 Group:          X11/Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  408d3c63f9efa06e93e29a691c28985e
14 Patch0:         %{name}-proto.patch
15 URL:            http://enlightenment.org/Libraries/Epsilon/
16 BuildRequires:  edje-devel
17 BuildRequires:  epeg-devel
18 Requires:       %{name}-libs = %{version}-%{release}
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %undefine       __cxx
22
23 %description
24 Epsilon is a small, display independent, and quick thumbnailing
25 library. The lib itself conforms to the standard put forth by
26 freedesktop.org . You can find out more information about it at
27 http://triq.net/~jens/thumbnail-spec/index.html .
28
29 Epeg offers very noticeable speed increases to this standard, but it
30 is only available if the input image is a JPEG file. If the file is
31 anything other than jpg, the traditional freedesktop.org thumbnailing
32 will occur. To show the speed increase epeg offers, Epsilon can be
33 built with and without epeg.
34
35 %description -l pl
36 Epsilon to ma³a, niezale¿na od ekranu i szybka biblioteka do
37 generowania miniaturek obrazów. Sama biblioteka jest zgodna ze
38 standardem opracowanym przez freedesktop.org . Wiêcej informacji
39 mo¿na znale¼æ pod adresem
40 http://triq.net/~jens/thumbnail-spec/index.html .
41
42 Epeg oferuje bardzo zauwa¿alne przyspieszenie w stosunku do tego
43 standardu, ale jest ono dostêpne tylko je¶li obrazek jest plikiem
44 JPEG. Je¶li plik jest innego typu, zostanie u¿yte tradycyjne
45 zachowanie freedesktop.org . Aby pokazaæ przyspieszenie oferowane
46 przez epeg, Epsilon mo¿e byæ zbudowany z lub bez epeg.
47
48 %package libs
49 Summary:        Epsilon library
50 Summary(pl):    Biblioteka Epsilon
51 Group:          X11/Libraries
52
53 %description libs
54 Epsilon library.
55
56 %description libs -l pl
57 Biblioteka Epsilon.
58
59 %package devel
60 Summary:        Epsilon header file
61 Summary(pl):    Plik nag³ówkowy Epsilon
62 Group:          Development/Libraries
63 Requires:       %{name}-libs = %{version}-%{release}
64 Requires:       epeg-devel
65
66 %description devel
67 Epsilon thumbnailer development header.
68
69 %description devel -l pl
70 Plik nag³ówkowy biblioteki Epsilon generuj±cej miniaturki obrazów.
71
72 %package static
73 Summary:        Static Epsilon library
74 Summary(pl):    Statyczna biblioteka Epsilon
75 Group:          Development/Libraries
76 Requires:       %{name}-devel = %{version}-%{release}
77
78 %description static
79 Static Epsilon library.
80
81 %description static -l pl
82 Statyczna biblioteka Epsilon.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87
88 %build
89 %configure \
90         %{!?with_static_libs:--disable-static}
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post libs      -p /sbin/ldconfig
103 %postun libs    -p /sbin/ldconfig
104
105 %files
106 %defattr(644,root,root,755)
107 %doc AUTHORS COPYING README
108 %attr(755,root,root) %{_bindir}/epsilon*
109
110 %files libs
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/epsilon-config
117 %attr(755,root,root) %{_libdir}/libepsilon.so
118 %{_libdir}/libepsilon.la
119 %{_includedir}/Epsilon*.h
120 %{_pkgconfigdir}/%{name}.pc
121
122 %if %{with static_libs}
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libepsilon.a
126 %endif
This page took 0.319307 seconds and 3 git commands to generate.