[roadfighter] Fixed icon directory
by Andrea Musuruane
commit 05972df5b17fe7526e9fc8965542550af105a747
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sat Dec 14 20:05:39 2019 +0100
Fixed icon directory
roadfighter.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/roadfighter.spec b/roadfighter.spec
index 7cb7cab..173e3c4 100644
--- a/roadfighter.spec
+++ b/roadfighter.spec
@@ -1,6 +1,6 @@
Name: roadfighter
Version: 1.0.1269
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: Konami's Road Fighter remake
# http://www.braingames.getput.com/forum/forum_posts.asp?TID=678&PN=1
@@ -57,13 +57,13 @@ install -d %{buildroot}%{_datadir}/%{name}
cp -pr fonts graphics maps sound %{buildroot}%{_datadir}/%{name}
# Install icon
-mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
+mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
convert -resize 48x48 \
-extent 48x48 \
-gravity center \
-background none \
build/linux/%{name}.png \
- %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
+ %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
# Install desktop file
mkdir -p %{buildroot}%{_datadir}/applications
@@ -84,6 +84,9 @@ desktop-file-install \
%changelog
+* Sat Dec 14 2019 Andrea Musuruane <musuruan(a)gmail.com> - 1.0.1269-18
+- Fixed icon directory
+
* Sat Dec 14 2019 Andrea Musuruane <musuruan(a)gmail.com> - 1.0.1269-17
- Spec file clean up
4 years, 11 months
[roadfighter/f31] Spec file clean up
by Andrea Musuruane
Summary of changes:
3cf59a9... Spec file clean up (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 11 months
[roadfighter] Spec file clean up
by Andrea Musuruane
commit 3cf59a96d62584ed9e17b0833432c5c35f786af1
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sat Dec 14 17:02:47 2019 +0100
Spec file clean up
roadfighter.spec | 39 ++++++++++++++-------------------------
sources | 2 +-
2 files changed, 15 insertions(+), 26 deletions(-)
---
diff --git a/roadfighter.spec b/roadfighter.spec
index a65d76d..7cb7cab 100644
--- a/roadfighter.spec
+++ b/roadfighter.spec
@@ -1,13 +1,13 @@
Name: roadfighter
Version: 1.0.1269
-Release: 16%{?dist}
+Release: 17%{?dist}
Summary: Konami's Road Fighter remake
# http://www.braingames.getput.com/forum/forum_posts.asp?TID=678&PN=1
License: Distributable
URL: http://roadfighter.jorito.net/
Source0: http://braingames.jorito.net/roadfighter/downloads/%{name}.src_%{version}...
-Source1: roadfighter.sh
+Source1: %{name}.sh
Patch0: %{name}-1.0.1269-Makefile.patch
Patch1: %{name}-1.0.1269-fix-string-format-bug.patch
Patch2: %{name}-1.0.1269-build-fix.patch
@@ -41,8 +41,8 @@ mv readme.txt.utf8 readme.txt
%build
-export CFLAGS="%{optflags}"
-make %{?_smp_mflags}
+%set_build_flags macro
+%make_build
%install
@@ -58,36 +58,22 @@ cp -pr fonts graphics maps sound %{buildroot}%{_datadir}/%{name}
# Install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
-convert -resize 32x32 \
- -frame 0x3 \
- -mattecolor '#dfdfdf' \
- -transparent '#dfdfdf' \
- build/linux/roadfighter.png \
+convert -resize 48x48 \
+ -extent 48x48 \
+ -gravity center \
+ -background none \
+ build/linux/%{name}.png \
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
# Install desktop file
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
- --set-icon=roadfighter \
+ --set-icon=%{name} \
+ --remove-category=Application \
build/linux/%{name}.desktop
-%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
%{_bindir}/%{name}
%{_datadir}/%{name}
@@ -98,6 +84,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Sat Dec 14 2019 Andrea Musuruane <musuruan(a)gmail.com> - 1.0.1269-17
+- Spec file clean up
+
* Sat Aug 10 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.0.1269-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
diff --git a/sources b/sources
index 52a71f9..e3bba87 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a1626dda4d17ae30bbdd9c1ede2cd555 roadfighter.src_1.0.1269.tgz
+SHA512 (roadfighter.src_1.0.1269.tgz) = 68f2c3f5d943750ef080d2a2761c0dba8875d3b7b2f0805dbd726f47aa7c31ee7c34832e7f367ac7f7575c468a72ec25c5f47eddb6e5c0b6efb816c0e2ff10a8
4 years, 11 months
[meka] Meka still seems unable to compile with %{?_smp_mflags}
by Andrea Musuruane
commit f02437d795e4a036099a11211bd5a6f4c26f432f
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sat Dec 14 15:29:00 2019 +0100
Meka still seems unable to compile with %{?_smp_mflags}
meka.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meka.spec b/meka.spec
index c828b65..f9099de 100644
--- a/meka.spec
+++ b/meka.spec
@@ -64,7 +64,8 @@ sed -i 's/pkg-config --cflags --libs allegro-5.0 allegro_image-5.0 allegro_audio
%build
cd srcs
%set_build_flags
-%make_build
+# make doesn't compile with %%{?_smp_mflags}
+make
%install
4 years, 11 months