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