upload tizen2.0 source
[framework/uifw/xorg/lib/libfontenc.git] / packaging / libfontenc.spec
1 #sbs-git:slp/pkgs/xorg/lib/libfontenc libfontenc 1.1.0 f90008750770748ef68ee2c0ec1c7c9d3ecb4980
2
3 Name:       libfontenc
4 Summary:    X.Org X11 libfontenc runtime library
5 Version: 1.1.0
6 Release:    3
7 Group:      System/Libraries
8 License:    MIT
9 URL:        http://www.x.org
10 Source:    %{name}-%{version}.tar.gz
11 Requires(post): /sbin/ldconfig
12 Requires(postun): /sbin/ldconfig
13 BuildRequires:  pkgconfig(xorg-macros)
14 BuildRequires:  pkgconfig(xproto)
15 BuildRequires:  zlib-devel
16 BuildRequires:  autoconf
17
18
19 %description
20 font encoding library
21
22
23 %package devel
24 Summary:    X.Org X11 libfontenc development package
25 Group:      Development/Libraries
26 Requires:   %{name} = %{version}-%{release}
27
28 %description devel
29 font encoding library development package
30
31
32 %prep
33 %setup -q
34
35 %build
36
37 ./autogen.sh
38 %configure --disable-static \
39     --with-encodingsdir=%{_datadir}/fonts/X11/encodings
40
41 make %{?jobs:-j%jobs}
42
43 %install
44 rm -rf %{buildroot}
45 %make_install
46
47
48
49
50 %post -p /sbin/ldconfig
51
52 %postun -p /sbin/ldconfig
53
54
55
56
57
58 %files
59 %defattr(-,root,root,-)
60 %doc COPYING README ChangeLog
61 %{_libdir}/libfontenc.so.1
62 %{_libdir}/libfontenc.so.1.0.0
63
64
65 %files devel
66 %defattr(-,root,root,-)
67 %dir %{_includedir}/X11
68 %dir %{_includedir}/X11/fonts
69 %{_includedir}/X11/fonts/fontenc.h
70 %{_libdir}/libfontenc.so
71 %{_libdir}/pkgconfig/fontenc.pc
72