rpms/fuse-emulator/devel fuse-emulator.spec,1.1,1.2

Ian Chapman (oddsocks) fedora-extras-commits at redhat.com
Sat Jul 7 23:22:34 UTC 2007


Author: oddsocks

Update of /cvs/pkgs/rpms/fuse-emulator/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16505

Modified Files:
	fuse-emulator.spec 
Log Message:



Index: fuse-emulator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fuse-emulator/devel/fuse-emulator.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fuse-emulator.spec	7 Mar 2006 22:16:52 -0000	1.1
+++ fuse-emulator.spec	7 Jul 2007 23:21:58 -0000	1.2
@@ -1,71 +1,76 @@
-Summary: The Free UNIX Spectrum Emulator
-Name: fuse-emulator
-Version: 0.7.0
-Release: 6%{?dist}
-License: GPL
-Group: Applications/Emulators
-Source: http://kent.dl.sourceforge.net/sourceforge/fuse-emulator/fuse-%{version}.tar.gz
-Source1: fuse.png
-Source2: README.z88sdk
-Patch: fuse-sound.patch
-URL: http://fuse-emulator.sourceforge.net/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libdsk-devel
-BuildRequires: lib765-devel
-BuildRequires: gtk2-devel
-BuildRequires: libxml2-devel
-BuildRequires: libpng-devel
-BuildRequires: libspectrum-devel
-BuildRequires: bison
-BuildRequires: flex
-
-# The SRPM created from this spec file deliberately does not include the 
-# ROMS required to run the emulator. For the location of the ROMS, see
-# the ROMS readme file.
+Name:           fuse-emulator
+Version:        0.8.0.1
+Release:        1%{?dist}
+Summary:        The Free UNIX Spectrum Emulator
+Group:          Applications/Emulators
+License:        GPL
+URL:            http://fuse-emulator.sourceforge.net
+Source0:        http://dl.sf.net/fuse-emulator/fuse-%{version}.tar.gz
+# The source has deliberately had the ROMS removed. For the location of the
+# ROMS, please see the ROMS readme file.
+Source1:        fuse.png
+Source2:        README.z88sdk
+Source3:        README_fuseroms.fedora
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  gtk2-devel
+BuildRequires:  lib765-devel
+BuildRequires:  libdsk-devel
+BuildRequires:  libICE-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libspectrum-devel >= 0.3.0.1
+BuildRequires:  libxml2-devel
+BuildRequires:  bison
+BuildRequires:  flex
+Requires:       hicolor-icon-theme
 
 %description
 Fuse is a spectrum emulator which emulates multiple models, including the 16K,
 48K, 128K, +2, +2A, +3 and various clones.
 
+
 %prep
-rm -rf ${RPM_BUILD_ROOT}
-%setup -q -n fuse-%{version}
-%patch -p1 -b sound.c
+%setup -qn fuse-%{version}
+
 
 %build
 %configure
 make %{?_smp_mflags}
 
+
 %install
-rm -rf ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
-mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
-mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/fuse
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
-
-install -m0644 man/fuse.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
-
-install -c fuse ${RPM_BUILD_ROOT}%{_bindir}/fuse
-cp lib/*.z80 ${RPM_BUILD_ROOT}%{_datadir}/fuse/
-cp lib/*.bmp ${RPM_BUILD_ROOT}%{_datadir}/fuse/
-cp lib/*.scr ${RPM_BUILD_ROOT}%{_datadir}/fuse/
-install -m0755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png 
-cp %{SOURCE2} README.z88sdk
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+mkdir -p %{buildroot}%{_datadir}/fuse
+mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
+
+install -pm0755 fuse %{buildroot}%{_bindir}/fuse
+install -pm0644 man/fuse.1 %{buildroot}%{_mandir}/man1
+install -pm0644 lib/*.bmp lib/*.scr %{buildroot}%{_datadir}/fuse/
+cp -a lib/compressed lib/uncompressed %{buildroot}%{_datadir}/fuse/
+install -pm0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
+install -pm0644 %{SOURCE2} .
+install -pm0644 %{SOURCE3} .
+
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf %{buildroot}
+
 
 %files
 %defattr(-,root,root)
 %{_mandir}/man1/fuse.1.gz
 %{_bindir}/fuse
-%{_datadir}/fuse/
-%{_datadir}/pixmaps/%{name}.png
-%doc AUTHORS ChangeLog COPYING README THANKS ROMS README.z88sdk
+%{_datadir}/fuse
+%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
+%doc AUTHORS ChangeLog COPYING README THANKS README.z88sdk README_fuseroms.fedora
+
 
 %changelog
+* Sat Jun 30 2007 Ian Chapman <packages at amiga-hardware.com> 0.8.0.1-1%{?dist}
+- Upgrade to 0.8.0.1
+- Various cleanups to the SPEC including conforming to new guidelines
+
 * Thu Feb 9 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 0.7.0-6
 - Removed pre and post as they were empty
 - Fixed the "fuse-emulator" problem




More information about the scm-commits mailing list