Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2024-08-20 | 2.2 kB | |
jwmkit.spec | 2024-08-20 | 2.0 kB | |
Totals: 2 Items | 4.2 kB | 0 |
Building Your own Fedora package
UPDATED: August 15 2024
INFO:
- Version : 20240327 (March 27 2024 )
- Package type: .rpm
- All architecture (32bit/64bit/etc)
Required to build:
- A running Fedora system (a virtual machine is fine)
- A working internet connection is recommended
- Dependencies : rpmdevtools, rpmlint (install with packagemanager)
- The source code .tar.gz format (download section below)
- The spec file (download section below)
Download
Spec File : jwmkit.spec
Source code : codeberg
Make sure to download the correct version of the source code
- Version number is same as listed in the INFO section at the top of this page.
- File type should be : .tar.gz
NOTE: Building a different version will require changes to the spec file.
Instructions
Create a packager macro with this command. Change the "Packagers Name" and "name@email.com" to vaild information.
echo '%packager Packagers Name <name@email.com>' >> ~/.rpmmacros
Create the rpm build tree with this command.
rpmdev-setuptree
Leave the terminal open while completeing the next steps you will return to it latter.
Take notice the above command created a directory name rpmbuild with sub-directores.. We need to copy some files into the
Copy the downloaded Source code file (.tar.gz) to the rpmbuild/SOURCES/ directory of the build tree
Copy the downloaded jwmkit.spec file to the rpmbuild/SPECS directory of the build tree
Back to the terminal. Use 'cd' to chage the working directory to the newly create rpmbuild/ directory.
cd rpmbuild
Use this command to build just the Binary RPMs
rpmbuild -bb SPECS/jwmkit.spec
You will find the newly created rpm file in the RPMS directory of the build tree.
Hack away!
These files are specific to the current stable release, but can be easily changed. Maybe you wish to package a different version of JWM Kit, or to include different themes, or custom JWM configuration. Feel free to modify as need, but do give credit for the previous work.