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