fontpackages/fontpackages.spec
Petr Gajdos 34342d4ca8 - package created, added:
* runtime: %{_datadir}/fonts/truetype
  * devel:   rpm-macros.fonts-config

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/fontpackages?expand=0&rev=2
2012-07-04 07:15:07 +00:00

71 lines
1.8 KiB
RPMSpec

#
# spec file for package fontpackage
#
# Copyright (c) 2012 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: fontpackages
Version: 0.1
Release: 0
License: BSD-3-Clause
Summary: Commons for Font Packages
Group: System/Base
Source0: rpm-macros.fonts-config
Source100: COPYING
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Commons for font packages.
%package devel
Summary: Development Commons for Font Packages
Group: Development/Tools/Building
Requires: %{name} = %{version}
%description devel
Development commons for font packages.
%package runtime
Summary: Runtime Commons for Font Packages
Group: System/Base
Requires: %{name} = %{version}
%description runtime
Runtime commons for font packages.
%prep
%build
cp %{SOURCE100} .
%install
mkdir -p %{buildroot}%{_datadir}/fonts/truetype
mkdir -p %{buildroot}%{_sysconfdir}/rpm
cp -a %{SOURCE0} %{buildroot}%{_sysconfdir}/rpm/macros.fonts-config
%files runtime
%defattr(-,root,root)
%dir %{_datadir}/fonts/truetype
%files devel
%defattr(-,root,root)
%doc COPYING
%config %{_sysconfdir}/rpm/macros.fonts-config
%changelog