rpms/fuse-emulator/F-9 generate-tarball.sh, NONE, 1.1 .cvsignore, 1.4, 1.5 fuse-emulator.spec, 1.7, 1.8 sources, 1.4, 1.5 fuse-emulator-0.9.0-noroms.patch, 1.1, NONE
Lucian Langa (lucilanga)
fedora-extras-commits at redhat.com
Sat Aug 2 09:35:16 UTC 2008
Author: lucilanga
Update of /cvs/pkgs/rpms/fuse-emulator/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8974
Modified Files:
.cvsignore fuse-emulator.spec sources
Added Files:
generate-tarball.sh
Removed Files:
fuse-emulator-0.9.0-noroms.patch
Log Message:
* Sat Aug 2 2008 Lucian Langa <cooly at gnome.eu.org> - 0.9.0-3
- strip source before uploading it
- fix for BADSOURCE
--- NEW FILE generate-tarball.sh ---
#!/bin/sh
VERSION=$1
tar -xzvf fuse-$VERSION.tar.gz
rm fuse-$VERSION/roms/*.rom
sed -i -e 's/roms \//' fuse-$VERSION/Makefile.am
sed -i -e 's/roms \//' fuse-$VERSION/Makefile.in
sed -i -e 's/roms //' fuse-$VERSION/Makefile.in
tar -czvf fuse-$VERSION-noroms.tar.gz fuse-$VERSION
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/fuse-emulator/F-9/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 7 Jan 2008 20:41:30 -0000 1.4
+++ .cvsignore 2 Aug 2008 09:34:46 -0000 1.5
@@ -1 +1 @@
-fuse-0.9.0.tar.gz
+fuse-0.9.0-noroms.tar.gz
Index: fuse-emulator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fuse-emulator/F-9/fuse-emulator.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- fuse-emulator.spec 19 Feb 2008 16:39:34 -0000 1.7
+++ fuse-emulator.spec 2 Aug 2008 09:34:46 -0000 1.8
@@ -1,17 +1,20 @@
Name: fuse-emulator
Version: 0.9.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Free UNIX Spectrum Emulator
Group: Applications/Emulators
License: GPLv2+
URL: http://fuse-emulator.sourceforge.net
-Source0: http://downloads.sourceforge.net/%{name}/fuse-%{version}.tar.gz
-Patch0: fuse-emulator-0.9.0-noroms.patch
-# 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
+Source0: fuse-%{version}-noroms.tar.gz
+# we use
+# this script to remove the roms binary before shipping it.
+# Download the upstream tarball and invoke this script while in the
+# tarball's directory:
+# ./generate-tarball.sh 0.9.0
+Source1: generate-tarball.sh
+Source2: fuse.png
+Source3: README.z88sdk
+Source4: README_fuseroms.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
BuildRequires: bzip2-devel
@@ -36,7 +39,6 @@
%prep
%setup -qn fuse-%{version}
-%patch0 -p1
# Filter unwanted dependency in the debuginfo rpm
cat << \EOF > %{name}-req
@@ -60,9 +62,9 @@
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
-install -pm0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
-install -pm0644 %{SOURCE2} .
+install -pm0644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
install -pm0644 %{SOURCE3} .
+install -pm0644 %{SOURCE4} .
%clean
@@ -79,6 +81,10 @@
%changelog
+* Sat Aug 2 2008 Lucian Langa <cooly at gnome.eu.org> - 0.9.0-3
+- strip source before uploading it
+- fix for BADSOURCE
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.9.0-2
- Autorebuild for GCC 4.3
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fuse-emulator/F-9/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 7 Jan 2008 20:41:30 -0000 1.4
+++ sources 2 Aug 2008 09:34:46 -0000 1.5
@@ -1 +1 @@
-85a692660995537453365d39acde89e4 fuse-0.9.0.tar.gz
+9277805614f34110661ed30d275d967c fuse-0.9.0-noroms.tar.gz
--- fuse-emulator-0.9.0-noroms.patch DELETED ---
More information about the fedora-extras-commits
mailing list