Projects
Games
pcsxr
pcsxr.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pcsxr.spec of Package pcsxr (Revision 2)
Currently displaying revision
2
,
Show latest
# # spec file for package pcsxr # # Copyright (c) 2011 Guido Berhoerster. # # 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: pcsxr Version: 1.9.92 Release: 0 License: GPL-2.0+ Summary: PlayStation Emulator Url: http://pcsxr.codeplex.com/ Group: System/Emulators/Other Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE pcsxr-1.9.92-change-plugin-path.patch gber@opensuse.org -- Installs plugins in libdir/psemu Patch0: pcsxr-1.9.92-change-plugin-path.patch # PATCH-FIX-UPSTREAM pcsxr-1.9.92-fix-int-to-pointer-warning.patch gber@opensuse.org -- Fixes implicit integer to pointer conversion warnings by removing a superfluous wrapper function Patch1: pcsxr-1.9.92-fix-int-to-pointer-warning.patch # PATCH-FIX-UPSTREAM pcsxr-1.9.92-fix-missing-headers.patch gber@opensuse.org -- Adds missing includes Patch2: pcsxr-1.9.92-fix-missing-headers.patch # PATH-FIX-UPSTREAM pcsxr-1.9.92-fix-ambiguous-expressions.patch gber@opensuse.org -- Fixes a number of ambiguous expressions invoking undefined behavior Patch3: pcsxr-1.9.92-fix-ambiguous-expressions.patch BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libglade-2.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(sdl) BuildRequires: intltool BuildRequires: update-desktop-files BuildRequires: dos2unix BuildRequires: autoconf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PCSX-Reloaded is a free PlayStation Console emulator which has been forked from the PCSX emulator and provides a nicer interface as well as several improvements to stability and functionality. PCSX-Reloaded uses the PSEMU plugin interface for most functionality and already includes a number of plugins. Furthemore, it has a very capable Internal HLE BIOS that can run many games without problems. However, it is also possible for PlayStation owners to use their original BIOS image. %prep %setup -q dos2unix ChangeLog ChangeLog.df find gui libpcsxcore plugins -name '*.[ch]' -exec dos2unix {} + %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" find . -name '*.[ch]' |\ xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" %build export CFLAGS='%{optflags} -fno-strict-aliasing' autoreconf -fi %configure --enable-opengl make %{?_smp_mflags} %install %make_install rm -f %{buildroot}%{_libdir}/psemu/*.la %find_lang pcsx %suse_update_desktop_file -r pcsx System Emulator %post %desktop_database_post %postun %desktop_database_postun %files -f pcsx.lang %defattr(-,root,root) %doc AUTHORS ChangeLog ChangeLog.df NEWS README doc/*.txt %{_bindir}/pcsx %{_libdir}/psemu %{_datadir}/pcsx %{_datadir}/psemu %{_datadir}/applications/pcsx.desktop %{_datadir}/pixmaps/pcsx-icon.png %{_mandir}/man1/pcsx.1* %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.