LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xsidplay.spec of Package xsidplay (Project DISCONTINUED:openSUSE:11.1)

#
# spec file for package xsidplay (Version 1.6.5.2)
#
# Copyright (c) 2008 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:           xsidplay
BuildRequires:  arts-devel libdrm-devel libjpeg-devel libsidplay-devel update-desktop-files
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Players
AutoReqProv:    on
Version:        1.6.5.2
Release:        174
Summary:        X11 player for C64 music files
Source:         xsidplay-%{version}.tar.bz2
Patch:          xsidplay-1.6.5.2-gcc4.patch
Patch1:         xsidplay-1.6.5.2-ac.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package allows you to play music from C64 games and demos on your
PC under the X11 environment.

You can find a comprehensive archive on the WWW at
http://www.hvsc.c64.org/



Authors:
--------
    Michael Schwendt <sidplay@geocities.com>

%prep
%setup -q
%patch
%patch1

%build
autoreconf --force --install
QTDIR=/usr/lib/qt3 CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS -Wno-deprecated" \
./configure --prefix=/usr \
	--datadir=/usr/share/icons \
	--mandir=%{_mandir} \
	--with-sidplay2 \
	--with-sidbuilders=/usr \
	--with-builders-lib=/usr/%_lib/sidplay/builders \
	--with-qt-dir=/usr/lib/qt3 \
	--with-qt-libraries=/usr/lib/qt3/%_lib \
	--with-qt3
make

%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file -i %name AudioVideo Player
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 %name.xpm $RPM_BUILD_ROOT/usr/share/pixmaps

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README README.QT README.sidplay2 STIL.faq
/usr/bin/xsidplay
%{_mandir}/man1/xsidplay.1.gz
/usr/share/applications/*
/usr/share/pixmaps/*
%dir /usr/share/icons/xsidplay
/usr/share/icons/xsidplay/xsidplay.xpm
/usr/share/icons/xsidplay/xsidplay.xpm
%dir /usr/share/icons/xsidplay/mini
/usr/share/icons/xsidplay/mini/xsidplay.xpm

%changelog
* Wed Apr 16 2008 schwab@suse.de
- Fix configure script.
* Mon Oct 22 2007 ro@suse.de
- fix build with gcc-4.3
* Wed May 16 2007 ro@suse.de
- use libsidplay-devel in Buildrequires
* Tue Dec 19 2006 ro@suse.de
- fix a compiler warning (#219251)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon May 30 2005 ro@suse.de
- fix build with current gcc
* Fri Jan 21 2005 ro@suse.de
- update to 1.6.5.2
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Wed Oct 08 2003 ro@suse.de
- update to 1.6.5.1a
* Mon Oct 06 2003 ro@suse.de
- added glib2, glib2-devel to neededforbuild (arts)
* Fri Aug 15 2003 adrian@suse.de
- install desktop file and icon
* Tue Jun 17 2003 ro@suse.de
- added directories to filelist
* Mon Jan 27 2003 ro@suse.de
- fix build on lib64 platforms
* Fri Jan 24 2003 ro@suse.de
- update to 1.6.5pre
* Mon Dec 02 2002 ro@suse.de
- fix build for gcc-3.3
* Fri Nov 15 2002 ro@suse.de
- build with qt3
* Fri May 31 2002 ro@suse.de
- fix build on lib64 platforms
* Tue Apr 23 2002 ro@suse.de
- call autoreconf
- fix build with gcc-3.1
* Mon Dec 10 2001 uli@suse.de
- fixed to build with sidplay2
* Tue Dec 04 2001 uli@suse.de
- update -> 1.6.4.3 (mostly bugfixes, minor feature enhancements)
* Fri Nov 09 2001 ro@suse.de
- use qt-devel-packages
* Tue Jul 24 2001 uli@suse.de
- update -> 1.6.0
* Mon Jul 09 2001 kukuk@suse.de
- Add freetype2 to needed for build
* Mon Mar 19 2001 ro@suse.de
- fixed neededforbuild
* Wed Feb 28 2001 uli@suse.de
- update -> 1.6b11
* Fri Jan 28 2000 ro@suse.de
- fixed to compile
* Tue Oct 26 1999 uli@suse.de
- update -> 1.3.8
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Mar 17 1999 uli@suse.de
- update 1.3.4 -> 1.3.5
* Sat Feb 20 1999 uli@suse.de
- new package