]>
Commit | Line | Data |
---|---|---|
7f51e8f7 | 1 | Summary: Email Processing System |
aa4f2267 | 2 | Summary(pl.UTF-8): System przetwarzania e-maili |
7f51e8f7 | 3 | Name: eps |
957fb154 | 4 | Version: 1.7 |
72dbe0e4 | 5 | Release: 3 |
ad322576 | 6 | License: GPL v2+ |
7f51e8f7 JB |
7 | Group: Libraries |
8 | Source0: http://www.inter7.com/eps/%{name}-%{version}.tar.gz | |
957fb154 | 9 | # Source0-md5: 55385a89db651207c4f8a3c49bd1f8e6 |
a6ec9ec9 | 10 | URL: http://www.inter7.com/?page=eps |
7f51e8f7 JB |
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 | ||
9fe5c5c6 JR |
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. | |
7f51e8f7 JB |
26 | |
27 | %package devel | |
28 | Summary: Header files for EPS library | |
aa4f2267 | 29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki EPS |
7f51e8f7 | 30 | Group: Development/Libraries |
b5b7ae8f | 31 | Requires: %{name} = %{version}-%{release} |
7f51e8f7 JB |
32 | |
33 | %description devel | |
34 | Header files for EPS library. | |
35 | ||
9fe5c5c6 JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe biblioteki EPS. | |
7f51e8f7 JB |
38 | |
39 | %package static | |
40 | Summary: Static EPS library | |
aa4f2267 | 41 | Summary(pl.UTF-8): Statyczna biblioteka EPS |
7f51e8f7 | 42 | Group: Development/Libraries |
b5b7ae8f | 43 | Requires: %{name}-devel = %{version}-%{release} |
7f51e8f7 JB |
44 | |
45 | %description static | |
46 | Static EPS library. | |
47 | ||
9fe5c5c6 | 48 | %description static -l pl.UTF-8 |
7f51e8f7 JB |
49 | Statyczna biblioteka EPS. |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %{__make} libeps.a \ | |
56 | CC="libtool --mode=compile %{__cc}" \ | |
957fb154 | 57 | DEFS="%{rpmcppflags} %{rpmcflags} -Wall -I." |
7f51e8f7 JB |
58 | |
59 | libtool --mode=link %{__cc} -o libeps.la *.lo -rpath %{_libdir} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
957fb154 AM |
64 | touch libeps.so |
65 | ||
7f51e8f7 JB |
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} | |
ad322576 JB |
81 | %attr(755,root,root) %{_libdir}/libeps.so.*.*.* |
82 | %attr(755,root,root) %ghost %{_libdir}/libeps.so.0 | |
7f51e8f7 JB |
83 | |
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
ad322576 JB |
86 | %attr(755,root,root) %{_libdir}/libeps.so |
87 | %{_libdir}/libeps.la | |
7f51e8f7 JB |
88 | %{_includedir}/eps |
89 | ||
90 | %files static | |
91 | %defattr(644,root,root,755) | |
ad322576 | 92 | %{_libdir}/libeps.a |