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