]> git.pld-linux.org Git - packages/eps.git/blob - eps.spec
92a0f705996917f7d3b1dbfd11b8c0b4beda06c3
[packages/eps.git] / eps.spec
1 Summary:        Email Processing System
2 Summary(pl.UTF-8):      System przetwarzania e-maili
3 Name:           eps
4 Version:        1.7
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://www.inter7.com/eps/%{name}-%{version}.tar.gz
9 # Source0-md5:  55385a89db651207c4f8a3c49bd1f8e6
10 URL:            http://www.inter7.com/?page=eps
11 BuildRequires:  libtool
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 EPS stands for Email Processing System. This package is intended to
16 give people the ability to write their own email processing tools.
17 Whether you want to process incoming and outgoing emails, or just
18 analyze a message, this package is intended to aid in that endeavor.
19
20 %description -l pl.UTF-8
21 EPS to system przetwarzania e-maili (Email Processing System - stąd
22 nazwa). Pakiet ma dać ludziom możliwość pisania własnych narzędzi do
23 przetwarzania poczty elektronicznej. Jeśli chcemy przetwarzać listy
24 przychodzące lub wychodzące, albo tylko przeanalizować wiadomość,
25 ten pakiet ma pomóc w tych staraniach.
26
27 %package devel
28 Summary:        Header files for EPS library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki EPS
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 Header files for EPS library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki EPS.
38
39 %package static
40 Summary:        Static EPS library
41 Summary(pl.UTF-8):      Statyczna biblioteka EPS
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static EPS library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka EPS.
50
51 %prep
52 %setup -q
53
54 %build
55 %{__make} libeps.a \
56         CC="libtool --mode=compile %{__cc}" \
57         DEFS="%{rpmcppflags} %{rpmcflags} -Wall -I."
58
59 libtool --mode=link %{__cc} -o libeps.la *.lo -rpath %{_libdir}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 touch libeps.so
65
66 %{__make} install \
67         LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
68         INCDIR=$RPM_BUILD_ROOT%{_includedir}/eps
69
70 libtool --mode=install install libeps.la $RPM_BUILD_ROOT%{_libdir}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc ChangeLog TODO doc/{credits,howto,license}
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/lib*.so
86 %{_libdir}/lib*.la
87 %{_includedir}/eps
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/lib*.a
This page took 0.027699 seconds and 2 git commands to generate.