https://github.com/freeslave/qt-sprite-image-plugin-distro
qt-sprite-image-plugin packaging
https://github.com/freeslave/qt-sprite-image-plugin-distro
Last synced: 5 months ago
JSON representation
qt-sprite-image-plugin packaging
- Host: GitHub
- URL: https://github.com/freeslave/qt-sprite-image-plugin-distro
- Owner: FreeSlave
- Created: 2020-07-30T19:08:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-30T19:12:34.000Z (almost 6 years ago)
- Last Synced: 2025-01-22T14:45:48.836Z (over 1 year ago)
- Language: Makefile
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qt-sprite-image-plugin distributions
Making [qt-sprite-image-plugin](https://github.com/FreeSlave/qt-sprite-image-plugin) packages for different distros.
## Make deb package
First make an orig archive. Assuming [qt-sprite-image-plugin](https://github.com/FreeSlave/qt-sprite-image-plugin) is cloned into the same directory as this repository is:
```
./make_deb_orig.sh
```
Build the package using debuild:
```
sudo apt-get install build-essential devscripts debhelper
(cd deb/qt-sprite-image-plugin && debuild -uc -us)
```
## Make rpm package
```
./make_rpm_orig.sh
```
Build using mock:
```
sudo apt-get install mock # also can be installed on Debian
sudo groupadd mock # if group does not exist yet
sudo usermod -a -G mock $USER # allow starting mock as regular user
# Re-login to system to apply changes to user groups
CONFIGURATION=fedora-25-x86_64
VENDOR=fc25
VERSION="$(cat ../qt-sprite-image-plugin/version)"
REVISION=1
mkdir -p rpm/SRPMS rpm/RPMS
mock --resultdir="rpm/SRPMS" -r "$CONFIGURATION" --buildsrpm --spec "rpm/SPECS/qt-sprite-image-plugin.spec" --sources "rpm/SOURCES"
mock --resultdir="rpm/RPMS" -r "$CONFIGURATION" "rpm/SRPMS/qt-sprite-image-plugin-$VERSION-$REVISION.$VENDOR.src.rpm"
```