changeset 6:542e305f23f4

arkanoid-trix-debian-dir
author prymula <prymula76@outlook.com>
date Wed, 31 Jan 2024 20:40:57 +0100
parents 0c50890ef159
children bb29f1c89c99
files arkanoid/DEBIAN/HOWTO.txt arkanoid/DEBIAN/arkanoid.dsc arkanoid/DEBIAN/debian.changelog arkanoid/DEBIAN/debian.control arkanoid/DEBIAN/debian.rules arkanoid/DEBIAN/format.sh arkanoid/RPM/arkanoid.spec trix/DEBIAN/HOWTO.txt trix/DEBIAN/debian.changelog trix/DEBIAN/debian.control trix/DEBIAN/debian.rules trix/DEBIAN/format.sh trix/DEBIAN/trix.dsc trix/RPM/trix.spec
diffstat 14 files changed, 356 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/DEBIAN/HOWTO.txt	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,2 @@
+foramt zapisu nazwy pliku:
+	photocrop_0.221225-0~alpha.tar.gz
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/DEBIAN/arkanoid.dsc	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,40 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+Format: 1.0
+Source: arkanoid
+Binary: arkanoid
+Architecture: amd64
+Version: 0.7-1
+Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
+Homepage: http://prymula.ct8.pl
+DEBTRANSFORM-TAR: arkanoid-0.7-1.tar.gz
+ 
+Standards-Version: 0.7-1
+Build-Depends: debhelper-compat (>= 12), libsdl2-dev, libsdl2-ttf-dev, fakeroot, g++
+Package-List:
+ arkanoid deb x11 optional arch=amd64
+Files:
+ b31649bc23b2b7bca9ab70ea3410711a 128820 arkanoid-0.7-1.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 arkanoid-0.7-1.debian.tar.xz
+
+-----BEGIN PGP SIGNATURE-----
+
+mQENBGEf/c4BCAC2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:57 2024 +0100
@@ -0,0 +1,5 @@
+arkanoid (0.7-1) unstable; urgency=low
+
+  * Last release
+
+ -- Przemysław R. Pietraszczyk  Sat, 15 Aug 2022 21:41:41 +0200
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/DEBIAN/debian.control	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,13 @@
+Source: arkanoid
+Section: devel
+Priority: extra 
+Maintainer: Przemysław R. Pietraszczyk
+Build-Depends: debhelper-compat (= 12), libsdl2-dev, libsdl2-ttf-dev, fakeroot, g++
+Standards-Version: 0.7-1
+Homepage: https://prymula.ct8.pl
+
+
+Package: arkanoid
+Architecture: amd64
+Depends: ${misc:Depends}, libsdl2-2.0-0, libsdl2-ttf-2.0-0
+Description: My implementation of the cult game
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/DEBIAN/debian.rules	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+
+clean:
+	make clean 
+	
+build:
+	make
+
+binary:
+	mkdir -pm 0755 debian/arkanoid
+	mkdir -pm 0755 debian/arkanoid/usr
+	mkdir -pm 0755 debian/arkanoid/usr/bin
+	mkdir -pm 0755 debian/arkanoid/usr/share
+	mkdir -pm 0755 debian/arkanoid/usr/share/pixmaps
+	mkdir -pm 0755 debian/arkanoid/usr/share/applications
+	cp arkanoid debian/arkanoid/usr/bin
+	cp icon/arkanoid.png debian/arkanoid/usr/share/pixmaps
+	cp icon/gumka_arkanoid.bmp debian/arkanoid/usr/share/pixmaps
+	cp SpicyRice.ttf debian/arkanoid/usr/share/arkanoid
+	cp arkanoid.desktop debian/arkanoid/usr/share/applications
+	dh_gencontrol
+	dh_builddeb
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/DEBIAN/format.sh	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,2 @@
+mkdir exec
+exec /usr/lib/build/debtransform ./ ./arkanoid.dsc ./exec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/RPM/arkanoid.spec	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,75 @@
+#
+# spec file for package arkanoid
+#
+# Copyright (c) 2020 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+%define unmangled_version 0.7-1
+Name:           arkanoid
+Version:		0.7
+Release:        1
+Summary:    80s classics game
+License:        CC-PDDC
+URL:            http://prymula.ct8.pl
+Source0:	%{name}-%{unmangled_version}.tar.gz
+%if 0%{?suse_version}==1530
+BuildRequires:	libSDL2-devel, libSDL2_ttf-devel, pkgconfig, pkgconfig(sdl2)
+Requires:       libSDL2-2_0-0, libSDL2_ttf-2_0-0
+%else
+BuildRequires:	SDL2-devel, SDL2_ttf-devel, pkgconfig, pkgconfig(sdl2)
+Requires:       SDL2, SDL2_ttf
+%endif
+BuildArch:	x86_64
+
+%description
+
+
+%prep
+%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
+
+%build
+make
+
+%install
+mkdir -p %{buildroot}/usr
+mkdir -p %{buildroot}/usr/bin
+mkdir -p %{buildroot}%{_datadir}
+#mkdir -p %{buildroot}%{_datadir}/fonts
+mkdir -p %{buildroot}%{_datadir}/arkanoid
+mkdir -p %{buildroot}%{_datadir}/pixmaps
+mkdir -p %{buildroot}%{_datadir}/applications
+
+#%make_install
+
+install -m 0755 arkanoid %{buildroot}/usr/bin
+install -m 0644 icon/arkanoid.png %{buildroot}%{_datadir}/pixmaps
+install -m 0644 icon/gumka_arkanoid.bmp %{buildroot}%{_datadir}/pixmaps
+install -m 0644 arkanoid.desktop %{buildroot}%{_datadir}/applications
+#install -m 0644 SpicyRice.ttf %{buildroot}%{_datadir}/fonts
+install -m 0644 SpicyRice.ttf %{buildroot}%{_datadir}/arkanoid
+
+
+
+%files
+%defattr(0755,root,root)
+/usr/bin/arkanoid
+%{_datadir}/arkanoid/
+%defattr(0644,root,root)
+%{_datadir}/pixmaps/arkanoid.png
+%{_datadir}/pixmaps/gumka_arkanoid.bmp
+%{_datadir}/applications/arkanoid.desktop
+%{_datadir}/arkanoid/SpicyRice.ttf
+#%{_datadir}/fonts/SpicyRice.ttf
+
+%changelog
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/DEBIAN/HOWTO.txt	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,2 @@
+foramt zapisu nazwy pliku:
+	photocrop_0.221225-0~alpha.tar.gz
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/DEBIAN/debian.changelog	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,5 @@
+trix (2.230821-0~beta) unstable; urgency=low
+
+  * Last release
+
+ -- Przemysław R. Pietraszczyk  Sat, 15 Aug 2022 21:41:41 +0200
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/DEBIAN/debian.control	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,13 @@
+Source: trix
+Section: devel
+Priority: extra 
+Maintainer: Przemysław R. Pietraszczyk
+Build-Depends: debhelper-compat (= 12), libsdl2-dev, libsdl2-ttf-dev, libsdl2-image-dev, fakeroot, g++
+Standards-Version: 2.230821-0~beta
+Homepage: https://prymula.ct8.pl
+
+
+Package: trix
+Architecture: amd64
+Depends: ${misc:Depends}, libsdl2-2.0-0, libsdl2-ttf-2.0-0, libsdl2-image-2.0-0
+Description: My implementation of the cult game
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/DEBIAN/debian.rules	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+
+clean:
+	make clean 
+	
+build:
+	make
+
+binary:
+	mkdir -pm 0755 debian/trix
+	mkdir -pm 0755 debian/trix/usr
+	mkdir -pm 0755 debian/trix/usr/bin
+	mkdir -pm 0755 debian/trix/usr/share
+	mkdir -pm 0755 debian/trix/usr/share/trix
+	mkdir -pm 0755 debian/trix/usr/share/trix/img
+	mkdir -pm 0755 debian/trix/usr/share/trix/img/bg
+	mkdir -pm 0755 debian/trix/usr/share/applications
+	cp trix debian/trix/usr/bin
+	cp img/trix-icon.png debian/trix/usr/share/trix/img
+	cp img/trix-icon.bmp debian/trix/usr/share/trix/img
+	cp img/icons.bmp debian/trix/usr/share/trix/img
+	cp img/bg/image1.jpeg debian/trix/usr/share/trix/img/bg
+	cp img/bg/image2.jpeg debian/trix/usr/share/trix/img/bg
+	cp img/bg/image3.jpeg debian/trix/usr/share/trix/img/bg
+	cp img/bg/image4.jpeg debian/trix/usr/share/trix/img/bg
+	cp img/bg/image5.jpeg debian/trix/usr/share/trix/img/bg
+	cp img/bg/image6.jpeg debian/trix/usr/share/trix/img/bg
+	cp img/bg/catalogue.txt debian/trix/usr/share/trix/img/bg
+	cp img/bg/AUTHOR.txt debian/trix/usr/share/trix/img/bg
+	cp ZapfHumanist.ttf debian/trix/usr/share/trix
+	cp Trix.desktop  debian/trix/usr/share/applications
+	dh_gencontrol
+	dh_builddeb
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/DEBIAN/format.sh	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,2 @@
+mkdir exec
+exec /usr/lib/build/debtransform ./ ./trix.dsc ./exec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/DEBIAN/trix.dsc	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,41 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+Format: 1.0
+Source: trix
+Binary: trix
+Architecture: amd64
+Version: 0.230821-0~beta
+Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
+Homepage: http://prymula.ct8.pl
+
+DEBTRANSFORM-TAR: trix-0.230821-0~beta.tar.gz
+ 
+Standards-Version: 0.230821-0~beta
+Build-Depends: debhelper-compat (>= 12), libsdl2-dev, libsdl2-ttf-dev, libsdl2-image-dev, fakeroot, g++
+Package-List:
+ lamertetris deb x11 optional arch=amd64
+Files:
+ b31649bc23b2b7bca9ab70ea3410711a 128820 trix-0.230821-0~beta.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 trix-0.230821-0~beta.debian.tar.xz
+
+-----BEGIN PGP SIGNATURE-----
+
+mQENBGEf/c4BCAC2d4ymW0pRZV36qLtlt/WGb83kos5UX5UbwvkQrbUjAbOPOY8w
+DT3M1neYOAPZx38924aPTFKbZPcz+rK/7Wcv1kzgfux5zXQJTLeqpkhUYAgXUg2p
+oK9ZXsai82fOicTrClOyJLLYQ8C1vj8yUh7e3ERljEyp5Nxg/lY92rwcZ4WYR193
+nGDInlDl5JlWUcLlk/RFnC5bB+T6ZZr5FBX/eDnKAPEl+N3MWpDs2JLDy7EUPhcG
+U/60X0wuXHPTwMoNbB3ep/bWRxwEej0sFad5GXeCh7hKCroi/kLmLTDIxSD8lsRr
+Y4H/8H2lBBsQq7bRL88N6ZDGCocPo11V83kFABEBAAG0NmhvbWU6cHJ6ZW0gT0JT
+IFByb2plY3QgPGhvbWU6cHJ6ZW1AYnVpbGQub3BlbnN1c2Uub3JnPokBPgQTAQgA
+KAUCYR/9zgIbAwUJBB6wAAYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQcXEc
+NPcNefFEAAf+Kg4cs/C99kEIMv/PO85VW+p8rcTwCViOFUX5WrBhwsRyPAKrJPPG
+KD6PdnvoplcNQwhQ8nRsRiiaiUtPcj8Bvi6EdPgSgXXObKKJtCyaAa1rURdlb9iW
+CfvXA6oW+PGlii9BMnXOAtkeFIzZooO9oXd+wez66P+4VWFiFzxanLfLn/hwbWxQ
+68rlO3QNGbrMeODBgwh9s83XGmAg47mn2fldTAmTbJDf9tMi1LhX2MmLyN9wjqsd
+4IZ9JMri2JTnIhYfxWdKT9gsu7q0g8LqonaXMvlOEyHFRF1YQ0i7G6fFbvDcKCZN
+W1Eja55FdN7smv5Eck6UTIIYyWPuAv45uohGBBMRAgAGBQJhH/3PAAoJEDswEbdr
+nWUj4M0AniJ389dyvUjjgS91AcOb08E4moV9AJ9WDL3/7GYYUL/Azw43QucWPnXr
+uw==
+=+lfH
+-----END PGP SIGNATURE-----
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trix/RPM/trix.spec	Wed Jan 31 20:40:57 2024 +0100
@@ -0,0 +1,95 @@
+#
+# spec file for package trix
+#
+# Copyright (c) 2020 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+%define unmangled_version 0.230821-0~beta
+Name:           trix
+Version:		0.230821
+Release:        0~beta
+Summary:    	clicking on blocks
+License:        CC-PDDC
+URL:            http://prymula.ct8.pl
+Source0:	%{name}-%{unmangled_version}.tar.gz
+%if 0%{?suse_version}==1530
+BuildRequires:	libSDL2-devel, libSDL2_ttf-devel, libSDL2_image-devel, pkgconfig, pkgconfig(sdl2)
+Requires:       libSDL2-2_0-0, libSDL2_ttf-2_0-0, libSDL2_image-2_0-0
+%else
+BuildRequires:	SDL2-devel, SDL2_ttf-devel, SDL2_image-devel, pkgconfig, pkgconfig(sdl2)
+Requires:       SDL2, SDL2_ttf, SDL_image
+%endif
+BuildArch:	x86_64
+
+%description
+
+
+%prep
+%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
+
+%build
+make
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_datadir}
+mkdir -p %{buildroot}%{_datadir}/trix
+mkdir -p %{buildroot}%{_datadir}/trix/img
+mkdir -p %{buildroot}%{_datadir}/trix/img/bg
+
+#mkdir -p %{buildroot}/usr
+#mkdir -p %{buildroot}/usr/share
+mkdir -p %{buildroot}%{_datadir}/applications
+
+#%make_install
+
+install -m 0755 trix %{buildroot}%{_bindir}
+install -m 0644 img/trix-icon.png %{buildroot}%{_datadir}/trix/img
+install -m 0644 img/trix-icon.bmp %{buildroot}%{_datadir}/trix/img
+install -m 0644 img/icons.bmp %{buildroot}%{_datadir}/trix/img
+install -m 0644 img/bg/image1.jpeg %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/image2.jpeg %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/image3.jpeg %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/image4.jpeg %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/image5.jpeg %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/image6.jpeg %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/catalogue.txt %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 img/bg/AUTHOR.txt %{buildroot}%{_datadir}/trix/img/bg
+install -m 0644 Trix.desktop %{buildroot}/usr/share/applications
+install -m 0644 ZapfHumanist.ttf %{buildroot}%{_datadir}/trix
+
+
+
+%files
+%defattr(0755,root,root)
+%{_bindir}/trix
+%{_datadir}/trix/
+%{_datadir}/trix/img/
+%{_datadir}/trix/img/bg/
+%defattr(0644,root,root)
+%{_datadir}/trix/img/trix-icon.png
+%{_datadir}/trix/img/trix-icon.bmp
+%{_datadir}/trix/img/icons.bmp
+%{_datadir}/trix/img/bg/image1.jpeg
+%{_datadir}/trix/img/bg/image2.jpeg
+%{_datadir}/trix/img/bg/image3.jpeg
+%{_datadir}/trix/img/bg/image4.jpeg
+%{_datadir}/trix/img/bg/image5.jpeg
+%{_datadir}/trix/img/bg/image6.jpeg
+%{_datadir}/trix/img/bg/catalogue.txt
+%{_datadir}/trix/img/bg/AUTHOR.txt
+%{_datadir}/applications/Trix.desktop
+%{_datadir}/trix/ZapfHumanist.ttf
+
+%changelog