]> git.pld-linux.org Git - packages/libytnef.git/blob - libytnef.spec
- updated to 2.1.2
[packages/libytnef.git] / libytnef.spec
1 Summary:        C library for decoding application/ms-tnef e-mail attachments
2 Summary(pl.UTF-8):      Biblioteka C do dekodowania załączników e-maili typu application/ms-tnef
3 Name:           libytnef
4 Version:        2.1.2
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 #Source0Download: https://github.com/Yeraze/ytnef/releases
9 Source0:        https://github.com/Yeraze/ytnef/archive/v%{version}/ytnef-%{version}.tar.gz
10 # Source0-md5:  db3b25bafce493a14e9b76f7c195443e
11 URL:            https://github.com/Yeraze/ytnef
12 BuildRequires:  autoconf >= 2.63
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  libtool >= 2:2.2
15 BuildRequires:  rpm-perlprov
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 C library for decoding TNEF streams (application/ms-tnef or
20 winmail.dat e-mail attachments) generated by Microsoft Outlook.
21
22 %description -l pl.UTF-8
23 Biblioteka C do dekodowania strumieni TNEF (załączników e-maili typu
24 application/ms-tnef lub o nazwie winmail.dat), generowanych przez
25 program Microsoft Outlook.
26
27 %package devel
28 Summary:        Header files for libytnef library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libytnef
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 Header files for libytnef library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki libytnef.
38
39 %package static
40 Summary:        Static libytnef library
41 Summary(pl.UTF-8):      Statyczna biblioteka libytnef
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static libytnef library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka libytnef.
50
51 %package -n ytnef
52 Summary:        Yerase's TNEF Stream Reader
53 Summary(pl.UTF-8):      Czytnik strumieni TNET autorstwa Yerase
54 # it's a continuation of separate subproject (ytnef.spec) ended at version 2.7
55 Epoch:          1
56 Group:          Applications/File
57 Requires:       %{name} = %{version}-%{release}
58
59 %description -n ytnef
60 Yerase's TNEF Stream Reader. Can take a TNEF Stream (winmail.dat)
61 sent from Microsoft Outlook (or similar products) and extract the
62 attachments, including construction of Contact Cards & Calendar
63 entries.
64
65 %description -n ytnef -l pl.UTF-8
66 Czytnik strumieni TNET autorstwa Yerase - potrafi przyjąć strumień
67 TNEF (winmail.dat) wysłany w programu Microsoft Outlook (lub
68 podobnego) i wydobyć załączniki, w tym tworzenie kart kontaktowych
69 oraz wpisów kalendarza.
70
71 # NOTE: don't place any subpackages after -n ytnef because of EPOCH setting
72
73 %prep
74 %setup -q -n ytnef-%{version}
75
76 %build
77 %{__libtoolize}
78 %{__aclocal}
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 %configure \
83         --disable-silent-rules
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 # obsoleted by pkg-config
93 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libytnef.la
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files
102 %defattr(644,root,root,755)
103 %doc ChangeLog
104 %attr(755,root,root) %{_libdir}/libytnef.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libytnef.so.0
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libytnef.so
110 %{_includedir}/mapi.h
111 %{_includedir}/mapidefs.h
112 %{_includedir}/mapitags.h
113 %{_includedir}/tnef-errors.h
114 %{_includedir}/tnef-types.h
115 %{_includedir}/ytnef.h
116 %{_pkgconfigdir}/libytnef.pc
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/libytnef.a
121
122 %files -n ytnef
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/ytnef
125 %attr(755,root,root) %{_bindir}/ytnefprint
126 %attr(755,root,root) %{_bindir}/ytnefprocess
This page took 0.139779 seconds and 4 git commands to generate.