/[packages]/backports/4/libetonyek/pristine/SPECS/libetonyek.spec
ViewVC logotype

Contents of /backports/4/libetonyek/pristine/SPECS/libetonyek.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 585505 - (show annotations) (download)
Fri Feb 7 20:49:05 2014 UTC (10 years, 4 months ago) by tv
File size: 2766 byte(s)
backport
1 %global major 0
2 %define libname %mklibname etonyek %major
3 %define devname %mklibname -d etonyek
4 %global apiversion 0.0
5
6 Name: libetonyek
7 Version: 0.0.3
8 Release: %mkrel 2
9 Summary: A library for import of Apple Keynote presentations
10
11 Group: System/Libraries
12 License: MPLv2.0
13 URL: http://www.freedesktop.org/wiki/Software/libetonyek/
14 Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
15
16 BuildRequires: cppunit-devel
17 BuildRequires: boost-devel
18 BuildRequires: doxygen
19 BuildRequires: gperf
20 BuildRequires: libwpd-devel
21 BuildRequires: libxml2-devel
22 BuildRequires: zlib-devel
23
24 %description
25 libetonyek is library providing ability to interpret and import Apple
26 Keynote presentations into various applications. Only version 5 is
27 supported at the moment, although versions 2-4 should work.
28
29 %package -n %libname
30 Summary: A library for import of Apple Keynote presentations
31 Group: System/Libraries
32
33 %description -n %libname
34 libetonyek is library providing ability to interpret and import Apple
35 Keynote presentations into various applications. Only version 5 is
36 supported at the moment, although versions 2-4 should work.
37
38 %package -n %devname
39 Summary: Development files for %{name}
40 Group: Development/C
41 Requires: %{libname} = %{version}-%{release}
42 Provides: libetonyek-devel
43
44 %description -n %devname
45 The %{name}-devel package contains libraries and header files for
46 developing applications that use %{name}.
47
48 %package doc
49 Summary: Documentation of %{name} API
50 Group: Documentation
51 BuildArch: noarch
52
53 %description doc
54 The %{name}-doc package contains documentation files for %{name}.
55
56 %package tools
57 Summary: Tools to transform Apple Keynote presentations into other formats
58 Group: Office/Utilities
59 Requires: %{libname} = %{version}-%{release}
60
61 %description tools
62 Tools to transform Apple Keynote presentations into other formats.
63 Currently supported: XHTML, raw, text.
64
65 %prep
66 %setup -q
67
68 %build
69 %configure2_5x --disable-silent-rules --disable-static --disable-werror
70 sed -i \
71 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
72 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
73 libtool
74 %make
75
76 %install
77 %makeinstall_std
78 rm -f %{buildroot}/%{_libdir}/*.la
79 # we install API docs directly from build
80 rm -rf %{buildroot}/%{_docdir}/%{name}
81
82
83
84 %check
85 export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
86 %make check
87
88 %files -n %libname
89 %doc AUTHORS COPYING FEATURES NEWS README
90 %{_libdir}/%{name}-%{apiversion}.so.*
91
92 %files -n %devname
93 %doc ChangeLog
94 %{_includedir}/%{name}-%{apiversion}
95 %{_libdir}/%{name}-%{apiversion}.so
96 %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
97
98 %files doc
99 %doc COPYING
100 %doc docs/doxygen/html
101
102 %files tools
103 %{_bindir}/key2raw
104 %{_bindir}/key2text
105 %{_bindir}/key2xhtml
106

  ViewVC Help
Powered by ViewVC 1.1.30