changeset 4:0962f0296c8a

ColorsMemory-0.210503-1.1
author prymula <prymula76@outlook.com>
date Tue, 30 Jan 2024 16:43:10 +0100
parents 84e66ea83026
children 0c50890ef159
files colorsmemory/.classpath colorsmemory/.project colorsmemory/ColorsMemory.desktop colorsmemory/DEBIAN/HOWTO.txt colorsmemory/DEBIAN/colorsmemory-0.210503-1.tar.gz colorsmemory/DEBIAN/colorsmemory.dsc colorsmemory/DEBIAN/debian.changelog colorsmemory/DEBIAN/debian.changelog.txt colorsmemory/DEBIAN/debian.control colorsmemory/DEBIAN/debian.control.txt colorsmemory/DEBIAN/debian.rules colorsmemory/DEBIAN/format.sh colorsmemory/RPM/colorsmemory.spec
diffstat 13 files changed, 193 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/.classpath	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/.project	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>colorsmemory</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
--- a/colorsmemory/ColorsMemory.desktop	Mon Oct 16 21:53:34 2023 +0200
+++ b/colorsmemory/ColorsMemory.desktop	Tue Jan 30 16:43:10 2024 +0100
@@ -3,7 +3,7 @@
 [Desktop Entry]
 Encoding=UTF-8
 Type=Application
-Categories=Gnome;Games;
+Categories=Game;
 
 Name=Colors Memory
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/HOWTO.txt	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,2 @@
+foramt zapisu nazwy pliku:
+	photocrop_0.221225-0~alpha.tar.gz
Binary file colorsmemory/DEBIAN/colorsmemory-0.210503-1.tar.gz has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/colorsmemory.dsc	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,40 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+Format: 1.0
+Source: colorsmemory
+Binary: colorsmemory
+Architecture: all
+Version: 0.210503-1
+Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
+Homepage: https://prymula.ct8.pl
+DEBTRANSFORM-TAR: colorsmemory-0.210503-1.tar.gz
+ 
+Standards-Version: 0.210503-1
+Build-Depends: debhelper-compat (>= 12), default-jdk, default-jdk-headless, fakeroot, ant
+Package-List:
+colorsmemory deb x11 optional arch=all
+Files:
+ b31649bc23b2b7bca9ab70ea3410711a 128820 colorsmemory-0.210503-1.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 colorsmemory-0.210503-1.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/colorsmemory/DEBIAN/debian.changelog	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,5 @@
+colorsmemory (0.210503-0) unstable; urgency=low
+
+  * Last release
+
+ -- Przemysław R. Pietraszczyk  Sat, 25 Dec 2022 08:31:41 +0200
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/debian.changelog.txt	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,5 @@
+colorsmemory (0.210503-0) unstable; urgency=low
+
+  * Last release
+
+ -- Przemysław R. Pietraszczyk  Sat, 25 Dec 2022 08:31:41 +0200
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/debian.control	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,13 @@
+Source: colorsmemory
+Section: java
+Priority: extra
+Maintainer: Przemysław R. Pietraszczyk
+Build-Depends: debhelper-compat (= 12), default-jdk, default-jdk-headless, fakeroot, ant
+Standards-Version: 0.210503-1
+Homepage: https://prymula.ct8.pl
+
+
+Package: colormemory
+Architecture: all
+Depends: ${misc:Depends}, default-jdk | default-jre
+Description: My implementation Memory game
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/debian.control.txt	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,13 @@
+Source: colorsmemory
+Section: java
+Priority: extra
+Maintainer: Przemysław R. Pietraszczyk
+Build-Depends: debhelper-compat (= 13), openjdk-11-jdk, openjdk-11-jdk-headless, fakeroot, ant
+Standards-Version: 0.210503-1
+Homepage: https://prymula.ct8.pl
+
+
+Package: colormemory
+Architecture: all
+Depends: ${misc:Depends}, openjdk-11-jdk | openjdk-11-jre
+Description: My implementation Memory game
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/debian.rules	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+#export PYBUILD_NAME = photocrop
+#export PYBUILD_SYSTEM = custom
+
+clean:
+	ant clean
+	
+build:
+	ant compile
+	ant jar
+
+binary:
+	mkdir -pm 0755 debian/colormemory
+	mkdir -pm 0755 debian/colorsmemory/usr/bin
+	mkdir -pm 0755 debian/colorsmemory/usr/share/colorsmemory
+	mkdir -pm 0755 debian/colorsmemory/usr/share/applications
+	cp build/jar/ColorsMemory.jar debian/colorsmemory/usr/bin
+	cp colorsmemory.png debian/colorsmemory/usr/share/colorsmemory
+	cp ColorsMemory.desktop  debian/colorsmemory/usr/share/applications
+	dh_gencontrol
+	dh_builddeb
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/DEBIAN/format.sh	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,1 @@
+exec /usr/lib/build/debtransform ./ ./colorsmemory.dsc ./exec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/RPM/colorsmemory.spec	Tue Jan 30 16:43:10 2024 +0100
@@ -0,0 +1,66 @@
+#
+# spec file for package colorsmemory
+#
+# 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.210503-1
+Name:           colorsmemory
+Version:		0.210503
+Release:        1
+Summary:    	My implementation Memory game
+License:        GPL
+URL:            https://prymula.ct8.pl
+Source0:	%{name}-%{unmangled_version}.tar.gz
+%if 0%{?suse_version}==1530
+BuildRequires:	java-11-openjdk, ant
+Requires:       java-11-openjdk
+%else
+BuildRequires:	java-11-openjdk, ant
+Requires:		java-11-openjdk
+%endif
+BuildArch:	noarch
+
+%description
+
+
+%prep
+%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
+
+%build
+ant compile
+ant jar
+
+%install
+mkdir -p %{buildroot}/usr
+mkdir -p %{buildroot}/usr/bin
+mkdir -p %{buildroot}/usr/share
+mkdir -p %{buildroot}/usr/share/colorsmemory
+mkdir -p %{buildroot}/usr/share/applications
+
+#%make_install
+
+install -m 0644 build/jar/ColorsMemory.jar %{buildroot}/usr/bin
+install -m 0644 colorsmemory.png %{buildroot}/usr/share/colorsmemory
+install -m 0644 ColorsMemory.desktop %{buildroot}/usr/share/applications
+
+%files
+%defattr(0755,root,root)
+%{_datadir}/colorsmemory
+%defattr(0644,root,root)
+/usr/bin/ColorsMemory.jar
+%{_datadir}/colorsmemory/colorsmemory.png
+%{_datadir}/applications/ColorsMemory.desktop
+
+%changelog