68 lines
1.8 KiB
RPMSpec
68 lines
1.8 KiB
RPMSpec
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
|