package created by autospec [release 5.2.2-1mamba;Sun Apr 26 2015]

This commit is contained in:
Davide Madrisan 2024-01-06 08:21:12 +01:00
parent bacef116b6
commit 74b74fe572
2 changed files with 70 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# oxygen-fonts # oxygen-fonts
The basic concept for Oxygen Font is to design a clear, legible, sans serif font which would be rendered with Freetype on Linux-based devices.
In addition a bold weight, plus regular and bold italics, and a monospace version will be made.

67
oxygen-fonts.spec Normal file
View File

@ -0,0 +1,67 @@
Name: oxygen-fonts
Version: 5.2.2
Release: 1mamba
Summary: Oxygen fonts for integrated use with the KDE desktop
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/oxygen-fonts-%{version}.tar.xz
License: OFL or GPLv3 with font exceptions (GPL+FE)
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: fontforge
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME:
# missing cfongiration file for
# /etc/fonts/conf.avail/
# /etc/fonts/conf.d/
%description
The basic concept for Oxygen Font is to design a clear, legible, sans serif font which would be rendered with Freetype on Linux-based devices.
In addition a bold weight, plus regular and bold italics, and a monospace version will be made.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build \
-DOXYGEN_FONT_INSTALL_DIR=%{_datadir}/fonts
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/fonts/Oxygen-Sans.ttf
%{_datadir}/fonts/Oxygen-Sans-Bold.ttf
%{_datadir}/fonts/OxygenMono-Regular.ttf
%doc COPYING-OFL COPYING-GPL+FE.txt
%files devel
%defattr(-,root,root)
%{_kde5_libdir}/cmake/OxygenFont
%doc README.md
%changelog
* Sun Apr 26 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.2.2-1mamba
- package created by autospec