Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ykoba
glyph-keeper
glyph-keeper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glyph-keeper.spec of Package glyph-keeper
# # spec file for package glyph-keeper # # 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/ # Name: glyph-keeper Version: 0.32 Release: 5.1 Summary: Library for text rendering License: Zlib Group: System Environment/Libraries Url: http://kd.lab.nig.ac.jp/glyph-keeper/ #DL-URL: http://kd.lab.nig.ac.jp/%{name}/files/%{name}-%{version}.zip Source: %name-%version.zip Patch0: glyph-keeper-0.29.1-fixes.patch Patch1: glyph-keeper-0.32-so-compat.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL_gfx-devel BuildRequires: allegro-devel BuildRequires: freetype2-devel >= 2.1.10 BuildRequires: unzip %description Glyph Keeper is a library for text rendering. It is written in C and can be used by C or C++ code. Glyph Keeper helps your program to load a font, render character glyphs and write them to the target surface. Right now only Allegro and SDL targets are supported, but there will be more in future. Glyph Keeper uses FreeType as a font engine. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: SDL-devel Requires: allegro-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 -z .fix %patch1 -p1 -z .compat sed -i 's/\r//' docs/*.html *.txt %build make %{?_smp_mflags} -f Makefile.GNU.all TARGET=ALLEGRO FT_LIB=-lfreetype \ OFLAGS="$RPM_OPT_FLAGS -fpic -I/usr/include/freetype2" lib gcc -shared -o libglyph-alleg.so.0 -Wl,-soname,libglyph-alleg.so.0 \ obj/glyph-alleg.o -lfreetype \ `allegro-config --libs | sed 's/-lalleg_unsharable//'` make %{?_smp_mflags} -f Makefile.GNU.all TARGET=SDL FT_LIB=-lfreetype \ OFLAGS="$RPM_OPT_FLAGS -fpic -I/usr/include/freetype2" lib gcc -shared -o libglyph-sdl.so.0 -Wl,-soname,libglyph-sdl.so.0 \ obj/glyph-sdl.o -lfreetype -lSDL -lSDL_gfx %install mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_includedir} install -m 755 libglyph-*.so.0 $RPM_BUILD_ROOT%{_libdir} ln -s libglyph-alleg.so.0 $RPM_BUILD_ROOT%{_libdir}/libglyph-alleg.so ln -s libglyph-sdl.so.0 $RPM_BUILD_ROOT%{_libdir}/libglyph-sdl.so install -m 644 include/glyph.h $RPM_BUILD_ROOT%{_includedir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc license.txt changes.txt authors.txt docs/* %{_libdir}/libglyph-*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/glyph.h %{_libdir}/libglyph-*.so %changelog * Fri Mar 23 2012 jengelh@medozas.de - strip redundant sections/tags * Tue Dec 11 2007 claes.backstrom@fsfe.org - Initial package built from Fedora package (0.32-4)
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