Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
sourceserifpro-fonts
sourceserifpro-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sourceserifpro-fonts.spec of Package sourceserifpro-fonts
%define realname source-serif-pro %define srcext tar.bz2 # Common info Name: sourceserifpro-fonts Version: 0 Release: %{?extraver:0.}1%{?dist} License: OFL-1.1 Group: System/X11/Fonts URL: https://github.com/adobe/source-serif-pro/ Summary: Source Serif Pro fonts by Adobe # Build-time parameters BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-root Source: %{realname}-%{version}%{?extraver}.%{srcext} %description Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro family. %package -n sourceserifpro-ttf-fonts Group: System/X11/Fonts Summary: Source Serif Pro fonts by Adobe (TTF format) Conflicts: adobe-sourceserifpro-fonts %description -n sourceserifpro-ttf-fonts Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro family. This package contains font in TTF format. %package -n sourceserifpro-otf-fonts Group: System/X11/Fonts Summary: Source Serif Pro fonts by Adobe (OTF format) Conflicts: adobe-sourceserifpro-fonts %description -n sourceserifpro-otf-fonts Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro family. This package contains font in OTF format. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{version}%{?extraver} %build %install %{__install} -d -m755 %{buildroot}%{_datadir}/fonts/truetype/ for face in Black Bold ExtraLight Light Regular Semibold; do %{__install} -m644 Roman/$face/SourceSerifPro-$face.ttf %{buildroot}%{_datadir}/fonts/truetype/ %{__install} -m644 Roman/$face/SourceSerifPro-$face.otf %{buildroot}%{_datadir}/fonts/truetype/ done %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files -n sourceserifpro-ttf-fonts %defattr(-,root,root) %doc LICENSE.txt *.html relnotes.txt %dir %{_datadir}/fonts/truetype/ %{_datadir}/fonts/truetype/*.ttf %files -n sourceserifpro-otf-fonts %defattr(-,root,root) %doc LICENSE.txt *.html relnotes.txt %dir %{_datadir}/fonts/truetype/ %{_datadir}/fonts/truetype/*.otf %post -n sourceserifpro-ttf-fonts if [ -x /usr/bin/fc-cache ] then /usr/bin/fc-cache || : fi %postun -n sourceserifpro-ttf-fonts if [ $1 -eq 0 -a -x /usr/bin/fc-cache ] then /usr/bin/fc-cache || : fi %post -n sourceserifpro-otf-fonts if [ -x /usr/bin/fc-cache ] then /usr/bin/fc-cache || : fi %postun -n sourceserifpro-otf-fonts if [ $1 -eq 0 -a -x /usr/bin/fc-cache ] then /usr/bin/fc-cache || : fi %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor