]> git.pld-linux.org Git - packages/xorg-lib-libfontenc.git/blob - xorg-lib-libfontenc.spec
- updated to 1.1.7
[packages/xorg-lib-libfontenc.git] / xorg-lib-libfontenc.spec
1 Summary:        fontenc - font encoding library
2 Summary(pl.UTF-8):      Biblioteka fontenc obsługująca kodowanie fontów
3 Name:           xorg-lib-libfontenc
4 Version:        1.1.7
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libfontenc-%{version}.tar.xz
9 # Source0-md5:  6d3f1b15bb5b0bb71ae9f0a5103c1fc4
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xorg-font-font-util >= 1.1
17 BuildRequires:  xorg-proto-xproto-devel
18 BuildRequires:  xorg-util-util-macros >= 1.8
19 BuildRequires:  xz
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 fontenc - font encoding library.
25
26 %description -l pl.UTF-8
27 Biblioteka fontenc obsługująca kodowanie fontów.
28
29 %package devel
30 Summary:        Header files for libfontenc library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libfontenc
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 # just for dirs
35 Requires:       xorg-proto-fontsproto-devel
36 Requires:       zlib-devel
37
38 %description devel
39 fontenc - font encoding library.
40
41 This package contains the header files needed to develop programs that
42 use libfontenc.
43
44 %description devel -l pl.UTF-8
45 Biblioteka fontenc obsługująca kodowanie fontów.
46
47 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
48 używających biblioteki libfontenc.
49
50 %package static
51 Summary:        Static libfontenc library
52 Summary(pl.UTF-8):      Biblioteka statyczna libfontenc
53 Group:          X11/Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 fontenc - font encoding library.
58
59 This package contains the static libfontenc library.
60
61 %description static -l pl.UTF-8
62 Biblioteka fontenc obsługująca kodowanie fontów.
63
64 Pakiet zawiera statyczną bibliotekę libfontenc.
65
66 %prep
67 %setup -q -n libfontenc-%{version}
68
69 %build
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure \
76         --with-encodingsdir=%{_fontsdir}/encodings
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT \
85         pkgconfigdir=%{_pkgconfigdir}
86
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfontenc.la
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc COPYING ChangeLog README.md
98 %attr(755,root,root) %{_libdir}/libfontenc.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libfontenc.so.1
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libfontenc.so
104 %{_includedir}/X11/fonts/fontenc.h
105 %{_pkgconfigdir}/fontenc.pc
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/libfontenc.a
This page took 0.087414 seconds and 3 git commands to generate.