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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584325 - (show annotations) (download)
Thu Feb 6 06:55:35 2014 UTC (10 years, 2 months ago) by tv
File size: 1801 byte(s)
add devel provides
1 %global major 0
2 %define libname %mklibname eot %major
3 %define devname %mklibname -d eot
4 Name: libeot
5 Version: 0.01
6 Release: %mkrel 2
7 Summary: A library for parsing Embedded OpenType font files
8
9 Group: System/Libraries
10 License: MPLv2.0
11 URL: https://github.com/umanwizard/libeot
12 Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.bz2
13
14 %description
15 %{name} is a library for parsing Embedded OpenType files (Microsoft
16 embedded font "standard") and converting them to other formats.
17
18 %package -n %libname
19 Summary: A library for parsing Embedded OpenType font files
20 Group: System/Libraries
21
22 %description -n %libname
23 %{libname} is a library for parsing Embedded OpenType files (Microsoft
24 embedded font "standard") and converting them to other formats.
25
26 %package -n %devname
27 Summary: Development files for %{name}
28 Group: Development/C
29 Requires: %{libname} = %{version}-%{release}
30 Provides: libeot-devel
31
32 %description -n %devname
33 The %{name}-devel package contains libraries and header files for
34 developing applications that use %{name}.
35
36 %package tools
37 Summary: Tools to transform EOT font files into other formats
38 Group: Office/Utilities
39 Requires: %{libname} = %{version}-%{release}
40
41 %description tools
42 Tools to transform EOT font files into other formats. Only TTF is
43 supported currently.
44
45 %prep
46 %setup -q
47
48 %build
49 %configure --disable-silent-rules --disable-static
50 sed -i \
51 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
52 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
53 libtool
54 %make
55
56 %install
57 %makeinstall_std
58 rm -f %{buildroot}/%{_libdir}/*.la
59
60
61
62 %files -n %libname
63 %doc LICENSE PATENTS
64 %{_libdir}/%{name}.so.*
65
66 %files -n %devname
67 %{_includedir}/%{name}
68 %{_libdir}/%{name}.so
69 %{_libdir}/pkgconfig/%{name}.pc
70
71 %files tools
72 %{_bindir}/eot2ttf
73

  ViewVC Help
Powered by ViewVC 1.1.30