upload tizen1.0 source
[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:    2.24
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 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
18 BuildRequires:  pkgconfig(xorg-macros)
19 BuildRequires:  pkgconfig(xproto)
20 BuildRequires:  zlib-devel
21 BuildRequires:  autoconf
22
23
24 %description
25 font encoding library
26
27
28 %package devel
29 Summary:    X.Org X11 libfontenc development package
30 Group:      Development/Libraries
31 Requires:   %{name} = %{version}-%{release}
32
33 %description devel
34 font encoding library development package
35
36
37 %prep
38 %setup -q -n %{name}-%{version}
39
40 %build
41
42 ./autogen.sh
43 %configure --disable-static \
44     --with-encodingsdir=%{_datadir}/fonts/X11/encodings
45
46 make %{?jobs:-j%jobs}
47
48 %install
49 rm -rf %{buildroot}
50 %make_install
51
52
53
54
55 %post -p /sbin/ldconfig
56
57 %postun -p /sbin/ldconfig
58
59
60
61
62
63 %files
64 %defattr(-,root,root,-)
65 %doc COPYING README ChangeLog
66 %{_libdir}/libfontenc.so.1
67 %{_libdir}/libfontenc.so.1.0.0
68
69
70 %files devel
71 %defattr(-,root,root,-)
72 %dir %{_includedir}/X11
73 %dir %{_includedir}/X11/fonts
74 %{_includedir}/X11/fonts/fontenc.h
75 %{_libdir}/libfontenc.so
76 %{_libdir}/pkgconfig/fontenc.pc
77