/[packages]/cauldron/libfontenc/current/SPECS/libfontenc.spec
ViewVC logotype

Contents of /cauldron/libfontenc/current/SPECS/libfontenc.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1795012 - (show annotations) (download)
Wed Mar 16 20:43:19 2022 UTC (18 months, 1 week ago) by umeabot
File size: 2332 byte(s)
Mageia 9 Mass Rebuild
1 %define major 1
2 %define libname %mklibname fontenc %{major}
3 %define develname %mklibname fontenc -d
4 %define staticdevelname %mklibname fontenc -d -s
5
6 Name: libfontenc
7 Summary: The fontenc Library
8 Version: 1.1.4
9 Release: %mkrel 4
10 Group: Development/X11
11 License: MIT
12 URL: https://xorg.freedesktop.org
13 Source0: https://xorg.freedesktop.org/releases/individual/lib/libfontenc-%{version}.tar.bz2
14
15 BuildRequires: pkgconfig(zlib)
16 BuildRequires: x11-proto-devel >= 1.0.0
17 BuildRequires: x11-util-macros >= 1.0.1
18 # list of encodings
19 Requires: x11-font-encodings
20
21 %description
22 libfontenc is a library which helps font libraries portably determine and
23 deal with different encodings of fonts.
24
25 #-----------------------------------------------------------
26
27 %package -n %{libname}
28 Summary: The fontenc Library
29 Group: System/Libraries
30 Conflicts: libxorg-x11 < 7.0
31 Provides: %{name} = %{version}-%{release}
32
33 %description -n %{libname}
34 libfontenc is a library which helps font libraries portably determine and
35 deal with different encodings of fonts.
36
37 %files -n %{libname}
38 %{_libdir}/libfontenc.so.%{major}{,.*}
39
40 #-----------------------------------------------------------
41
42 %package -n %{develname}
43 Summary: Development files for %{name}
44 Group: Development/X11
45 Requires: %{libname} = %{version}-%{release}
46 Provides: libfontenc-devel = %{version}-%{release}
47 Obsoletes: %{_lib}fontenc1-devel
48 Conflicts: libxorg-x11-devel < 7.0
49
50 %description -n %{develname}
51 Development files for %{name}
52
53 %files -n %{develname}
54 %{_libdir}/libfontenc.so
55 %{_libdir}/pkgconfig/fontenc.pc
56 %{_includedir}/X11/fonts/fontenc.h
57
58 #-----------------------------------------------------------
59
60 %package -n %{staticdevelname}
61 Summary: Static development files for %{name}
62 Group: Development/X11
63 Requires: %{develname} = %{version}-%{release}
64 Provides: libfontenc-static-devel = %{version}-%{release}
65 Obsoletes: %{_lib}fontenc1-static-devel
66 Conflicts: libxorg-x11-static-devel < 7.0
67
68 %description -n %{staticdevelname}
69 Static development files for %{name}
70
71 %files -n %{staticdevelname}
72 %{_libdir}/libfontenc.a
73
74 #-----------------------------------------------------------
75
76 %prep
77 %setup -q -n libfontenc-%{version}
78
79 %build
80 %configure --x-includes=%{_includedir}\
81 --x-libraries=%{_libdir}\
82 --with-encodingsdir=%{_datadir}/fonts/encodings
83
84 %make_build
85
86 %install
87 %make_install
88

  ViewVC Help
Powered by ViewVC 1.1.28