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