[oxygen-fonts] Import package (oxygen-fonts-0.3.95-2)

Daniel Vrátil dvratil at fedoraproject.org
Wed Jul 2 14:44:19 UTC 2014


commit fb3870654150c3d798ac2b4354104479fdf8b29a
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Wed Jul 2 16:43:59 2014 +0200

    Import package (oxygen-fonts-0.3.95-2)

 .gitignore             |    1 +
 oxygen-fontconfig.conf |   16 +++++++++++
 oxygen-fonts.spec      |   70 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 4 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..064bd30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oxygen-fonts-0.3.95.tar.xz
diff --git a/oxygen-fontconfig.conf b/oxygen-fontconfig.conf
new file mode 100644
index 0000000..b771911
--- /dev/null
+++ b/oxygen-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+        <alias>
+          <family>sans</family>
+            <prefer>
+              <family>Oxygen</family>
+            </prefer>
+        </alias>
+        <alias>
+          <family>Oxygen</family>
+            <default>
+              <family>sans</family>
+            </default>
+        </alias>
+</fontconfig>
diff --git a/oxygen-fonts.spec b/oxygen-fonts.spec
new file mode 100644
index 0000000..86eeed7
--- /dev/null
+++ b/oxygen-fonts.spec
@@ -0,0 +1,70 @@
+%global fontname oxygen
+%global fontconf 61-%{fontname}.conf
+
+Name:           oxygen-fonts
+Version:        0.3.95
+Release:        2%{?dist}
+Summary:        Oxygen fonts created by the KDE Community
+
+# See LICENSE-GPL+FE for details about the exception
+License:        OFL or GPLv3 with exceptions
+URL:            http://www.kde.org
+Source0:        http://download.kde.org/unstable/plasma/4.95.0/%{name}-%{version}.tar.xz
+Source1:        %{fontname}-fontconfig.conf
+
+BuildArch:      noarch
+BuildRequires:  cmake
+BuildRequires:  kf5-rpm-macros
+BuildRequires:  extra-cmake-modules
+BuildRequires:  qt5-qtbase-devel
+BuildRequires:  fontforge
+BuildRequires:  fontpackages-devel
+Requires:       fontpackages-filesystem
+
+%description
+Oxygen fonts created by the KDE Community.
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake} .. -DOXYGEN_FONT_INSTALL_DIR=%{_fontdir}
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+%make_install -C %{_target_platform}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+                   %{buildroot}%{_fontconfig_confdir}
+install -m 0644 -p %{SOURCE1} \
+         %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+%_font_pkg -f %{fontconf} *.ttf
+%doc COPYING-GPL+FE.txt COPYING-OFL GPL.txt README.md
+
+%files devel
+%{_kf5_libdir}/cmake/OxygenFont
+
+%changelog
+* Sun Jun 29 2014 Daniel Vrátil <dvratil at redhat.com> - 0.3.95-2
+- fix license
+- fix rpmlint warnings
+
+* Thu Apr 03 2014 Daniel Vrátil <dvratil at redhat.com> - 0.3.95-1
+- Initial vrsion
diff --git a/sources b/sources
index e69de29..8a108b9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+106ed030e10b8d52f8a40d4c64369039  oxygen-fonts-0.3.95.tar.xz


More information about the scm-commits mailing list