File xorg-x11-fonts-devel.spec of Package xorg-x11-fonts-devel
#
# spec file for package xorg-x11-fonts-devel (Version 7.4)
#
# Copyright (c) 2008 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 X11R7.1-1.0.1
BuildRequires: pkgconfig xorg-x11-proto-devel
Url: http://xorg.freedesktop.org/
Version: 7.4
Release: 1
License: X11/MIT
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
* Thu Sep 11 2008 sndirsch@suse.de
- bumped release number to 7.4
* Mon Jan 21 2008 sndirsch@suse.de
- no longer mark sources as NoSource (new policy)
* Sat Sep 29 2007 sndirsch@suse.de
- bumped version to 7.3
* Thu Oct 26 2006 sndirsch@suse.de
- set version to 7.2 in specfile
* Wed Aug 09 2006 sndirsch@suse.de
- fixed /usr/share/fonts directory conflict with filesystem
* Wed Aug 02 2006 sndirsch@suse.de
- fix setup line
* Fri Jul 28 2006 sndirsch@suse.de
- use "-fno-strict-aliasing"
* Fri Jul 28 2006 sndirsch@suse.de
- switched from JIS0201 to CP932 due to legal issues (Bug #194720)
* Thu Jul 27 2006 sndirsch@suse.de
- use $RPM_OPT_FLAGS
* Thu Jun 29 2006 sndirsch@suse.de
- created package