Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
SDL_bgi
SDL_bgi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SDL_bgi.spec of Package SDL_bgi
%global debug_package %{nil} Summary: BGI-compatible 2D graphics C library Name: SDL_bgi Version: 2.2.4 Release: 1 License: ZLib Group: Libraries Source: https://sourceforge.net/projects/libxbgi/files/%{name}-%{version}.tar.gz URL: http://libxbgi.sourceforge.net/ BuildRequires: SDL2-devel %description This package contains a Borland Graphics Interface (BGI) emulation library based on SDL2. This library strictly emulates most BGI functions, making it possible to compile SDL versions of programs written for Turbo/Borland C. ARGB extensions and basic mouse support are also implemented; further, native SDL2 functions may be used in SDL_bgi programs. %prep %setup -q %build cd src make %install rm -rf $RPM_BUILD_ROOT cd src mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/ mkdir -p $RPM_BUILD_ROOT/%{_includedir} mkdir -p $RPM_BUILD_ROOT/%{_includedir}/SDL2/ cp libSDL_bgi.so $RPM_BUILD_ROOT/%{_prefix}/lib/ cp SDL_bgi.h $RPM_BUILD_ROOT/%{_includedir}/SDL2/ %clean rm -rf $RPM_BUILD_ROOT %post if [ -r /usr/include/graphics.h ]; then echo "graphics.h detected - skipping"; else echo "creating symbolic link graphics.h -> SDL_bgi.h"; ln -sf /usr/include/SDL2/SDL_bgi.h /usr/include/graphics.h fi %%postun if [ -r /usr/include/graphics.h ]; then echo "Warning - /usr/include/graphics.h not deleted." fi %files %doc AUTHORS ChangeLog doc/* INSTALL.md LICENSE README.md test/ TODO VERSION %attr(755,root,root) %{_prefix}/lib/* %attr(644,root,root) %{_includedir}/SDL2/* %changelog * Tue Nov 20 2018 Huaren Zhong <huaren.zhong@gmail.com> 2.2.4 - Rebuild for Fedora * Thu Nov 6 2014 Guido Gonzato <guido.gonzato at gmail.com> - This is a generic rpm, buildable on Ubuntu
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