add packaging
[platform/upstream/mkfontdir.git] / packaging / mkfontdir.spec
1 Name:           mkfontdir
2 Version:        1.0.7
3 Release:        1
4 License:        MIT
5 Summary:        Utility to create index of X font files
6 Url:            http://xorg.freedesktop.org/
7 Group:          System/X11/Utilities
8 Source0:        http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
9 BuildRequires:  pkg-config
10 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
11 # mkfontdir is just a wrapper around mkfontscale and won't do anything on it's own.
12 Requires:       mkfontscale
13 Conflicts:      xorg-x11 <= 7.6
14
15 %description
16 mkfontdir creates the fonts.dir files needed by the legacy X server
17 core font system. The current implementation is a simple wrapper script
18 around the mkfontscale program, which must be built and installed first.
19
20 %prep
21 %setup -q
22
23 %build
24 %configure
25 make %{?_smp_mflags}
26
27 %install
28 %make_install
29
30 %files
31 %defattr(-,root,root)
32 %doc ChangeLog COPYING README
33 %{_bindir}/mkfontdir
34 %{_mandir}/man1/mkfontdir.1%{?ext_man}
35
36 %changelog