Git init
[framework/uifw/xorg/lib/libfontenc.git] / packaging / libfontenc.spec
1
2 # Do NOT Edit the Auto-generated Part!
3 # Generated by: spectacle version 0.22
4
5 # >> macros
6 # << macros
7
8 Name:       libfontenc
9 Summary:    X.Org X11 libfontenc runtime library
10 Version:    1.1.0
11 Release:    1
12 Group:      System/Libraries
13 License:    MIT
14 URL:        http://www.x.org
15 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
16 Source100:  libfontenc.yaml
17 Requires(post): /sbin/ldconfig
18 Requires(postun): /sbin/ldconfig
19 BuildRequires:  pkgconfig(xorg-macros)
20 BuildRequires:  pkgconfig(xproto)
21 BuildRequires:  zlib-devel
22 BuildRequires:  autoconf
23
24
25 %description
26 font encoding library
27
28
29 %package devel
30 Summary:    X.Org X11 libfontenc development package
31 Group:      Development/Libraries
32 Requires:   %{name} = %{version}-%{release}
33
34 %description devel
35 font encoding library development package
36
37
38 %prep
39 %setup -q -n %{name}-%{version}
40
41 # >> setup
42 # << setup
43
44 %build
45 # >> build pre
46 # << build pre
47
48 %configure --disable-static \
49     --with-encodingsdir=%{_datadir}/fonts/X11/encodings
50
51 make %{?jobs:-j%jobs}
52
53 # >> build post
54 # << build post
55 %install
56 rm -rf %{buildroot}
57 # >> install pre
58 # << install pre
59 %make_install
60
61 # >> install post
62 # << install post
63
64
65
66 %post -p /sbin/ldconfig
67
68 %postun -p /sbin/ldconfig
69
70
71
72
73
74 %files
75 %defattr(-,root,root,-)
76 # >> files
77 %doc COPYING README ChangeLog
78 %{_libdir}/libfontenc.so.1
79 %{_libdir}/libfontenc.so.1.0.0
80 # << files
81
82
83 %files devel
84 %defattr(-,root,root,-)
85 # >> files devel
86 %dir %{_includedir}/X11
87 %dir %{_includedir}/X11/fonts
88 %{_includedir}/X11/fonts/fontenc.h
89 %{_libdir}/libfontenc.so
90 %{_libdir}/pkgconfig/fontenc.pc
91 # << files devel
92