rpms/buildsys-build-rpmfusion/F-17 buildsys-build-rpmfusion-kerneldevpkgs-current, 1.56, 1.57 buildsys-build-rpmfusion.spec, 1.70, 1.71
by Nicolas Chauvet
Author: kwizart
Update of /cvs/free/rpms/buildsys-build-rpmfusion/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv4427
Modified Files:
buildsys-build-rpmfusion-kerneldevpkgs-current
buildsys-build-rpmfusion.spec
Log Message:
* Thu Nov 01 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:17-26
- rebuild for kernel 3.6.5-1.fc17
Index: buildsys-build-rpmfusion-kerneldevpkgs-current
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-17/buildsys-build-rpmfusion-kerneldevpkgs-current,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- buildsys-build-rpmfusion-kerneldevpkgs-current 23 Oct 2012 15:37:17 -0000 1.56
+++ buildsys-build-rpmfusion-kerneldevpkgs-current 1 Nov 2012 15:59:05 -0000 1.57
@@ -1,3 +1,3 @@
-3.6.3-1.fc17
-3.6.3-1.fc17smp
-3.6.3-1.fc17PAE
+3.6.5-1.fc17
+3.6.5-1.fc17smp
+3.6.5-1.fc17PAE
Index: buildsys-build-rpmfusion.spec
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-17/buildsys-build-rpmfusion.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- buildsys-build-rpmfusion.spec 23 Oct 2012 15:37:17 -0000 1.70
+++ buildsys-build-rpmfusion.spec 1 Nov 2012 15:59:05 -0000 1.71
@@ -3,7 +3,7 @@
Name: buildsys-build-%{repo}
Epoch: 10
Version: 17
-Release: 25
+Release: 26
Summary: Tools and files used by the %{repo} buildsys
Group: Development/Tools
@@ -86,6 +86,9 @@
%changelog
+* Thu Nov 01 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:17-26
+- rebuild for kernel 3.6.5-1.fc17
+
* Tue Oct 23 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:17-25
- rebuild for kernel 3.6.3-1.fc17
12 years
rpms/sox-plugins-freeworld/F-18 01-Don-t-build-libgsm-avoid-no-portability-warnings.patch, NONE, 1.1 07-Dont-configure-libgsm.patch, NONE, 1.1 07-dont-configure-external-components.patch, NONE, 1.1 sources, 1.2, 1.3 sox-plugins-freeworld.spec, 1.2, 1.3 01-making-autoreconf-possible.patch, 1.1, NONE 02-reconfigured-using-autoreconf.patch, 1.1, NONE 03-adding-support-for-without-lpc.patch, 1.1, NONE 04-nuking-libgsm-from-build-system.patch, 1.1, NONE 06-fix-compile-error.patch, 1.1, NONE 07-ignore-internal-li
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/sox-plugins-freeworld/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv564
Modified Files:
sources sox-plugins-freeworld.spec
Added Files:
01-Don-t-build-libgsm-avoid-no-portability-warnings.patch
07-Dont-configure-libgsm.patch
07-dont-configure-external-components.patch
Removed Files:
01-making-autoreconf-possible.patch
02-reconfigured-using-autoreconf.patch
03-adding-support-for-without-lpc.patch
04-nuking-libgsm-from-build-system.patch
06-fix-compile-error.patch 07-ignore-internal-libgsm.patch
Log Message:
* Sun Oct 28 2012 Richard Shaw <hobbes1069(a)gmail.com> - 14.4.0-1
- Update to latest upstream release.
01-Don-t-build-libgsm-avoid-no-portability-warnings.patch:
Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE 01-Don-t-build-libgsm-avoid-no-portability-warnings.patch ---
>From eedd4cd96effe6aca62d432c2b2b1e2be27a0a74 Mon Sep 17 00:00:00 2001
From: Alec Leamas <alec(a)tests.notat.diaspora.com>
Date: Tue, 30 Oct 2012 20:33:27 +0100
Subject: [PATCH 1/2] Don't build libgsm, avoid no-portability warnings.
---
Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 089b014..36bcbe9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,9 +1,10 @@
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
+AUTOMAKE_OPTIONS = -Wno-portability
-SUBDIRS = lpc10 libgsm src
-DIST_SUBDIRS = lpc10 libgsm src msvc9 msvc10
+SUBDIRS = lpc10 src
+DIST_SUBDIRS = lpc10 src msvc9 msvc10
RM = rm -f
--
1.7.11.4
07-Dont-configure-libgsm.patch:
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- NEW FILE 07-Dont-configure-libgsm.patch ---
>From 8b418699dacae8cdab1d5b72fdf9b1bcf31f6133 Mon Sep 17 00:00:00 2001
From: Alec Leamas <alec(a)tests.notat.diaspora.com>
Date: Tue, 30 Oct 2012 20:38:19 +0100
Subject: [PATCH] Dont configure libgsm
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9117695..d141104 100644
--- a/configure.ac
+++ b/configure.ac
@@ -603,7 +603,7 @@ AC_SUBST(PLAYRECLINKS)
AM_CONDITIONAL(STATIC_LIBSOX_ONLY, test "$enable_shared" = "no" -a "$enable_static" = "yes")
dnl Generate output files.
-AC_CONFIG_FILES(Makefile src/Makefile libgsm/Makefile lpc10/Makefile msvc9/Makefile msvc10/Makefile sox.pc)
+AC_CONFIG_FILES(Makefile src/Makefile lpc10/Makefile msvc9/Makefile msvc10/Makefile sox.pc)
AC_OUTPUT
if test "$using_gsm" != "no"; then
--
1.7.11.4
07-dont-configure-external-components.patch:
configure.ac | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
--- NEW FILE 07-dont-configure-external-components.patch ---
>From 9fbca4af083e29edacb620537466d1cd20914c63 Mon Sep 17 00:00:00 2001
From: Alec Leamas <alec(a)tests.notat.diaspora.com>
Date: Tue, 30 Oct 2012 20:38:19 +0100
Subject: [PATCH 3/3] Don't configure out-of-tree components.
Avoid creation of Makefile in components where external ones are
instead (lpc10, libgsm).
---
configure.ac | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 9117695..bfc804f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -602,23 +602,23 @@ AC_SUBST(PLAYRECLINKS)
AM_CONDITIONAL(STATIC_LIBSOX_ONLY, test "$enable_shared" = "no" -a "$enable_static" = "yes")
-dnl Generate output files.
-AC_CONFIG_FILES(Makefile src/Makefile libgsm/Makefile lpc10/Makefile msvc9/Makefile msvc10/Makefile sox.pc)
-AC_OUTPUT
-
if test "$using_gsm" != "no"; then
if test "$found_libgsm" = "yes"; then
gsm_option="(external)"
+ gsm_makefile=""
else
gsm_option="(in-tree)"
+ gsm_makefile="libgsm/Makefile"
fi
fi
if test "$using_lpc10" != "no"; then
if test "$found_liblpc10" = "yes"; then
lpc10_option="(external)"
+ lpc10_makefile=""
else
lpc10_option="(in-tree)"
+ lpc10_makefile="lpc10/Makefile"
fi
fi
@@ -628,6 +628,11 @@ else
pkgconfig_option="$with_pkgconfigdir"
fi
+dnl Generate output files.
+AC_CONFIG_FILES(Makefile src/Makefile $libgsm_makefile $lpc10_makefile msvc9/Makefile msvc10/Makefile sox.pc)
+
+AC_OUTPUT
+
# Report configuration.
echo
echo "BUILD OPTIONS"
--
1.7.11.4
Index: sources
===================================================================
RCS file: /cvs/free/rpms/sox-plugins-freeworld/F-18/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 24 Mar 2012 19:46:44 -0000 1.2
+++ sources 1 Nov 2012 14:15:07 -0000 1.3
@@ -1 +1 @@
-e9d35cf3b0f8878596e0b7c49f9e8302 sox-14.3.2.tar.gz
+b0c15cff7a4ba0ec17fdc74e6a1f9cf1 sox-14.4.0.tar.gz
Index: sox-plugins-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/sox-plugins-freeworld/F-18/sox-plugins-freeworld.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sox-plugins-freeworld.spec 24 Mar 2012 20:02:48 -0000 1.2
+++ sox-plugins-freeworld.spec 1 Nov 2012 14:15:07 -0000 1.3
@@ -2,20 +2,18 @@
Summary: Additional (free) codecs for sox
Name: sox-plugins-freeworld
-Version: 14.3.2
-Release: 3%{?dist}
+Version: 14.4.0
+Release: 1%{?dist}
# sox.c is GPLv2, all other is LGPL2.1
License: GPLv2+ and LGPLv2+
Group: Applications/Multimedia
URL: http://sox.sourceforge.net/
-Source0: http://prdownloads.sourceforge.net/sox/sox-%{version}.tar.gz
-Patch0: 01-making-autoreconf-possible.patch
-Patch1: 02-reconfigured-using-autoreconf.patch
-Patch2: 03-adding-support-for-without-lpc.patch
-Patch3: 04-nuking-libgsm-from-build-system.patch
-Patch4: 06-fix-compile-error.patch
-Patch5: 07-ignore-internal-libgsm.patch
+Source0: http://downloads.sourceforge.net/%{realname}/sox-%{version}.tar.gz
+
+Patch0: 01-Don-t-build-libgsm-avoid-no-portability-warnings.patch
+#Patch1: 07-dont-configure-external-components.patch
+Patch1: 07-Dont-configure-libgsm.patch
BuildRequires: libvorbis-devel
BuildRequires: alsa-lib-devel, libtool-ltdl-devel, libsamplerate-devel
@@ -45,19 +43,13 @@
%setup -q -n %{realname}-%{version}
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-# Only appliy for ffmpeg 0.8 and above
-%if %fedora >= 16
-%patch4 -p1
-%endif
-%patch5 -p1
# Remove bundled libs
rm -rf libgsm
# lpc10 has no upstream so consider it a private lib.
# See http://lists.rpmfusion.org/pipermail/rpmfusion-developers/2012-March/0120...
#rm -rf lpc10
+rm -f m4/libtool.m4
%build
@@ -65,7 +57,6 @@
autoreconf -if
%configure --enable-static=no \
--with-dyn-default \
- --with-lpc10 \
--with-gsm=dyn \
--includedir=%{_includedir}/sox \
--with-distro=Fedora
@@ -93,6 +84,9 @@
%changelog
+* Sun Oct 28 2012 Richard Shaw <hobbes1069(a)gmail.com> - 14.4.0-1
+- Update to latest upstream release.
+
* Thu Mar 22 2012 Richard Shaw <hobbes1069(a)gmail.com> - 14.3.2-3
- Add patches to deal with bundled libraries.
--- 01-making-autoreconf-possible.patch DELETED ---
--- 02-reconfigured-using-autoreconf.patch DELETED ---
--- 03-adding-support-for-without-lpc.patch DELETED ---
--- 04-nuking-libgsm-from-build-system.patch DELETED ---
--- 06-fix-compile-error.patch DELETED ---
--- 07-ignore-internal-libgsm.patch DELETED ---
12 years
rpms/edgar/F-17 edgar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/edgar/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19332/F-17
Modified Files:
.cvsignore sources
Added Files:
edgar.spec
Log Message:
First import
--- NEW FILE edgar.spec ---
Name: edgar
Version: 1.04
Release: 2%{?dist}
Summary: A platform game
# edgar contains sounds licensed under a "bad" Fedora license:
# https://bugzilla.redhat.com/show_bug.cgi?id=816565
License: GPLv2+ and freely redistributable, no commercial use
URL: http://www.parallelrealities.co.uk/p/legend-of-edgar.html
Source0: http://downloads.sourceforge.net/legendofedgar/%{name}/%{name}-%{version}...
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
BuildRequires: zlib-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
When his father fails to return home after venturing out one dark and stormy
night, Edgar fears the worst: he has been captured by the evil sorcerer who
lives in a fortress beyond the forbidden swamp.
Donning his armor, Edgar sets off to rescue him, but his quest will not be
easy...
%prep
%setup -q
# Fix Makefile
sed -i 's:$(PREFIX)/share/games/edgar/:$(PREFIX)/share/edgar/:' \
makefile
# Use standard Fedora CFLAGS to compile
sed -i 's/^CFLAGS = -Wall -pedantic/CFLAGS +=/' makefile
# Fix end-of-line encoding
for txtfile in src/graphics/font.h src/system/random.h
do
sed -i 's/\r//' $txtfile
done
# Fix premissions
for txtfile in src/graphics/font.h src/graphics/font.c src/system/random.h \
src/system/random.c
do
chmod 644 $txtfile
done
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} \
BIN_DIR=%{buildroot}%{_bindir}/ \
DATA_DIR=%{buildroot}%{_datadir}/%{name}/ \
DOC_DIR=%{buildroot}%{_docdir}/%{name}-%{version}/
desktop-file-install \
--delete-original \
--remove-key Encoding \
--add-category=ActionGame \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%doc %{_docdir}/%{name}-%{version}
%changelog
* Sun Oct 28 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.04-2
- Fixed license (BZ #2378)
* Sat Sep 22 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.04-1
- Updated to upstream 1.04-1
* Wed Aug 08 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.03-1
- Updated to upstream 1.03-1
* Sat Jun 23 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.02-2
- Updated to upstream 1.02-2
* Sun Jun 17 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.02-1
- Updated to upstream 1.02-1
* Wed May 16 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.01-1
- Updated to upstream 1.01-2
* Thu Apr 26 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.00-1
- First release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/edgar/F-17/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Oct 2012 20:42:25 -0000 1.1
+++ .cvsignore 1 Nov 2012 09:24:43 -0000 1.2
@@ -0,0 +1 @@
+edgar-1.04-1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/edgar/F-17/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Oct 2012 20:42:26 -0000 1.1
+++ sources 1 Nov 2012 09:24:43 -0000 1.2
@@ -0,0 +1 @@
+bce13737cf40ac2a46c3d8175520f2fb edgar-1.04-1.tar.gz
12 years
rpms/edgar/F-18 edgar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/edgar/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19134/F-18
Modified Files:
.cvsignore sources
Added Files:
edgar.spec
Log Message:
First import
--- NEW FILE edgar.spec ---
Name: edgar
Version: 1.04
Release: 2%{?dist}
Summary: A platform game
# edgar contains sounds licensed under a "bad" Fedora license:
# https://bugzilla.redhat.com/show_bug.cgi?id=816565
License: GPLv2+ and freely redistributable, no commercial use
URL: http://www.parallelrealities.co.uk/p/legend-of-edgar.html
Source0: http://downloads.sourceforge.net/legendofedgar/%{name}/%{name}-%{version}...
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
BuildRequires: zlib-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
When his father fails to return home after venturing out one dark and stormy
night, Edgar fears the worst: he has been captured by the evil sorcerer who
lives in a fortress beyond the forbidden swamp.
Donning his armor, Edgar sets off to rescue him, but his quest will not be
easy...
%prep
%setup -q
# Fix Makefile
sed -i 's:$(PREFIX)/share/games/edgar/:$(PREFIX)/share/edgar/:' \
makefile
# Use standard Fedora CFLAGS to compile
sed -i 's/^CFLAGS = -Wall -pedantic/CFLAGS +=/' makefile
# Fix end-of-line encoding
for txtfile in src/graphics/font.h src/system/random.h
do
sed -i 's/\r//' $txtfile
done
# Fix premissions
for txtfile in src/graphics/font.h src/graphics/font.c src/system/random.h \
src/system/random.c
do
chmod 644 $txtfile
done
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} \
BIN_DIR=%{buildroot}%{_bindir}/ \
DATA_DIR=%{buildroot}%{_datadir}/%{name}/ \
DOC_DIR=%{buildroot}%{_docdir}/%{name}-%{version}/
desktop-file-install \
--delete-original \
--remove-key Encoding \
--add-category=ActionGame \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%doc %{_docdir}/%{name}-%{version}
%changelog
* Sun Oct 28 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.04-2
- Fixed license (BZ #2378)
* Sat Sep 22 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.04-1
- Updated to upstream 1.04-1
* Wed Aug 08 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.03-1
- Updated to upstream 1.03-1
* Sat Jun 23 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.02-2
- Updated to upstream 1.02-2
* Sun Jun 17 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.02-1
- Updated to upstream 1.02-1
* Wed May 16 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.01-1
- Updated to upstream 1.01-2
* Thu Apr 26 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.00-1
- First release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/edgar/F-18/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Oct 2012 20:42:25 -0000 1.1
+++ .cvsignore 1 Nov 2012 09:24:12 -0000 1.2
@@ -0,0 +1 @@
+edgar-1.04-1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/edgar/F-18/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Oct 2012 20:42:26 -0000 1.1
+++ sources 1 Nov 2012 09:24:12 -0000 1.2
@@ -0,0 +1 @@
+bce13737cf40ac2a46c3d8175520f2fb edgar-1.04-1.tar.gz
12 years
rpms/edgar/devel edgar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/edgar/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv18884/devel
Modified Files:
.cvsignore sources
Added Files:
edgar.spec
Log Message:
First import
--- NEW FILE edgar.spec ---
Name: edgar
Version: 1.04
Release: 2%{?dist}
Summary: A platform game
# edgar contains sounds licensed under a "bad" Fedora license:
# https://bugzilla.redhat.com/show_bug.cgi?id=816565
License: GPLv2+ and freely redistributable, no commercial use
URL: http://www.parallelrealities.co.uk/p/legend-of-edgar.html
Source0: http://downloads.sourceforge.net/legendofedgar/%{name}/%{name}-%{version}...
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
BuildRequires: zlib-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
When his father fails to return home after venturing out one dark and stormy
night, Edgar fears the worst: he has been captured by the evil sorcerer who
lives in a fortress beyond the forbidden swamp.
Donning his armor, Edgar sets off to rescue him, but his quest will not be
easy...
%prep
%setup -q
# Fix Makefile
sed -i 's:$(PREFIX)/share/games/edgar/:$(PREFIX)/share/edgar/:' \
makefile
# Use standard Fedora CFLAGS to compile
sed -i 's/^CFLAGS = -Wall -pedantic/CFLAGS +=/' makefile
# Fix end-of-line encoding
for txtfile in src/graphics/font.h src/system/random.h
do
sed -i 's/\r//' $txtfile
done
# Fix premissions
for txtfile in src/graphics/font.h src/graphics/font.c src/system/random.h \
src/system/random.c
do
chmod 644 $txtfile
done
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} \
BIN_DIR=%{buildroot}%{_bindir}/ \
DATA_DIR=%{buildroot}%{_datadir}/%{name}/ \
DOC_DIR=%{buildroot}%{_docdir}/%{name}-%{version}/
desktop-file-install \
--delete-original \
--remove-key Encoding \
--add-category=ActionGame \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%doc %{_docdir}/%{name}-%{version}
%changelog
* Sun Oct 28 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.04-2
- Fixed license (BZ #2378)
* Sat Sep 22 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.04-1
- Updated to upstream 1.04-1
* Wed Aug 08 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.03-1
- Updated to upstream 1.03-1
* Sat Jun 23 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.02-2
- Updated to upstream 1.02-2
* Sun Jun 17 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.02-1
- Updated to upstream 1.02-1
* Wed May 16 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.01-1
- Updated to upstream 1.01-2
* Thu Apr 26 2012 Andrea Musuruane <musuruan(a)gmail.com> - 1.00-1
- First release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/edgar/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Oct 2012 20:42:25 -0000 1.1
+++ .cvsignore 1 Nov 2012 09:22:38 -0000 1.2
@@ -0,0 +1 @@
+edgar-1.04-1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/edgar/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Oct 2012 20:42:26 -0000 1.1
+++ sources 1 Nov 2012 09:22:38 -0000 1.2
@@ -0,0 +1 @@
+bce13737cf40ac2a46c3d8175520f2fb edgar-1.04-1.tar.gz
12 years