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. # section for preparation of sources, applying patches
  14. # or other things which can be done before running the build
  15. # The macro setup is used to unpack sources
  16. %setup -n %{name} -n %{name}
  17. %build
  18. # Section for compiling and generally assembling the final pieces.
  19. # Our Makefile builds the project JAR file
  20. make
  21. %install
  22. # Installation into directory prepared by RPM expressed as %{buildroot}
  23. install -p -m 644 jflap.jar %{buildroot}%{_javadir}/jflap.jar
  24. # We use macro %jpackage_script to generate wrapper script for our JAR
  25. # Will be explained in later sections
  26. %jpackage_script jflap "" "" %{name} jflap true
  27. # List of files that this package installs on the system
  28. %files
  29. %{_javadir}/jflap.jar
  30. %{_bindir}/jflap
  31. %changelog