@ -1,18 +0,0 @@ | |||||
[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; |
@ -1,2 +0,0 @@ | |||||
#!/bin/bash | |||||
java -jar /usr/share/java/jflap.jar |
@ -1,37 +0,0 @@ | |||||
Name: jflap | |||||
Version: 7.0 | |||||
Release: 1%{?dist} | |||||
Summary: The JFLAP formal language tool | |||||
License: JFLAP 7.0 License | |||||
URL: https://www.jflap.org | |||||
Source0: %{name}.tar.gz | |||||
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 %{_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 |
@ -1,36 +0,0 @@ | |||||
Name: jflap | |||||
Version: 7.0 | |||||
Release: 1%{?dist} | |||||
Summary: A graphical tool for designing and simulating logic circuits | |||||
License: GPLv2 | |||||
URL: http://www.cburch.com/logisim/index.html | |||||
Source0: %{name}.tar.gz | |||||
BuildArch: noarch | |||||
BuildRequires: java | |||||
%description | |||||
%prep | |||||
%setup -n %{name} -n %{name} | |||||
%build | |||||
make | |||||
%install | |||||
%{__mkdir_p} %{buildroot}%{_javadir} | |||||
install -p -m 755 JFLAP_With_Source.jar %{buildroot}%{_javadir}/logisim.jar | |||||
%{__mkdir_p} %{buildroot}%{_bindir} | |||||
install -p -m 755 %{_sourcedir}/jflap.sh %{buildroot}%{_bindir}/jflap | |||||
%{__mkdir_p} %{buildroot}%{_datadir}/icons | |||||
install -p -m 644 %{_sourcedir}/logisim.jpg %{buildroot}%{_datadir}/icons/logisim.jpg | |||||
%{__mkdir_p} %{buildroot}%{_datadir}/applications | |||||
install -p -m 644 %{_sourcedir}/logisim.desktop %{buildroot}%{_datadir}/applications/logisim.desktop | |||||
%files | |||||
%{_javadir}/logisim.jar | |||||
%{_bindir}/logisim | |||||
%{_datadir}/applications/logisim.desktop | |||||
%{_datadir}/icons/logisim.jpg | |||||
%changelog |