Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Define the name and version of your package
- Name: Ppolick
- Version: 1.8
- # Define the release number
- Release: 1%{?dist}
- # Specify the summary and description of your package
- Summary: My Package Summary
- %description
- Adds stuff hehe
- # Define the license for your package
- License: MIT
- # Define the URL where your package can be found
- URL: NoURL
- # Define the source file(s) for your package
- Source0: %{name}-%{version}.tar.gz
- # Define the dependencies required by your package
- Requires: dependency1
- Requires: dependency2 >= 1.0
- # Define the build requirements for your package
- BuildRequires: build_dependency1
- BuildRequires: build_dependency2
- # Define the build steps for your package
- %prep
- %setup -q
- %build
- ./configure
- make
- %install
- make install
- # Define the files and directories to be included in the package
- %files
- %{_bindir}/mybinary
- %{_datadir}/mypackage/
- # Define the scriptlets to be run during package installation and removal
- %pre
- echo "Pre-installation steps"
- %post
- echo "Post-installation steps"
- %preun
- echo "Pre-uninstallation steps"
- %postun
- echo "Post-uninstallation steps"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement