File xorg-x11-fonts-devel.spec of Package xorg-x11-fonts-devel

#
# spec file for package xorg-x11-fonts-devel (Version 7.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           xorg-x11-fonts-devel
%define dirsuffix 1.2.0
BuildRequires:  pkgconfig xorg-x11-proto-devel
Url:            http://xorg.freedesktop.org/
Version:        7.6
Release:        1
License:        MIT License (or similar)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/X11/Fonts
Requires:       xorg-x11-proto-devel
Summary:        Include Files and Libraries mandatory for Development.
Source:         font-util-%{dirsuffix}.tar.bz2
Source1:        http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT

%description
This package contains all necessary include files and libraries needed
to develop applications that require these.



%prep
%setup -n font-util-%{dirsuffix}
# see Bug 194720 for details
cp %SOURCE1 map-JISX0201.1976-0

%build
#autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
            --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} \
            --with-mapdir=/usr/share/fonts/util

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
/usr/bin/*
/usr/%{_lib}/pkgconfig/*.pc
%{_mandir}/man1/*
/usr/share/aclocal/*.m4
/usr/share/fonts/*

%changelog