]> git.pld-linux.org Git - packages/epeg.git/blob - epeg.spec
- rel 4
[packages/epeg.git] / epeg.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 %define         _snap   20080813
6 Summary:        JPEG Scaling Library
7 Summary(pl.UTF-8):      Biblioteka do skalowania JPEG-ów
8 Name:           epeg
9 Version:        0.9.1.043
10 Release:        0.%{_snap}.3
11 License:        BSD
12 Group:          Libraries
13 Source0:        %{name}-%{version}-%{_snap}.tar.bz2
14 # Source0-md5:  a7331984bef4543a6ed1b385ccd7cc0d
15 URL:            http://enlightenment.org/Libraries/Epeg/
16 BuildRequires:  autoconf >= 2.52
17 BuildRequires:  automake >= 1.6
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libtool
20 Requires:       %{name}-libs = %{version}-%{release}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Epeg is a library which provides facilities for scaling JPEG images
25 very quickly.
26
27 Note: this library is obsolete; new software uses Evas to scale JPEG
28 images.
29
30 %description -l pl.UTF-8
31 Epeg to biblioteka ułatwiająca bardzo szybkie skalowanie obrazów JPEG.
32
33 Uwaga: ta biblioteka jest przestarzała; nowy kod do skalowania obrazów
34 JPEG wykorzystuje bibliotekę Evas.
35
36 %package libs
37 Summary:        Epeg library
38 Summary(pl.UTF-8):      Biblioteka epeg
39 Group:          Libraries
40
41 %description libs
42 Epeg library.
43
44 %description libs -l pl.UTF-8
45 Biblioteka epeg.
46
47 %package devel
48 Summary:        Epeg header files
49 Summary(pl.UTF-8):      Pliki nagłówkowe Epeg
50 Group:          Development/Libraries
51 Requires:       %{name}-libs = %{version}-%{release}
52 Requires:       libjpeg-devel
53
54 %description devel
55 Header files for Epeg.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe Epeg.
59
60 %package static
61 Summary:        Static Epeg library
62 Summary(pl.UTF-8):      Statyczna biblioteka Epeg
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static Epeg library.
68
69 %description static -l pl.UTF-8
70 Statyczna biblioteka Epeg.
71
72 %prep
73 %setup -q -n %{name}-%{version}-%{_snap}
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure \
82         %{!?with_static_libs:--disable-static}
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   libs -p /sbin/ldconfig
95 %postun libs -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING COPYING-PLAIN README
100 %attr(755,root,root) %{_bindir}/epeg
101
102 %files libs
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libepeg.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libepeg.so.0
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libepeg.so
110 %{_libdir}/libepeg.la
111 %{_includedir}/Epeg.h
112 %{_pkgconfigdir}/epeg.pc
113
114 %if %{with static_libs}
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/libepeg.a
118 %endif
This page took 0.064128 seconds and 3 git commands to generate.