3 %bcond_without static_libs # don't build static libraries
5 Summary: Library and tools for reading and converting Apple Keynote presentations
6 Summary(pl.UTF-8): Biblioteka i narzędzia do odczytu i konwersji prezentacji Apple Keynote
12 Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
13 # Source0-md5: 6deb26eb088acd8938b9bec800cfb59e
14 URL: http://www.freedesktop.org/wiki/Software/libetonyek/
15 BuildRequires: boost-devel
16 BuildRequires: doxygen
18 BuildRequires: libstdc++-devel
19 BuildRequires: libwpd-devel >= 0.9
20 BuildRequires: libxml2-devel >= 2.0
21 BuildRequires: pkgconfig >= 1:0.20
22 BuildRequires: tar >= 1:1.22
24 BuildRequires: zlib-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 libetonyek is a library and a set of tools for reading and converting
29 Apple Keynote presentations. The library tries to extract the most
30 important parts of version 2 format of Keynote (version 1 is not
31 supported yet, but it should be in the future). See FEATURES for what
32 is currently supported.
34 %description -l pl.UTF-8
35 libetonyek to biblioteka i zestaw narzędzi do odczytu i konwersji
36 prezentacji Apple Keynote. Biblioteka próbuje wydobyć najważniejsze
37 części formatu Keynote w wersji 2 (wersja 1 nie jest jeszcze
38 obsługiwana, ale powinna być w przyszłości). Informacje o
39 obsługiwanych elementach można znaleźć w pliku FEATURES.
42 Summary: Header files for libetonyek library
43 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libetonyek
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: libstdc++-devel
47 Requires: libwpd-devel >= 0.9
50 Header files for libetonyek library.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe biblioteki libetonyek.
56 Summary: Static libetonyek library
57 Summary(pl.UTF-8): Statyczna biblioteka libetonyek
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static libetonyek library.
64 %description static -l pl.UTF-8
65 Statyczna biblioteka libetonyek.
68 Summary: libetonyek API documentation
69 Summary(pl.UTF-8): Dokumentacja API biblioteki libetonyek
73 API documentation for libetonyek library.
75 %description apidocs -l pl.UTF-8
76 Dokumentacja API biblioteki libetonyek.
83 --disable-silent-rules \
84 %{?with_static_libs:--enable-static} \
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
94 # obsoleted by pkg-config
95 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libetonyek-*.la
96 # packaged as %doc in -apidocs
97 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libetonyek
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog FEATURES NEWS README TODO
108 %attr(755,root,root) %{_bindir}/key2raw
109 %attr(755,root,root) %{_bindir}/key2text
110 %attr(755,root,root) %{_bindir}/key2xhtml
111 %attr(755,root,root) %{_libdir}/libetonyek-0.0.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libetonyek-0.0.so.0
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libetonyek-0.0.so
117 %{_includedir}/libetonyek-0.0
118 %{_pkgconfigdir}/libetonyek-0.0.pc
120 %if %{with static_libs}
122 %defattr(644,root,root,755)
123 %{_libdir}/libetonyek-0.0.a
127 %defattr(644,root,root,755)
128 %doc docs/doxygen/html/*