oxygen-fonts/oxygen-fonts.spec

64 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: oxygen-fonts
Version: 5.4.1
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
%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}.
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/fonts/truetype/oxygen/Oxygen-Sans-Bold.ttf
%{_datadir}/fonts/truetype/oxygen/Oxygen-Sans.ttf
%{_datadir}/fonts/truetype/oxygen/OxygenMono-Regular.ttf
%doc COPYING-OFL COPYING-GPL+FE.txt
%files devel
%defattr(-,root,root)
%{_libdir}/cmake/OxygenFont
%doc README.md
%changelog
* Sat Oct 03 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.4.1-1mamba
- update to 5.4.1
* Sun Apr 26 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.2.2-1mamba
- package created by autospec