|
@ -5,7 +5,6 @@ Summary: The JFLAP formal language tool |
|
|
License: JFLAP 7.0 License |
|
|
License: JFLAP 7.0 License |
|
|
URL: https://www.jflap.org |
|
|
URL: https://www.jflap.org |
|
|
Source0: %{name}.tar.gz |
|
|
Source0: %{name}.tar.gz |
|
|
Source1: %{name}.sh |
|
|
|
|
|
BuildArch: noarch |
|
|
BuildArch: noarch |
|
|
BuildRequires: java |
|
|
BuildRequires: java |
|
|
|
|
|
|
|
@ -23,10 +22,16 @@ make |
|
|
%{__mkdir_p} %{buildroot}%{_javadir} |
|
|
%{__mkdir_p} %{buildroot}%{_javadir} |
|
|
install -p -m 755 JFLAP_With_Source.jar %{buildroot}%{_javadir}/jflap.jar |
|
|
install -p -m 755 JFLAP_With_Source.jar %{buildroot}%{_javadir}/jflap.jar |
|
|
%{__mkdir_p} %{buildroot}%{_bindir} |
|
|
%{__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 |
|
|
%files |
|
|
%{_javadir}/jflap.jar |
|
|
%{_javadir}/jflap.jar |
|
|
%{_bindir}/jflap |
|
|
%{_bindir}/jflap |
|
|
|
|
|
%{_datadir}/applications/jflap.desktop |
|
|
|
|
|
%{_datadir}/icons/jflap.jpg |
|
|
|
|
|
|
|
|
%changelog |
|
|
%changelog |