Fedora Remix maintained by the Rochester Institute of Technology (RIT) Linux Users Group, targeted at users new to Linux and RIT students, faculty, and staff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

  1. Name: jflap
  2. Version: 7.0
  3. Release: 1%{?dist}
  4. Summary: The JFLAP formal language tool
  5. License: JFLAP 7.0 License
  6. URL: https://www.jflap.org
  7. Source0: %{name}.tar.gz
  8. BuildArch: noarch
  9. BuildRequires: java
  10. %description
  11. 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.
  12. %prep
  13. %setup -n %{name} -n %{name}
  14. %build
  15. make
  16. %install
  17. %{__mkdir_p} %{buildroot}%{_javadir}
  18. install -p -m 755 JFLAP_With_Source.jar %{buildroot}%{_javadir}/jflap.jar
  19. %{__mkdir_p} %{buildroot}%{_bindir}
  20. install -p -m 755 %{_sourcedir}/jflap.sh %{buildroot}%{_bindir}/jflap
  21. %{__mkdir_p} %{buildroot}%{_datadir}/icons
  22. install -p -m 644 %{_sourcedir}/jflap.jpg %{buildroot}%{_datadir}/icons/jflap.jpg
  23. %{__mkdir_p} %{buildroot}%{_datadir}/applications
  24. install -p -m 644 %{_sourcedir}/jflap.desktop %{buildroot}%{_datadir}/applications/jflap.desktop
  25. %files
  26. %{_javadir}/jflap.jar
  27. %{_bindir}/jflap
  28. %{_datadir}/applications/jflap.desktop
  29. %{_datadir}/icons/jflap.jpg
  30. %changelog