diff --git a/README.md b/README.md index 9bf132b..da51eb4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # 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. + diff --git a/oxygen-fonts.spec b/oxygen-fonts.spec new file mode 100644 index 0000000..7f98045 --- /dev/null +++ b/oxygen-fonts.spec @@ -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 +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 5.2.2-1mamba +- package created by autospec