# vim: syntax=spec # git_dir_name returns repository name derived from remote Git repository URL Name: shitware # gets the version from the latest nvr tag Version: 0.2 # Basic description of the package Summary: I'm a dumbass # This can be useful later for adding downstream patches Release: 0%{?dist} # License. We assume GPLv2+ here. License: GPLv2+ # Home page of the project. Can also point to the public Git repository page. URL: https://gitlab.com/theotheroracle/shitware # Detailed information about the source Git repository and the source commit # for the created rpm package VCS: git+https://gitlab.com/theotheroracle/shitware.git#09272726f31f144cb0c99cf4dd0a481a81d986d4: # git_dir_pack macro places the repository content (the source files) into a tarball # and returns its filename. The tarball will be used to build the rpm. Source: shitware-09272726.tar.gz # Specifies run-time dependencies for the package Requires: curl Requires: diceware Requires: bash # This is a list of packages required for building the program. BuildRequires: shc BuildRequires: gcc BuildRequires: make # More detailed description of the package %description uses diceware to generate a password, but very poorly # The following four sections already describe the rpm build process itself. # prep will extract the tarball defined as Source above and descend into it. %prep %setup -T -b 0 -q -n shitware # This will copy the files generated by the `make` command above into # the installable rpm package. %install make install DESTDIR=%{buildroot} # This lists all the files that are included in the rpm package and that # are going to be installed into target system where the rpm is installed. %files %_bindir/shitware # Finally, changes from the latest release of your application are generated from # your project's Git history. It will be empty until you make first annotated Git tag. %changelog * Fri Jun 04 2021 Bit Borealis 0.2-0 - fix two permission issues - added copr bade to readme * Fri Jun 04 2021 Bit Borealis 0.1-0 - added runtime dependencies - ignore build directory - updated spec and makefile, it actually builds now ( fixed a typo mostly, and cleaned up some code in the makefile ) - update makefile and specfile - added rpkg spec - updated makefile - removed binary - added a makefile update gitignore - restructure - this is shit - Initial commit