Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
vollkorn-fonts
vollkorn-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vollkorn-fonts.spec of Package vollkorn-fonts
# # spec file for package vollkorn-fonts # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define fontname Vollkorn %define fontdir /usr/share/fonts/truetype Name: vollkorn-fonts Version: 2.1 Release: 0 Url: http://friedrichalthausen.de/?page_id=411 Source0: %{fontname}-%{version}.zip PreReq: %suseconfig_fonts_prereq BuildRequires: unzip BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: An every day use free serif font License: OFL-1.1 Group: System/X11/Fonts %description From the Vollkorn webpage: Vollkorn intends to be a quiet, modest, and well working text face. It has dark and meaty serifs and a bouncing and healthy look. It might be used as body type as well as for headlines or titles. »Vollkorn« (pronounced »Follkorn«) is German for »wholemeal« which refers to the old term »Brotschrift«. %prep %setup -T -c %{name} -n %{name} unzip -j %{SOURCE0} chmod 644 *.txt *.ttf # Remove DOS line endings: for i in *.txt; do sed -i 's/.$//' $i done [ -e __MACOSX ] && rm -rf __MACOSX/ %build # -- nop -- %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT; %{__mkdir_p} $RPM_BUILD_ROOT%{fontdir}/ %{__install} -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir} %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT; %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %files %defattr(-, root,root) %doc *.txt %dir %{fontdir}/ %{fontdir}/* %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