]> git.pld-linux.org Git - packages/libeot.git/blob - libeot.spec
- release 2 (by relup.sh)
[packages/libeot.git] / libeot.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4 #
5 Summary:        Library for parsing and converting Embedded OpenType files
6 Summary(pl.UTF-8):      Biblioteka do analizy i konwersji plików Embedded OpenType
7 Name:           libeot
8 Version:        0.01
9 Release:        2
10 License:        MPL v2.0
11 Group:          Libraries
12 Source0:        http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.bz2
13 # Source0-md5:  aa24f5dd2a2992f4a116aa72af817548
14 URL:            https://github.com/umanwizard/libeot
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  git-core
18 BuildRequires:  libtool >= 2:2
19 BuildRequires:  sed >= 4.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Library for parsing Embedded OpenType files (Microsoft embedded font
24 "standard"), and converting them to other formats.
25
26 %description -l pl.UTF-8
27 Biblioteka do analizy plików Embedded OpenTyoe ("standard" osadzonych
28 fontów Microsoftu) oraz konwersji ich do innych formatów.
29
30 %package devel
31 Summary:        Header files for libeot library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libeot
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for libeot library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki libeot.
41
42 %package static
43 Summary:        Static libeot library
44 Summary(pl.UTF-8):      Statyczna biblioteka libeot
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static libeot library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libeot.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         %{?with_static_libs:--enable-static}
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libeot.la
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc LICENSE PATENTS
84 %attr(755,root,root) %{_bindir}/eot2ttf
85 %attr(755,root,root) %{_libdir}/libeot.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libeot.so.0
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libeot.so
91 %{_includedir}/libeot
92 %{_pkgconfigdir}/libeot.pc
93
94 %if %{with static_libs}
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/libeot.a
98 %endif
This page took 0.1187 seconds and 3 git commands to generate.