/[packages]/cauldron/libetonyek/current/SPECS/libetonyek.spec
ViewVC logotype

Contents of /cauldron/libetonyek/current/SPECS/libetonyek.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584301 - (show annotations) (download)
Thu Feb 6 06:40:32 2014 UTC (10 years, 2 months ago) by tv
File size: 2739 byte(s)
imported package libetonyek
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 1
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
43 %description -n %devname
44 The %{name}-devel package contains libraries and header files for
45 developing applications that use %{name}.
46
47 %package doc
48 Summary: Documentation of %{name} API
49 Group: Documentation
50 BuildArch: noarch
51
52 %description doc
53 The %{name}-doc package contains documentation files for %{name}.
54
55 %package tools
56 Summary: Tools to transform Apple Keynote presentations into other formats
57 Group: Office/Utilities
58 Requires: %{libname} = %{version}-%{release}
59
60 %description tools
61 Tools to transform Apple Keynote presentations into other formats.
62 Currently supported: XHTML, raw, text.
63
64 %prep
65 %setup -q
66
67 %build
68 %configure2_5x --disable-silent-rules --disable-static --disable-werror
69 sed -i \
70 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
71 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
72 libtool
73 %make
74
75 %install
76 %makeinstall_std
77 rm -f %{buildroot}/%{_libdir}/*.la
78 # we install API docs directly from build
79 rm -rf %{buildroot}/%{_docdir}/%{name}
80
81
82
83 %check
84 export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
85 %make check
86
87 %files -n %libname
88 %doc AUTHORS COPYING FEATURES NEWS README
89 %{_libdir}/%{name}-%{apiversion}.so.*
90
91 %files -n %devname
92 %doc ChangeLog
93 %{_includedir}/%{name}-%{apiversion}
94 %{_libdir}/%{name}-%{apiversion}.so
95 %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
96
97 %files doc
98 %doc COPYING
99 %doc docs/doxygen/html
100
101 %files tools
102 %{_bindir}/key2raw
103 %{_bindir}/key2text
104 %{_bindir}/key2xhtml
105

  ViewVC Help
Powered by ViewVC 1.1.30