66 lines
2.1 KiB
RPMSpec
66 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package dejavu-fonts
|
|
#
|
|
# Copyright (c) 2011 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/
|
|
#
|
|
|
|
|
|
|
|
Name: dejavu-fonts
|
|
License: SUSE-Permissive
|
|
Group: System/X11/Fonts
|
|
PreReq: %suseconfig_fonts_prereq
|
|
Provides: desktop-data-SuSE:/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Roman.ttf
|
|
Provides: locale(bg;el;mk;ru;vi)
|
|
Version: 2.33
|
|
Release: 1
|
|
Summary: DejaVu Truetype Fonts
|
|
# download http://mesh.dl.sourceforge.net/sourceforge/dejavu/dejavu-fonts-ttf-%{version}.tar.bz2
|
|
Source: dejavu-fonts-ttf-%{version}.tar.bz2
|
|
Url: http://dejavu.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%define ttf_fontdir /usr/share/fonts/truetype
|
|
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
|
Obsoletes: dejavu <= 2.33
|
|
Provides: dejavu = %{version}
|
|
|
|
%description
|
|
The DejaVu fonts are a font family based on the Bitstream Vera Fonts.
|
|
Its purpose is to provide a wider range of characters while maintaining
|
|
the original look and feel through the process of collaborative
|
|
development.
|
|
|
|
%prep
|
|
%setup -n %name-ttf-%version
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
|
|
install -m 0644 ttf/*.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
|
|
|
|
%post
|
|
%run_suseconfig_fonts
|
|
|
|
%postun
|
|
%run_suseconfig_fonts
|
|
|
|
%files
|
|
%defattr(-,root,root,755)
|
|
%doc AUTHORS BUGS LICENSE NEWS README *.txt fontconfig
|
|
%{ttf_fontdir}/
|
|
|
|
%changelog
|