]>
Commit | Line | Data |
---|---|---|
db433ea9 | 1 | # NOTE: for versions >= 1:1.9 (after merge with libytnef) see libytnef.spec |
f147e1e2 JB |
2 | %include /usr/lib/rpm/macros.perl |
3 | Summary: Yerase's TNEF Stream Reader | |
4 | Summary(pl.UTF-8): Czytnik strumieni TNET autorstwa Yerase | |
5 | Name: ytnef | |
6 | Version: 2.6 | |
db433ea9 | 7 | Release: 3.1 |
f147e1e2 JB |
8 | License: GPL v2+ |
9 | Group: Libraries | |
10 | # note: development continued on https://github.com/Yeraze/ytnef | |
11 | Source0: http://downloads.sourceforge.net/ytnef/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: 572830ff0664a2abc3e7aea79040c338 | |
13 | Patch0: %{name}-snprintf.patch | |
14 | Patch1: %{name}-filenames.patch | |
15 | Patch2: %{name}-snprintf2.patch | |
585d329f | 16 | Patch3: fix-ytnefprocess.patch |
f147e1e2 JB |
17 | URL: https://github.com/Yeraze/ytnef |
18 | BuildRequires: libytnef-devel | |
19 | BuildRequires: rpm-perlprov | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Yerase's TNEF Stream Reader. Can take a TNEF Stream (winmail.dat) | |
24 | sent from Microsoft Outlook (or similar products) and extract the | |
25 | attachments, including construction of Contact Cards & Calendar | |
26 | entries. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Czytnik strumieni TNET autorstwa Yerase - potrafi przyjąć strumień | |
30 | TNEF (winmail.dat) wysłany w programu Microsoft Outlook (lub | |
31 | podobnego) i wydobyć załączniki, w tym tworzenie kart kontaktowych | |
32 | oraz wpisów kalendarza. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | %patch0 -p2 | |
37 | %patch1 -p2 | |
38 | %patch2 -p2 | |
585d329f | 39 | %patch3 -p1 |
f147e1e2 JB |
40 | |
41 | %build | |
f147e1e2 JB |
42 | %configure |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc ChangeLog README | |
57 | %attr(755,root,root) %{_bindir}/ytnef | |
58 | %attr(755,root,root) %{_bindir}/ytnefprint | |
59 | %attr(755,root,root) %{_bindir}/ytnefprocess.pl |