Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jura12
avesta-ttf-fonts
avesta-ttf-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File avesta-ttf-fonts.spec of Package avesta-ttf-fonts
# # spec file for package avesta-ttf-fonts (Version 1.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: avesta-ttf-fonts BuildRequires: unzip %if %suse_version > 1020 BuildRequires: xorg-x11-devel %else BuildRequires: XFree86-devel %endif %if "%(xft-config --prefix)" == "/usr" %define fontdir /usr/share/fonts/truetype %else %define fontdir /usr/X11R6/lib/X11/fonts/truetype %endif License: Artistic License, GNU General Public License (GPL) Group: System/X11/Fonts Autoreqprov: on Prereq: %suseconfig_fonts_prereq Version: 1.0 Release: 0.1 Summary: Avesta TrueType Art Fonts # Fonts from http://minerva.stkate.edu/offices/academic/classics.nsf/pages/homepage # plus some other fonts and doc # Licensed under GPL Source1: avesta-ttf-fonts.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description 13 free fonts in True Type format. Most of them are in the art style and unusable as desktop fonts, but are great for any poster or illustration. The fonts are copyrighted under the GPL or a Freeware license, but donations are requested by the artists. Look in /usr/share/doc/packages/avesta-ttf-fonts/ for further information. Authors: -------- Yuri Ivanov <azarpadyavand@zoroastrian.ru> %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{fontdir}/ mkdir -p $RPM_BUILD_ROOT/%_docdir/%name pushd $RPM_BUILD_ROOT%{fontdir}/ for i in %SOURCE1 \ ; do unzip -o "$i" done for i in *.TTF ; do mv "$i" "`echo $i|tr '[A-Z]' '[a-z]'`" done install -m 0644 *.txt $RPM_BUILD_ROOT/%_docdir/%name rm $RPM_BUILD_ROOT%{fontdir}/*.txt install -m 0644 *.html $RPM_BUILD_ROOT/%_docdir/%name rm $RPM_BUILD_ROOT%{fontdir}/*.html install -m 0644 *.jpeg $RPM_BUILD_ROOT/%_docdir/%name rm $RPM_BUILD_ROOT%{fontdir}/*.jpeg popd #mkdir Isabella #pushd Isabella # tar xfvz $RPM_SOURCE_DIR/Isabella.ttf.tar.gz # install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir} # install -m 0644 README.txt $RPM_BUILD_ROOT/%_docdir/%name/README.Isabella.txt # install -m 0644 COPYING $RPM_BUILD_ROOT/%_docdir/%name/COPYING.Isabella #popd #mkdir latex-xft #pushd latex-xft # tar xfvz $RPM_SOURCE_DIR/latex-xft-fonts-0.1.tar.gz # install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir} # install -m 0644 readme.latex-fonts $RPM_BUILD_ROOT/%_docdir/%name #popd %clean rm -rf $RPM_BUILD_ROOT %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %files %defattr(0644,root,root,755) %_docdir/%name %dir %{fontdir}/ %{fontdir}/* %changelog * Sat May 16 2009 azarpadyavand@zoroastrian.ru - first 1.0 release
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