From 5cad85bc182f917cd96564acf8a124de0a95d588 Mon Sep 17 00:00:00 2001 From: axk4545 Date: Thu, 30 Mar 2017 20:38:17 -0400 Subject: [PATCH] add icon and .desktop file to jflap, start logisim template --- rpmbuild/SOURCES/jflap.desktop | 18 ++++++++++++++++++ rpmbuild/SOURCES/jflap.jpg | Bin 0 -> 8256 bytes rpmbuild/SPECS/jflap.spec | 9 +++++++-- rpmbuild/SPECS/logisim.spec | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 rpmbuild/SOURCES/jflap.desktop create mode 100644 rpmbuild/SOURCES/jflap.jpg create mode 100644 rpmbuild/SPECS/logisim.spec diff --git a/rpmbuild/SOURCES/jflap.desktop b/rpmbuild/SOURCES/jflap.desktop new file mode 100644 index 0000000..a1d468e --- /dev/null +++ b/rpmbuild/SOURCES/jflap.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +# The type as listed above +Type=Application +# The version of the desktop entry specification to which this file complies +Version=1.0 +# The name of the application +Name= +Comment=Experiment with formal languages topics +# The path to the folder in which the executable is run +Path= +# The executable of the application, possibly with arguments. +Exec=/usr/local/bin/jflap +# The name of the icon that will be used to display this entry +Icon=/usr/local/share/icons/jflap.jpg +# Describes whether this application needs to be run in a terminal or not +Terminal=false +# Describes the categories in which this entry should be shown +Categories=Education;Languages;Java; diff --git a/rpmbuild/SOURCES/jflap.jpg b/rpmbuild/SOURCES/jflap.jpg new file mode 100644 index 0000000000000000000000000000000000000000..df9f4d9b0144d01e2aaa6b8b99861d426d38c9e2 GIT binary patch literal 8256 zcmbVRbyQT}w;#Hcl2BS@qFTVq*!O9?I03JR7V0m=`E;j)* zitZNn-T*uRApihSyHafdDCI02&7lCxk5?MJOB4VBAi)1ES9by;0s;aeB0>TJLLy?K z-$G1EOmZc}q@-lziwmhSf#I+{Pe)BN{? z`p?JT|NQIa@*{wT6p#z(Bfz5p;M3p{(BNHu0yG2g@Bjn=f~)&qLP|hPf=@_XhNy5D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vn{|k<^H_5B zoDSQxN3xIUkCNdOb*D7GIj$P5G&H!ihs+L$@s|{a!Qfq6f&4;|x|e|6Qj9~Id$GAL z1}4bWkd#0du18lwdGG)a&46e6CfvTi!{VE8%M0BTvj&azRCeIRq8-1H3v>_xtV3`R z7GITzuLG`962ssxE59qQRA(weJq;}~)2!V-1gUbd7MiE%LuRc?!Q<{4}UPoXq>SLGisZYaL#_@cRkm zTZlgy@rqu0aM!?QePf1dgRRM;8_&47DdgWofD?SERphVZv2W=S@i*n@@Op|nCbHJ| z=imlngyl?R+_CG-F0v77FLSN!5@h=vd#ZM;HkZ2-HnmghJ!FHMhAMg*VXLb;b$hd) znqwRFSSY$XE-8Mml0SQN4J=%LF4Nu$@Xc8``^9--k%6dIEt z_O2=$qf%)%VXocl<4A-+@T_ZE)ZYJon*0EUFLia^GxE=Dk)*QA?V){WNmC{f* zeI{S<#D&9@^Xs3&?GE93Cl))Yso^26z_#9})0GtF)BMlG9DUvkY^AKWDn#}PFf}tU zy_(<-XB~p%bRW>Eq<$uYw`}N|*^yI&1&v8NT^veEcdnX0S8Y(HH~RHAWnI%2(}#5& z87Wfekg*nh-bz~2@xsE%vIep`;z51;;{o|Vg`s=^Z2#YlQ?}xg8w~r)H70NQ+uwrOJ<$sX#OW5naMxZnp?Gn zM-4!{4m9uNlL+)D?jtcX&@}8FX*b~8OjQL~9$_)J>Ii`337~{y?_bs8e_QAu(Er~W J&QzB({{?^Pm@@zX literal 0 HcmV?d00001 diff --git a/rpmbuild/SPECS/jflap.spec b/rpmbuild/SPECS/jflap.spec index f3a1151..a5e6f40 100644 --- a/rpmbuild/SPECS/jflap.spec +++ b/rpmbuild/SPECS/jflap.spec @@ -5,7 +5,6 @@ Summary: The JFLAP formal language tool License: JFLAP 7.0 License URL: https://www.jflap.org Source0: %{name}.tar.gz -Source1: %{name}.sh BuildArch: noarch BuildRequires: java @@ -23,10 +22,16 @@ make %{__mkdir_p} %{buildroot}%{_javadir} install -p -m 755 JFLAP_With_Source.jar %{buildroot}%{_javadir}/jflap.jar %{__mkdir_p} %{buildroot}%{_bindir} -install -p -m 755 %{SOURCE1} %{buildroot}%{_bindir}/jflap +install -p -m 755 %{_sourcedir}/jflap.sh %{buildroot}%{_bindir}/jflap +%{__mkdir_p} %{buildroot}%{_datadir}/icons +install -p -m 644 %{_sourcedir}/jflap.jpg %{buildroot}%{_datadir}/icons/jflap.jpg +%{__mkdir_p} %{buildroot}%{_datadir}/applications +install -p -m 644 %{_sourcedir}/jflap.desktop %{buildroot}%{_datadir}/applications/jflap.desktop %files %{_javadir}/jflap.jar %{_bindir}/jflap +%{_datadir}/applications/jflap.desktop +%{_datadir}/icons/jflap.jpg %changelog diff --git a/rpmbuild/SPECS/logisim.spec b/rpmbuild/SPECS/logisim.spec new file mode 100644 index 0000000..562d446 --- /dev/null +++ b/rpmbuild/SPECS/logisim.spec @@ -0,0 +1,32 @@ +Name: logisim +Version: 2.7.1 +Release: 1%{?dist} +Summary: The J:FLAP formal language tool +License: JFLAP 7.0 License +URL: https://www.jflap.org +Source0: %{name}.tar.gz +Source1: %{name}.sh +BuildArch: noarch +BuildRequires: java + +%description +JFLAP is a package of graphical tools which can be used as an aid in learning the basic concepts of Formal Languages and Automata Theory. + +%prep + +%setup -n %{name} -n %{name} + +%build +make + +%install +%{__mkdir_p} %{buildroot}%{_javadir} +install -p -m 755 JFLAP_With_Source.jar %{buildroot}%{_javadir}/jflap.jar +%{__mkdir_p} %{buildroot}%{_bindir} +install -p -m 755 %{SOURCE1} %{buildroot}%{_bindir}/jflap + +%files +%{_javadir}/jflap.jar +%{_bindir}/jflap + +%changelog