mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
Compare commits
491 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 932e803185 | |||
| 272387c059 | |||
| 21b391db02 | |||
| 9759659ab3 | |||
| 4984e22d00 | |||
| 6f3543ec14 | |||
| 60c97b28e1 | |||
| 2759082fdc | |||
| 1a8bc69de7 | |||
| b111a0de71 | |||
| c965511bbb | |||
| 039911e495 | |||
| 7894a361ee | |||
| 0b34607b01 | |||
| 76802bd33c | |||
| 0a4cbc3fd4 | |||
| f3fb83625f | |||
| 9542965299 | |||
| 39cfa408b1 | |||
| f5a4b0f846 | |||
| f7ba921ba8 | |||
| f6bb6628b6 | |||
| 69dfa00113 | |||
| 76bb6d4800 | |||
| de57666a57 | |||
| c90bb380fc | |||
| 9c1913cd71 | |||
| b1845030d0 | |||
| c3d5af8a1b | |||
| a913330823 | |||
| 27e3505126 | |||
| 2cc4b43e11 | |||
| 21212dc459 | |||
| 336bc07f96 | |||
| bd15a443e6 | |||
| 3cf993ba0d | |||
| c95241d854 | |||
| e652365d37 | |||
| a1d5285e79 | |||
| b5dc75b956 | |||
| 57fe1e9cc5 | |||
| 52f2e570d6 | |||
| fc3da670d8 | |||
| fb4817af86 | |||
| adb3918606 | |||
| ab2fd64517 | |||
| bf15027dba | |||
| ad6180468b | |||
| a221ef3241 | |||
| 5f3a7187e0 | |||
| 826de68ee2 | |||
| 591bf419c7 | |||
| af3e812ebf | |||
| cf9c478547 | |||
| c567fb0488 | |||
| 73e3068226 | |||
| f8cc2e39ef | |||
| deb8010a5d | |||
| 6a5d9a173d | |||
| 73e0ca413a | |||
| 491786a877 | |||
| 9fea178794 | |||
| 8e106a63a4 | |||
| 246faac8cb | |||
| 3c1603bdd6 | |||
| 597ca93729 | |||
| d7f799ed86 | |||
| abc94f202f | |||
| fbb2a92661 | |||
| bcf330db62 | |||
| 12c2fd1f1b | |||
| 82311a719c | |||
| 5a68523f6c | |||
| 0fe61278eb | |||
| 6330850cff | |||
| f232638bb7 | |||
| 665ce524bf | |||
| bb4de5c212 | |||
| 6c3a1516c0 | |||
| 32f490bcc3 | |||
| ce6b51442c | |||
| 71ac775fa3 | |||
| b1c30e8312 | |||
| e9d7661ca5 | |||
| 25717bae62 | |||
| 39de5caeb8 | |||
| 95ad20edcd | |||
| b4faad7243 | |||
| 80d1086b8e | |||
| 939e92f857 | |||
| 00841e4960 | |||
| 2f1ed0d43a | |||
| 04046bcc56 | |||
| 2d03569835 | |||
| 3cbc005df2 | |||
| 4021d7ac07 | |||
| d1b8d4b85b | |||
| e8be9e62d5 | |||
| e86e6eedd0 | |||
| a96a1dd686 | |||
| 02955a356d | |||
| f33e4aadb3 | |||
| 5f4a76745c | |||
| 9f6b05c160 | |||
| bc0a5056a0 | |||
| f8df0685b8 | |||
| 4f8dd3f840 | |||
| 776172368d | |||
| 63cf65eb22 | |||
| f79ae299df | |||
| 2a903af8a6 | |||
| 0aa2e4dc35 | |||
| e00f7957ec | |||
| 57c148eafe | |||
| b2f45be2cc | |||
| 4e091ee904 | |||
| 0af7c0a933 | |||
| cbdb42526c | |||
| 4c6e224ccd | |||
| 1db43b4db8 | |||
| 43f04d443d | |||
| 937e8a4613 | |||
| 6853be511d | |||
| 45839330dd | |||
| 3e7b1d2bac | |||
| f80b253945 | |||
| 85ed892a1f | |||
| 54aa6f5399 | |||
| 404b2f3560 | |||
| ffeec0c6aa | |||
| 48a6d4361f | |||
| 643651e145 | |||
| e1ac57bd64 | |||
| c18c41c08d | |||
| 68551320c5 | |||
| dac89ea79d | |||
| d2d4b861b2 | |||
| 7a4f371123 | |||
| 226cfd3a1d | |||
| 77c970ef49 | |||
| 37cf31dcfa | |||
| 48edd72d58 | |||
| 0924c25074 | |||
| 231eded6cf | |||
| c285421f59 | |||
| cc5a834bb7 | |||
| c9a1a34667 | |||
| 32e2ae4b8d | |||
| a454be509d | |||
| eaade740e3 | |||
| 386cb1f324 | |||
| 016c5a3cab | |||
| 2e6f016dd7 | |||
| d01781a2ff | |||
| e2b2581830 | |||
| 7c5a59ef45 | |||
| b624c66d53 | |||
| 7a0ec5aee3 | |||
| faf5b99c5e | |||
| d87e6c0fda | |||
| d1c96d2648 | |||
| 8ee7522db9 | |||
| 5a99e0673e | |||
| cee16a3746 | |||
| b3a8803211 | |||
| 7e1856c835 | |||
| 69f948efc2 | |||
| 29406ae606 | |||
| afe0affe5e | |||
| eace414d40 | |||
| 526566bf83 | |||
| 719c9aef4a | |||
| 2d6428cf70 | |||
| 756c5eca8d | |||
| 6aa2fd2f92 | |||
| bb02e3b918 | |||
| af2d9a4a3f | |||
| a4fb37001c | |||
| 8eaa41a775 | |||
| 43c27a5b4b | |||
| 52a5e0b9cf | |||
| d8ac8602fe | |||
| f7e9b64d46 | |||
| 1524e2e042 | |||
| baa35d46f8 | |||
| ef5798b8ee | |||
| 6132490840 | |||
| f85b9b5d9e | |||
| d606dcb546 | |||
| 5ae665a9bb | |||
| 2da6926e59 | |||
| 0edb5fbecf | |||
| 3045541aeb | |||
| 38e139ca3e | |||
| 7e1ca2069d | |||
| 01c4fb0119 | |||
| f851b171b6 | |||
| 3619ace621 | |||
| 89ab2ef615 | |||
| 85d2b77b7e | |||
| f57b7c5017 | |||
| 2cca4fd16a | |||
| 75e6da4292 | |||
| bd7c56977c | |||
| 4aac7bf31d | |||
| eec3896e55 | |||
| ee14cecea8 | |||
| f8c52c5b60 | |||
| 3555126b79 | |||
| 7964fb841f | |||
| 10581211e3 | |||
| 2d1a25cb70 | |||
| 72a6ce49c0 | |||
| b925179178 | |||
| 69aadfd106 | |||
| d99995d714 | |||
| 02a9cab98b | |||
| 027b276561 | |||
| ce3e8461a3 | |||
| 000fed99a0 | |||
| 3ceb25fd28 | |||
| 404a544ab2 | |||
| 4f96cabc1d | |||
| 67c824d4d2 | |||
| 6b001a72fd | |||
| 75a6b77302 | |||
| 0c77bb0f14 | |||
| ddf40c7301 | |||
| 1432c1afa8 | |||
| 1fe24865b3 | |||
| 7767d1d617 | |||
| c7babfbb6a | |||
| a5ca12ae3e | |||
| e6a2a87a9f | |||
| c322e9976c | |||
| f2784806e3 | |||
| 2207c4301c | |||
| 3ca49359a7 | |||
| ffde3f615a | |||
| 38e429542e | |||
| 52d6680612 | |||
| 24b29924d4 | |||
| 794bad6f07 | |||
| 1070b3fb1e | |||
| b1d5347556 | |||
| 9377d790ab | |||
| 160234a821 | |||
| 811188ff61 | |||
| 21e1f5b1ea | |||
| f80cd656aa | |||
| ec3c69f8cc | |||
| 415cf7d16d | |||
| db6f9a768d | |||
| 5f5e7033ae | |||
| eb62daf7aa | |||
| 1a1186d568 | |||
| 5720b67bba | |||
| 96c77cc58c | |||
| 5f899c289e | |||
| 537162201c | |||
| adfa84dfd9 | |||
| 261b0f2754 | |||
| 562f512ab2 | |||
| 22f1cfbc47 | |||
| a41c9664b3 | |||
| b606dcf8e1 | |||
| b28251eab6 | |||
| e46b9083cf | |||
| 3358e589db | |||
| c5983ca77d | |||
| 0c3c3e3eee | |||
| e518db50f9 | |||
| 750cabf2d1 | |||
| e59edcc3d1 | |||
| 95f2bda905 | |||
| f5acb0e76e | |||
| 53cafdb3e9 | |||
| 75c5568ba7 | |||
| b45584646e | |||
| 1edb961f7e | |||
| f848e57b36 | |||
| 399c5d12e4 | |||
| a582a54642 | |||
| 52ed2ea263 | |||
| 48a9dbc0fc | |||
| 427e7987c3 | |||
| 86e269b175 | |||
| 7a490748e2 | |||
| a7e854eb01 | |||
| 4f6e7d6ae6 | |||
| 6d4f971aa9 | |||
| 0b0cf73af1 | |||
| 4c08f4c356 | |||
| 815c26690f | |||
| 14660d69e3 | |||
| 450f07a3b3 | |||
| 543f2c0949 | |||
| cb25c52d9f | |||
| 588e3c2592 | |||
| 514051d902 | |||
| ddba8128b2 | |||
| 7c1ec1682c | |||
| 921cc2aa27 | |||
| b5d7e877be | |||
| ddac5a08e4 | |||
| 6e05b010bc | |||
| 9f7db83746 | |||
| 83133ccfc4 | |||
| f2ea9d71cf | |||
| 1550ab39dd | |||
| 0149973c96 | |||
| 50913d685d | |||
| d30c400219 | |||
| acc190b738 | |||
| 8c4df6f077 | |||
| a6cb496213 | |||
| 86002dee77 | |||
| 30731ce11c | |||
| 93f13d7669 | |||
| 2a0a571832 | |||
| 2d1721de0f | |||
| c9056c0b20 | |||
| a3a944a05d | |||
| 46dfae8723 | |||
| 026bb79e43 | |||
| 22769408c5 | |||
| 93fe41a173 | |||
| 4230fb7391 | |||
| 897b04d90e | |||
| 5c0ca3ea26 | |||
| 569905b8e6 | |||
| 666760444c | |||
| 491e6896d4 | |||
| 9242a633e9 | |||
| 406a8d5ec8 | |||
| af9cfe36fd | |||
| b1079f82a7 | |||
| 222d5eb694 | |||
| 9024fa83c2 | |||
| 5843b0ec2f | |||
| 755af3b669 | |||
| 36b6c00291 | |||
| 5da6eb85cb | |||
| d76ae47822 | |||
| bcfb83835f | |||
| bd915ceb95 | |||
| 9a7e9f24c5 | |||
| 2bfcd0d04c | |||
| e683618dd5 | |||
| 206b7e3113 | |||
| 8cc11f6280 | |||
| 52ebb4b7b9 | |||
| 28352c662a | |||
| 61d9e09a4a | |||
| 9d612216c0 | |||
| 2418d15c32 | |||
| 5828565f2d | |||
| a9e654dd73 | |||
| c22dd2e0ad | |||
| da3768b446 | |||
| 0990cc35bd | |||
| 71b9f68d6e | |||
| eb5c4bf538 | |||
| 8da22a5ea0 | |||
| 49ff5c0630 | |||
| 56bf51e9fb | |||
| 2b7c1d73a5 | |||
| 8e1cab3516 | |||
| 04a720dbec | |||
| fd2c3f899b | |||
| 9fc3c64c49 | |||
| e336652c5e | |||
| 120a22491b | |||
| 18e7189524 | |||
| c4c1ccabf4 | |||
| aa0ed40f57 | |||
| aec201a91a | |||
| 9b23c4cacd | |||
| 09795e64b7 | |||
| 32fa30d06c | |||
| 525f11d96c | |||
| f57e305b2e | |||
| 9dd5880edc | |||
| 3f503517e6 | |||
| 6896af5523 | |||
| 8646a811da | |||
| de35632171 | |||
| 15cbaf54be | |||
| 97818bc9da | |||
| ae46a69ab6 | |||
| a53f3bc707 | |||
| 0709cf3a60 | |||
| c49badae51 | |||
| abcd396736 | |||
| e61f00092e | |||
| 335b67cbf6 | |||
| c035b48ce5 | |||
| f40fc1b011 | |||
| 9bd3a5cf9a | |||
| 82dcfa52d2 | |||
| 78a2aa755d | |||
| 9fc231041c | |||
| fc84df9f90 | |||
| 02f6b28f71 | |||
| 618f7e23c9 | |||
| 63489eb225 | |||
| 87ea1c873c | |||
| 31ba669108 | |||
| 93a23a2ba5 | |||
| 4cd6082f57 | |||
| 5699a7d580 | |||
| 9fa9f5ae5f | |||
| b87c434c10 | |||
| a71f823b3f | |||
| 065f119211 | |||
| 2c0cc4c37c | |||
| 8892df2833 | |||
| 9bb9f67c00 | |||
| bfb2677fa5 | |||
| c2c62158b0 | |||
| afb0f71fe9 | |||
| 1b2a96e325 | |||
| 5d9dda911e | |||
| 03a95b5a3f | |||
| b65b8a3cd3 | |||
| e3cc12a922 | |||
| 3ae26da9af | |||
| 7f33d7f819 | |||
| 9fb915733f | |||
| fe10415617 | |||
| 1a236363f6 | |||
| b2bd055931 | |||
| b9bd9eba1a | |||
| 7c93ecf7e8 | |||
| d8dd8592e1 | |||
| bd84e5429f | |||
| 317b02f956 | |||
| ef96dfa487 | |||
| 13fbeaa2ba | |||
| 7e1b84999b | |||
| 0a0d2772e4 | |||
| 6694b1ec98 | |||
| cb8db97b67 | |||
| 7630bc4c43 | |||
| 1860875077 | |||
| 3fe587906a | |||
| f547e07832 | |||
| 583040e94a | |||
| da01b86545 | |||
| 3e16c180ff | |||
| 8dcfe57a58 | |||
| 83c74b63ee | |||
| 23d6abb76d | |||
| ce132f69cb | |||
| eaea3b73d4 | |||
| 37ce05a590 | |||
| 98821d0ae4 | |||
| 9c2b94abab | |||
| 59808d3aa8 | |||
| 630310b58f | |||
| 9c5274b579 | |||
| aa92f9c346 | |||
| 05a933b9f4 | |||
| 155d180cab | |||
| cfa13da172 | |||
| 983c49b4fe | |||
| d289d53f26 | |||
| 53313416f7 | |||
| 551e318a8e | |||
| 7a2044b793 | |||
| d9c0599dfa | |||
| d576151514 | |||
| fdabe4b5a5 | |||
| b9bc36c074 | |||
| c5ea68a102 | |||
| eeda208871 | |||
| fec639efb1 | |||
| e72031c8e3 | |||
| 01dd5f1a83 | |||
| 879704fd6f | |||
| 4af6b73e29 | |||
| ee45037074 | |||
| 2406cad9e4 | |||
| 089030084c | |||
| bcdefba45f | |||
| 47744a7125 | |||
| 30a1635ecb | |||
| f95747a29d | |||
| 762a41d5d7 | |||
| 9105fd46f1 | |||
| 63f08c8ac9 |
@@ -60,6 +60,11 @@ jobs:
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
|
||||
${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}
|
||||
${{ runner.os }}-br-${{ matrix.version }}
|
||||
${{ runner.os }}-br
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
@@ -94,63 +99,3 @@ jobs:
|
||||
- name: Notify Madoguchi (Failure)
|
||||
if: ( cancelled() || failure() ) && github.event_name == 'push'
|
||||
run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
|
||||
- name: Lint RPMs and SRPMs
|
||||
id: lint
|
||||
if: success()
|
||||
run: |
|
||||
echo 'LINT_ERR=false' >> $GITHUB_ENV
|
||||
rpmlint anda-build/ > rpmlint.txt || f=1
|
||||
if [[ $f -eq 1 ]]; then
|
||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||
echo "ESC_LINT_OUT<<$EOF" >> $GITHUB_ENV
|
||||
cat rpmlint.txt | sed 's/`/\\`/g' | sed 's/"/\"/g' >> $GITHUB_ENV
|
||||
echo $EOF >> $GITHUB_ENV
|
||||
echo "lint_out<<$EOF" >> $GITHUB_ENV
|
||||
echo '```' >> $GITHUB_ENV
|
||||
cat rpmlint.txt >> $GITHUB_ENV
|
||||
echo '```' >> $GITHUB_ENV
|
||||
echo $EOF >> $GITHUB_ENV
|
||||
echo 'LINT_ERR=true' >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Try to install package
|
||||
id: dnf
|
||||
if: success()
|
||||
run: |
|
||||
echo 'INSTALL_ERR=false' >> $GITHUB_ENV
|
||||
touch out
|
||||
for f in anda-build/rpm/rpms/*.rpm; do
|
||||
dnf in --downloadonly -y $f > $f.dnfout.txt 2>&1 || fail=1
|
||||
if [[ $fail -eq 1 ]]; then
|
||||
echo "### $f" >> out
|
||||
echo '```' >> out
|
||||
cat $f.dnfout.txt >> out
|
||||
echo '```' >> out
|
||||
echo >> out
|
||||
echo 'INSTALL_ERR=true' >> $GITHUB_ENV
|
||||
fi
|
||||
done
|
||||
cat out
|
||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||
echo "ESC_DNF_OUT<<$EOF" >> $GITHUB_ENV
|
||||
cat out | sed 's/`/\\`/g' | sed 's/"/\"/g' >> $GITHUB_ENV
|
||||
echo $EOF >> $GITHUB_ENV
|
||||
echo "dnf_out<<$EOF" >> $GITHUB_ENV
|
||||
cat out >> $GITHUB_ENV
|
||||
echo $EOF >> $GITHUB_ENV
|
||||
|
||||
- name: Generate RPMLint/DNF summary
|
||||
if: success()
|
||||
run: |
|
||||
# Remind me to make all of this not weird later ~ lleyton
|
||||
|
||||
if [[ $LINT_ERR == "true" ]]; then
|
||||
echo -e "## ❌ Lint: [${{matrix.pkg.pkg}} (${{matrix.pkg.arch}})](https://github.com/terrapkg/packages/actions/runs/${{github.run_id}})\n" >> $GITHUB_STEP_SUMMARY
|
||||
echo -e "```\n${{ env.ESC_LINT_OUT }}\n```\n" >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
|
||||
if [[ $INSTALL_ERR == "true" ]]; then
|
||||
echo -e "## ❌ DNF: [${{matrix.pkg.pkg}} (${{matrix.pkg.arch}})](https://github.com/terrapkg/packages/actions/runs/${{github.run_id}})\n" >> $GITHUB_STEP_SUMMARY
|
||||
echo "${{ env.ESC_DNF_OUT }}" >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
|
||||
@@ -23,13 +23,7 @@ jobs:
|
||||
run: |
|
||||
sudo dnf install -y dnf-plugins-core
|
||||
sudo dnf config-manager --add-repo https://github.com/terrapkg/subatomic-repos/raw/main/terra${{ matrix.version }}.repo
|
||||
sudo dnf install -y mock createrepo_c rpm-build terra-mock-configs gcc curl wget git-core openssl-devel
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: FyraLabs/subatomic
|
||||
set-safe-directory: true
|
||||
fetch-depth: 1
|
||||
sudo dnf install -y mock createrepo_c rpm-build gcc curl wget git-core openssl-devel
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@@ -40,6 +34,24 @@ jobs:
|
||||
command: install
|
||||
args: anda
|
||||
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: f${{ matrix.version} }}
|
||||
fetch-depth: 1
|
||||
- name: Build terra-mock-configs
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
anda build -c fedora-${{ matrix.version }}-${{ matrix.arch }} anda/mock-configs/pkg -p rpm
|
||||
- name: Install terra-mock-configs
|
||||
run: sudo dnf install -y anda-build/rpm/rpms/terra-mock-configs*.rpm
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: FyraLabs/subatomic
|
||||
set-safe-directory: true
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Build Subatomic
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
@@ -47,13 +59,16 @@ jobs:
|
||||
- name: Install Subatomic
|
||||
run: sudo dnf install -y ./anda-build/rpm/rpms/subatomic-*.rpm
|
||||
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: FyraLabs/anda
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Build Andaman
|
||||
run: anda build -c terra-${{ matrix.version }}-${{ matrix.arch }} anda -p rpm
|
||||
|
||||
|
||||
- name: Upload to Subatomic
|
||||
run: |
|
||||
subatomic-cli upload --prune \
|
||||
|
||||
@@ -13,14 +13,12 @@ jobs:
|
||||
update-comps:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:38
|
||||
image: ghcr.io/terrapkg/builder:f38
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- id: get-branch
|
||||
uses: grandmasterdev/github-action-get-branch@latest
|
||||
- name: Push to subatomic
|
||||
run: |
|
||||
branch=${{steps.get-branch.outputs.branch-name}}
|
||||
branch=${{ github.ref_name }}
|
||||
ver=${branch/f/}
|
||||
subatomic-cli upload-comps \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
|
||||
@@ -38,13 +38,15 @@ jobs:
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
msg="bump(nightly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git commit -S -a -m "$msg"
|
||||
f37 () {
|
||||
copy_over () {
|
||||
git format-patch HEAD^
|
||||
git checkout f37
|
||||
git checkout $1
|
||||
git apply *.patch || true
|
||||
rm *.patch
|
||||
git add *
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
f37 || true
|
||||
copy_over f37 || true
|
||||
copy_over f39 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Update
|
||||
on:
|
||||
schedule:
|
||||
- cron: "*/30 * * * *"
|
||||
- cron: "*/10 * * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Run Update
|
||||
run: anda update -vv
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.AUTOUPDATE_GH_TOKEN }}
|
||||
RUST_BACKTRACE: full
|
||||
|
||||
- name: Save
|
||||
@@ -39,13 +39,15 @@ jobs:
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
msg="bump: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git commit -S -a -m "$msg"
|
||||
f37 () {
|
||||
copy_over () {
|
||||
git format-patch HEAD^
|
||||
git checkout f37
|
||||
git checkout $1
|
||||
git apply *.patch || true
|
||||
rm *.patch
|
||||
git add *
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
f37 || true
|
||||
copy_over f37 || true
|
||||
copy_over f39 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
Name: anki-bin
|
||||
Version: 2.1.65
|
||||
Release: 1%{?dist}
|
||||
Version: 2.1.66
|
||||
Release: 2%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
BuildRequires: python3-installer python3.11 rpm_macro(fdupes)
|
||||
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat
|
||||
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress
|
||||
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine
|
||||
ExclusiveArch: x86_64
|
||||
Conflicts: anki
|
||||
Source0: https://files.pythonhosted.org/packages/cp39/a/anki/anki-%{version}-cp39-abi3-manylinux_2_28_%{_arch}.whl
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-qt5
|
||||
Version: 2.1.65
|
||||
Release: 1%{?dist}
|
||||
Version: 2.1.66
|
||||
Release: 2%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
@@ -8,7 +8,7 @@ BuildRequires: python3-devel python3-setuptools python3-waitress python3-protob
|
||||
BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson python3-pyqt5-sip
|
||||
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc
|
||||
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt5-sip
|
||||
ExclusiveArch: x86_64
|
||||
Conflicts: anki
|
||||
Patch0: 0001-No-update.patch
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "anki.spec"
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Name: anki
|
||||
Version: 2.1.65
|
||||
Release: 1%{?dist}
|
||||
Version: 2.1.66
|
||||
Release: 2%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes)
|
||||
BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson
|
||||
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-devel python3-pyqt6
|
||||
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine
|
||||
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-qt5-webengine python3-pyqt6
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt6-webengine
|
||||
Recommends: mpv
|
||||
Obsoletes: anki <= 2.1.15
|
||||
Conflicts: anki-qt5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
%ifarch x86_64
|
||||
%global src ArmCord-%version
|
||||
@@ -8,8 +9,12 @@
|
||||
%global src ArmCord-%version-armv7l
|
||||
%endif
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/armcord/.*\\.so
|
||||
|
||||
Name: armcord-bin
|
||||
Version: 3.2.1
|
||||
Version: 3.2.4.libwebp
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: armcord
|
||||
Version: 3.2.1
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
URL: https://github.com/ArmCord/ArmCord
|
||||
Group: Applications/Internet
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Source1: launch.sh
|
||||
Requires: electron xdg-utils
|
||||
BuildRequires: nodejs-npm
|
||||
Conflicts: armcord-bin
|
||||
BuildArch: noarch
|
||||
Name: armcord
|
||||
Version: 3.2.4.libwebp
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
URL: https://github.com/ArmCord/ArmCord
|
||||
Group: Applications/Internet
|
||||
Source1: launch.sh
|
||||
Requires: electron xdg-utils
|
||||
BuildRequires: nodejs-npm git
|
||||
Conflicts: armcord-bin
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
ArmCord is a custom client designed to enhance your Discord experience
|
||||
while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
%autosetup -n ArmCord-%version
|
||||
git clone %url .
|
||||
git checkout v%version
|
||||
|
||||
cat <<EOF > armcord.desktop
|
||||
[Desktop Entry]
|
||||
@@ -36,7 +36,7 @@ EOF
|
||||
|
||||
|
||||
%build
|
||||
npx pnpm@7 install --frozen-lockfile --ignore-scripts
|
||||
npx pnpm@7 install --no-frozen-lockfile
|
||||
npm run packageQuick
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: authy
|
||||
Version: 2.4.0
|
||||
Version: 2.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Two factor authentication desktop application
|
||||
License: Unlicense
|
||||
URL: https://authy.com/
|
||||
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_20.snap
|
||||
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_21.snap
|
||||
Requires: gtk3
|
||||
Requires: nss
|
||||
BuildRequires: squashfs-tools desktop-file-utils
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.162
|
||||
Version: 0.0.171
|
||||
Release: 1%{?dist}
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -52,4 +57,4 @@ chmod o+w %{buildroot}%{_datadir}/discord-canary-openasar/resources -R
|
||||
- Bundle discord-canary
|
||||
|
||||
* Thu Oct 20 2022 Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
-
|
||||
-
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.162
|
||||
Version: 0.0.171
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.28
|
||||
Version: 0.0.31
|
||||
Release: 1%{?dist}
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.44
|
||||
Version: 0.0.50
|
||||
Release: 1%{?dist}
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.44
|
||||
Version: 0.0.50
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.28
|
||||
Version: 0.0.31
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 42b4b88db8f6ce1ef1cf085e8fd8de6d4484f5d4
|
||||
%global commit 8b9442ced668b24565206830cf47c928b3b6af82
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
@@ -20,6 +20,7 @@ BuildRequires: pkgconfig(geonames)
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
#BuildRequires: pkgconfig(libandroid-properties)
|
||||
BuildRequires: pkgconfig(click-0.4)
|
||||
BuildRequires: pkgconfig(deviceinfo)
|
||||
BuildRequires: pkgconfig(gsettings-qt)
|
||||
BuildRequires: pkgconfig(QtGui)
|
||||
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
// let v = gh("VOICEVOX/voicevox");
|
||||
// rpm.version(v);
|
||||
// let engines = get(`https://raw.githubusercontent.com/VOICEVOX/voicevox/${v}/package.json`).json().engines;
|
||||
// rpm.define("nodev", find(">=([\\d.]+)", engines.node, 1));
|
||||
// rpm.define("nodev", find(">=([\\d.]+)", engines.npm, 1));
|
||||
let v = "0.14.7";
|
||||
let v = gh("VOICEVOX/voicevox");
|
||||
rpm.global("ver", v);
|
||||
let engines = get(`https://raw.githubusercontent.com/VOICEVOX/voicevox/${v}/package.json`).json().engines;
|
||||
print(find(">=([\\d.]+)", engines.node, 1));
|
||||
print(find(">=([\\d.]+)", engines.npm, 1));
|
||||
rpm.global("nodev", find(">=([\\d.]+)", engines.node, 1));
|
||||
rpm.global("npmv", find(">=([\\d.]+)", engines.npm, 1));
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
%global nodev 16.17.0
|
||||
%global npmv 8.11.0
|
||||
%global ver 0.14.8
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: voicevox
|
||||
Version: 0.14.7
|
||||
Release: 1%?dist
|
||||
Version: %ver
|
||||
Release: 4%?dist
|
||||
Summary: Free Japanese text-to-speech editor
|
||||
License: LGPL-3.0
|
||||
URL: https://voicevox.hiroshiba.jp
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: crystal
|
||||
Version: 1.9.2
|
||||
Version: 1.10.1
|
||||
Release: 1%{?dist}
|
||||
Summary: The Crystal Programming Language
|
||||
License: Apache-2.0
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.0.6
|
||||
Version: 3.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: budgie-extras
|
||||
Version: 1.6.0
|
||||
Release: 2%{?dist}
|
||||
Version: 1.7.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: GPL-3.0
|
||||
Summary: Additional Budgie Desktop enhancements for user experience
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu3
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu4
|
||||
%global _hardened_build 0
|
||||
|
||||
Name: compiz9
|
||||
@@ -77,7 +77,7 @@ Compiz Config Manager helps configure Compiz Window Manager, version 0.9 series
|
||||
Compiz 9 branch, which is newer then what Fedora packages and required by Unity 7.6 and higher.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n compiz
|
||||
%autosetup -p1 -n compiz-%version+%(echo %_ubuntu_rel | sed 's@-0ubuntu.@@')
|
||||
|
||||
%build
|
||||
# The driver blacklist hack is obselete
|
||||
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
diff --git a/src/Core/Package.vala b/src/Core/Package.vala
|
||||
index 62d206fa..cbf05983 100644
|
||||
--- a/src/Core/Package.vala
|
||||
+++ b/src/Core/Package.vala
|
||||
@@ -42,8 +42,29 @@ public enum RuntimeStatus {
|
||||
}
|
||||
|
||||
public class AppCenterCore.Package : Object {
|
||||
+ // locally installed packages
|
||||
public const string APPCENTER_PACKAGE_ORIGIN = "appcenter";
|
||||
- private const string ELEMENTARY_STABLE_PACKAGE_ORIGIN = "elementary-stable-jammy-main";
|
||||
+
|
||||
+ // Fedora repositories
|
||||
+ private const string FEDORA_STABLE_PACKAGE_ORIGIN = "fedora";
|
||||
+ private const string FEDORA_UPDATES_PACKAGE_ORIGIN = "updates";
|
||||
+ private const string FEDORA_TESTING_PACKAGE_ORIGIN = "updates-testing";
|
||||
+
|
||||
+ // RPMFusion repositories
|
||||
+ private const string RPMFUSION_FREE_STABLE_PACKAGE_ORIGIN = "rpmfusion-free";
|
||||
+ private const string RPMFUSION_FREE_UPDATES_PACKAGE_ORIGIN = "rpmfusion-free-updates";
|
||||
+ private const string RPMFUSION_FREE_TESTING_PACKAGE_ORIGIN = "rpmfusion-free-updates-testing";
|
||||
+ private const string RPMFUSION_NONFREE_STABLE_PACKAGE_ORIGIN = "rpmfusion-nonfree";
|
||||
+ private const string RPMFUSION_NONFREE_UPDATES_PACKAGE_ORIGIN = "rpmfusion-nonfree-updates";
|
||||
+ private const string RPMFUSION_NONFREE_TESTING_PACKAGE_ORIGIN = "rpmfusion-nonfree-updates-testing";
|
||||
+
|
||||
+ // Ultramarine repositories
|
||||
+ private const string ULTRAMARINE_PACKAGE_ORIGIN = "ultramarine";
|
||||
+ private const string AKMODS_SECUREBOOT_PACKAGE_ORIGIN = "copr::egeretto:akmods-secureboot";
|
||||
+ private const string KMODTOOL_SECUREBOOT_PACKAGE_ORIGIN = "copr::egeretto:kmodtool-secureboot";
|
||||
+
|
||||
+ // Terra repositories
|
||||
+ private const string TERRA_PACKAGE_ORIGIN = "terra";
|
||||
|
||||
public RuntimeStatus runtime_status { get; set; default = RuntimeStatus.UP_TO_DATE; }
|
||||
|
||||
@@ -216,8 +237,12 @@ public class AppCenterCore.Package : Object {
|
||||
public bool is_native {
|
||||
get {
|
||||
switch (component.get_origin ()) {
|
||||
- case APPCENTER_PACKAGE_ORIGIN:
|
||||
- case ELEMENTARY_STABLE_PACKAGE_ORIGIN:
|
||||
+ case FEDORA_STABLE_PACKAGE_ORIGIN:
|
||||
+ case FEDORA_UPDATES_PACKAGE_ORIGIN:
|
||||
+ case FEDORA_TESTING_PACKAGE_ORIGIN:
|
||||
+ case ULTRAMARINE_PACKAGE_ORIGIN:
|
||||
+ case AKMODS_SECUREBOOT_PACKAGE_ORIGIN:
|
||||
+ case KMODTOOL_SECUREBOOT_PACKAGE_ORIGIN:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@@ -328,12 +353,33 @@ public class AppCenterCore.Package : Object {
|
||||
owned get {
|
||||
unowned string origin = component.get_origin ();
|
||||
if (backend is PackageKitBackend) {
|
||||
- if (origin == APPCENTER_PACKAGE_ORIGIN) {
|
||||
- return _("AppCenter");
|
||||
- } else if (origin == ELEMENTARY_STABLE_PACKAGE_ORIGIN) {
|
||||
- return _("elementary Updates");
|
||||
- } else if (origin.has_prefix ("ubuntu-")) {
|
||||
- return _("Ubuntu (non-curated)");
|
||||
+ switch (origin) {
|
||||
+ case FEDORA_STABLE_PACKAGE_ORIGIN:
|
||||
+ return "Fedora";
|
||||
+ case FEDORA_UPDATES_PACKAGE_ORIGIN:
|
||||
+ return "Fedora Updates";
|
||||
+ case FEDORA_TESTING_PACKAGE_ORIGIN:
|
||||
+ return "Fedora Updates (Testing)";
|
||||
+ case RPMFUSION_FREE_STABLE_PACKAGE_ORIGIN:
|
||||
+ return "RPMFusion";
|
||||
+ case RPMFUSION_FREE_UPDATES_PACKAGE_ORIGIN:
|
||||
+ return "RPMFusion Updates";
|
||||
+ case RPMFUSION_FREE_TESTING_PACKAGE_ORIGIN:
|
||||
+ return "RPMFusion Updates (Testing)";
|
||||
+ case RPMFUSION_NONFREE_STABLE_PACKAGE_ORIGIN:
|
||||
+ return "RPMFusion (Non-free Software)";
|
||||
+ case RPMFUSION_NONFREE_UPDATES_PACKAGE_ORIGIN:
|
||||
+ return "RPMFusion (Non-free Software) Updates";
|
||||
+ case RPMFUSION_NONFREE_TESTING_PACKAGE_ORIGIN:
|
||||
+ return "RPMFusion (Non-free Software) Updates (Testing)";
|
||||
+ case ULTRAMARINE_PACKAGE_ORIGIN:
|
||||
+ return "Ultramarine";
|
||||
+ case AKMODS_SECUREBOOT_PACKAGE_ORIGIN:
|
||||
+ return "Secureboot support for akmods";
|
||||
+ case KMODTOOL_SECUREBOOT_PACKAGE_ORIGIN:
|
||||
+ return "Secureboot support for kmodtool";
|
||||
+ case TERRA_PACKAGE_ORIGIN:
|
||||
+ return "Terra";
|
||||
}
|
||||
} else if (backend is FlatpakBackend) {
|
||||
var fp_package = this as FlatpakPackage;
|
||||
@@ -342,8 +388,6 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
return fp_package.remote_title;
|
||||
- } else if (backend is UbuntuDriversBackend) {
|
||||
- return _("Ubuntu Drivers");
|
||||
}
|
||||
|
||||
return _("Unknown Origin (non-curated)");
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "elementary-appcenter.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
# false positives
|
||||
addFilter("E: invalid-lc-messages-dir /usr/share/locale/bh*")
|
||||
addFilter("E: invalid-lc-messages-dir /usr/share/locale/mo*")
|
||||
|
||||
# don't care about manpages
|
||||
addFilter("W: no-manual-page-for-binary io.elementary.appcenter*")
|
||||
|
||||
# don't care about no documentation for sub-packages
|
||||
addFilter("W: no-documentation*")
|
||||
|
||||
@@ -0,0 +1,313 @@
|
||||
%global appname io.elementary.appcenter
|
||||
|
||||
Name: elementary-appcenter
|
||||
Summary: Software Center from elementary
|
||||
Version: 7.4.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
Provides: appcenter = %{version}-%{release}
|
||||
Obsoletes: appcenter < 7.2.1-2
|
||||
|
||||
URL: https://github.com/elementary/appcenter
|
||||
Source0: %url/archive/%{version}/appcenter-%{version}.tar.gz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
|
||||
BuildRequires: appstream-vala
|
||||
|
||||
BuildRequires: pkgconfig(appstream) >= 0.10.0
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(flatpak)
|
||||
BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: pkgconfig(granite) >= 6.0.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(libsoup-2.4)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(packagekit-glib2)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
|
||||
Requires: PackageKit
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
%description
|
||||
AppCenter is a native Gtk+ app store built on AppStream and Packagekit.
|
||||
|
||||
|
||||
%package gnome-shell-search-provider
|
||||
Summary: Software Center from elementary (gnome-shell search provider)
|
||||
|
||||
Provides: appcenter-gnome-shell-search-provider = %{version}-%{release}
|
||||
Obsoletes: appcenter-gnome-shell-search-provider < 7.2.1-2
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: gnome-shell
|
||||
|
||||
Supplements: (%{name} and gnome-shell)
|
||||
|
||||
%description gnome-shell-search-provider
|
||||
AppCenter is a native Gtk+ app store built on AppStream and Packagekit.
|
||||
|
||||
This package contains the gnome-shell search provider.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n appcenter-%version
|
||||
|
||||
|
||||
%build
|
||||
%meson -Dpayments=false -Dcurated=false -Dhide_upstream_distro_apps=false
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %{appname}
|
||||
|
||||
# remove empty hidden apps file
|
||||
rm -r %{buildroot}/%{_sysconfdir}/%{appname}/appcenter.hiddenapps
|
||||
|
||||
# create autostart entry symlink
|
||||
mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart/
|
||||
|
||||
ln -s %{_datadir}/applications/%{appname}-daemon.desktop \
|
||||
%{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}*.desktop
|
||||
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{appname}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%dir %{_sysconfdir}/%{appname}
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
||||
|
||||
%{_bindir}/%{appname}
|
||||
|
||||
%{_datadir}/applications/%{appname}*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}{,-symbolic}.svg
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/polkit-1/actions/%{appname}.policy
|
||||
|
||||
|
||||
%files gnome-shell-search-provider
|
||||
%{_datadir}/gnome-shell/search-providers/%{appname}.search-provider.ini
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 07 2022 Fabio Valentini <decathorpe@gmail.com> - 3.10.0-1
|
||||
- Update to version 3.10.0.
|
||||
|
||||
* Tue Dec 14 2021 Fabio Valentini <decathorpe@gmail.com> - 3.9.1-1
|
||||
- Update to version 3.9.1.
|
||||
|
||||
* Wed Nov 24 2021 Fabio Valentini <decathorpe@gmail.com> - 3.9.0-1
|
||||
- Update to version 3.9.0.
|
||||
|
||||
* Sat Oct 30 2021 Fabio Valentini <decathorpe@gmail.com> - 3.8.2-1
|
||||
- Update to version 3.8.2.
|
||||
|
||||
* Wed Oct 27 2021 Fabio Valentini <decathorpe@gmail.com> - 3.8.1-1
|
||||
- Update to version 3.8.1.
|
||||
|
||||
* Tue Sep 28 2021 Fabio Valentini <decathorpe@gmail.com> - 3.8.0-1
|
||||
- Update to version 3.8.0.
|
||||
|
||||
* Fri Sep 17 2021 Fabio Valentini <decathorpe@gmail.com> - 3.7.1-3
|
||||
- Mark flatpak sources in the UI.
|
||||
|
||||
* Fri Sep 17 2021 Fabio Valentini <decathorpe@gmail.com> - 3.7.1-2
|
||||
- Hard-code Fedora instead of ubuntu repository names.
|
||||
|
||||
* Tue Aug 31 2021 Fabio Valentini <decathorpe@gmail.com> - 3.7.1-1
|
||||
- Update to version 3.7.1.
|
||||
|
||||
* Fri Aug 27 2021 Fabio Valentini <decathorpe@gmail.com> - 3.7.0-1
|
||||
- Update to version 3.7.0.
|
||||
|
||||
* Tue Aug 17 2021 Fabio Valentini <decathorpe@gmail.com> - 3.6.3-1
|
||||
- Update to version 3.6.3.
|
||||
|
||||
* Wed Aug 11 2021 Fabio Valentini <decathorpe@gmail.com> - 3.6.2-1
|
||||
- Update to version 3.6.2.
|
||||
|
||||
* Thu Aug 05 2021 Fabio Valentini <decathorpe@gmail.com> - 3.6.1-1
|
||||
- Update to version 3.6.1.
|
||||
|
||||
* Fri Jul 16 2021 Fabio Valentini <decathorpe@gmail.com> - 3.6.0-1
|
||||
- Update to version 3.6.0.
|
||||
|
||||
* Fri Oct 09 2020 Fabio Valentini <decathorpe@gmail.com> - 3.5.1-1
|
||||
- Update to version 3.5.1.
|
||||
|
||||
* Wed Oct 07 2020 Fabio Valentini <decathorpe@gmail.com> - 3.5.0-1
|
||||
- Update to version 3.5.0.
|
||||
|
||||
* Fri Aug 07 2020 Fabio Valentini <decathorpe@gmail.com> - 3.4.2-1
|
||||
- Update to version 3.4.2.
|
||||
|
||||
* Thu Jul 02 2020 Fabio Valentini <decathorpe@gmail.com> - 3.4.1-1
|
||||
- Update to version 3.4.1.
|
||||
|
||||
* Thu May 28 2020 Fabio Valentini <decathorpe@gmail.com> - 3.4.0-1
|
||||
- Update to version 3.4.0.
|
||||
|
||||
* Thu Apr 30 2020 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-1
|
||||
- Update to version 3.3.0.
|
||||
|
||||
* Thu Apr 09 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.4-1
|
||||
- Update to version 3.2.4.
|
||||
|
||||
* Thu Apr 02 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.3-1
|
||||
- Update to version 3.2.3.
|
||||
|
||||
* Mon Mar 23 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.2-1
|
||||
- Update to version 3.2.2.
|
||||
|
||||
* Fri Feb 28 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.1-1
|
||||
- Update to version 3.2.1.
|
||||
|
||||
* Fri Feb 15 2019 Fabio Valentini <decathorpe@gmail.com> - 3.1.1-1
|
||||
- Update to version 3.1.1.
|
||||
|
||||
* Wed Jan 02 2019 Fabio Valentini <decathorpe@gmail.com> - 3.1.0-1
|
||||
- Update to version 3.1.0.
|
||||
- Remove empty blacklist file.
|
||||
|
||||
* Fri Nov 30 2018 Fabio Valentini <decathorpe@gmail.com> - 3.0.1-2
|
||||
- Drop elementaryOS blacklist in favor of the version shipped with appcenter.
|
||||
|
||||
* Thu Oct 25 2018 Fabio Valentini <decathorpe@gmail.com> - 3.0.1-1
|
||||
- Update to version 3.0.1.
|
||||
|
||||
* Tue Oct 16 2018 Fabio Valentini <decathorpe@gmail.com> - 3.0-2
|
||||
- Add missing autostart entry symlink for the daemon.
|
||||
|
||||
* Tue Oct 16 2018 Fabio Valentini <decathorpe@gmail.com> - 3.0-1
|
||||
- Update to version 3.0.
|
||||
- Add gnome-shell search provider sub-package.
|
||||
- Explicitly disable payment system and curated applications.
|
||||
- Update blacklist file to current version from elementaryOS.
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 0.2.9-2
|
||||
- Rebuild for granite5 soname bump.
|
||||
|
||||
* Thu Mar 08 2018 Fabio Valentini <decathorpe@gmail.com> - 0.2.9-1
|
||||
- Update to version 0.2.9.
|
||||
- Add patch to fix build with the newer vala and PackageKit on f28+.
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Jan 26 2018 Fabio Valentini <decathorpe@gmail.com> - 0.2.8-1
|
||||
- Update to version 0.2.8.
|
||||
|
||||
* Tue Nov 07 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.7-1
|
||||
- Update to version 0.2.7.
|
||||
|
||||
* Fri Nov 03 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-2
|
||||
- Rebuild for granite soname bump.
|
||||
|
||||
* Mon Sep 18 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-1
|
||||
- Update to version 0.2.6.
|
||||
|
||||
* Sat Aug 05 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.5-1
|
||||
- Update to version 0.2.5.
|
||||
- Include fedora-specific blacklist adapted from elementaryOS.
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Jul 04 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.4-1
|
||||
- Update to version 0.2.4.
|
||||
|
||||
* Thu Jun 01 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.3-1
|
||||
- Update to version 0.2.3.
|
||||
|
||||
* Mon May 22 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-1
|
||||
- Update to version 0.2.2.
|
||||
|
||||
* Sat May 20 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.1-1
|
||||
- Update to version 0.2.1.
|
||||
|
||||
* Wed May 17 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2-1
|
||||
- Update to version 0.2.
|
||||
|
||||
* Thu Mar 16 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.4-1
|
||||
- Update to version 0.1.4.
|
||||
- Depend on generic icon again, since it _should_ work.
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Jan 27 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-7
|
||||
- Add patch to rename generic icon to something branded.
|
||||
|
||||
* Wed Jan 25 2017 Fabio Valentini <decathorpe@gmail.com>
|
||||
- Remove explicit BR: /usr/bin/pkgconfig.
|
||||
|
||||
* Mon Jan 23 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-6
|
||||
- Explicitly depend on /usr/bin/pkg-config.
|
||||
|
||||
* Mon Jan 23 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-5
|
||||
- Add missing scriptlets.
|
||||
|
||||
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-4
|
||||
- Include icon to fix appdata metadata generation.
|
||||
|
||||
* Tue Jan 10 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-3
|
||||
- Clean up spec file.
|
||||
|
||||
* Sat Dec 24 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-2
|
||||
- Enable libunity support.
|
||||
|
||||
* Mon Dec 05 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-1
|
||||
- Update to version 0.1.3.
|
||||
|
||||
* Sun Nov 20 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.2-2
|
||||
- Build out of tree.
|
||||
|
||||
* Sat Oct 29 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.2-1
|
||||
- Update to version 0.1.2.
|
||||
|
||||
* Fri Oct 07 2016 Neal Gompa <ngompa13@gmail.com> - 0.1.1-4
|
||||
- Add patch to support AppStream 0.10.0 in F25 (LP#1626398)
|
||||
|
||||
* Thu Sep 29 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-3
|
||||
- Mass rebuild.
|
||||
|
||||
* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-2
|
||||
- Spec file cleanups.
|
||||
|
||||
* Tue Sep 27 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-1
|
||||
- Update to version 0.1.1.
|
||||
|
||||
* Sat Sep 17 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1-2
|
||||
- Require PackageKit.
|
||||
|
||||
* Thu Aug 18 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1-1
|
||||
- Update to version 0.1.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("elementary/appcenter"));
|
||||
@@ -5,15 +5,13 @@
|
||||
|
||||
Name: elementary-calendar
|
||||
Summary: Desktop calendar app designed for elementary
|
||||
Version: 6.1.2
|
||||
Release: 2%{?dist}
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/calendar
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://patch-diff.githubusercontent.com/raw/elementary/calendar/pull/758.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
@@ -21,6 +19,8 @@ BuildRequires: pkgconfig(champlain-0.12)
|
||||
BuildRequires: pkgconfig(libecal-2.0)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
# BuildRequires: pkgconfig(libportal)
|
||||
BuildRequires: pkgconfig(libportal-gtk3)
|
||||
BuildRequires: folks-devel
|
||||
BuildRequires: libgee-devel
|
||||
BuildRequires: pkgconfig(geocode-glib-2.0)
|
||||
@@ -69,20 +69,17 @@ This package contains the development files.
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
||||
%dnl desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
||||
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{appname}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
||||
%dnl %config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
||||
|
||||
%{_bindir}/%{appname}
|
||||
|
||||
@@ -92,7 +89,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}/
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: elementary-code
|
||||
Summary: Code editor from elementary
|
||||
Version: 7.0.0
|
||||
Release: 3%{?dist}
|
||||
Version: 7.1.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
@@ -90,6 +90,7 @@ This package contains the development headers.
|
||||
%{_datadir}/gtksourceview-4/styles/elementary-light.xml
|
||||
%{_datadir}/metainfo/io.elementary.code.metainfo.xml
|
||||
%{_datadir}/polkit-1/actions/%{appname}.policy
|
||||
%{_mandir}/man1/%{appname}.1.gz
|
||||
|
||||
%files devel
|
||||
%{_includedir}/codecore.h
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: elementary-files
|
||||
Summary: File manager from elementary
|
||||
Version: 6.4.1
|
||||
Version: 6.5.2
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
|
||||
@@ -3,14 +3,13 @@
|
||||
|
||||
Name: elementary-greeter
|
||||
Summary: LightDM Login Screen for the elementary desktop
|
||||
Version: 6.1.1
|
||||
Release: 3%{?dist}
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/greeter
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source1: 40-%{appname}.conf
|
||||
Patch0: https://github.com/elementary/greeter/compare/93bbca3..1b3879d.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -69,7 +68,7 @@ The elementary Greeter is a styled Login Screen for LightDM.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version} -p1
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
@@ -90,8 +89,7 @@ install -pm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d/
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{appname}.lang
|
||||
@@ -105,7 +103,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_sbindir}/%{appname}
|
||||
|
||||
%{_datadir}/xgreeters/%{appname}.desktop
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/lightdm/lightdm.conf.d/40-%appname.conf
|
||||
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-icon-theme
|
||||
Summary: Icons from the Elementary Project
|
||||
Version: 7.3.0
|
||||
Release: 2%{?dist}
|
||||
Version: 7.3.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/icons
|
||||
@@ -72,7 +72,7 @@ touch %{buildroot}/%{_datadir}/icons/elementary/icon-theme.cache
|
||||
%check
|
||||
# ignore validation until appstream-glib knows the "icon-theme" component type
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml || :
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml || :
|
||||
|
||||
|
||||
%transfiletriggerin -- %{_datadir}/icons/elementary
|
||||
@@ -96,7 +96,7 @@ gtk-update-icon-cache --force %{_datadir}/icons/elementary &>/dev/null || :
|
||||
%{_datadir}/icons/elementary/cursor.theme
|
||||
%{_datadir}/icons/elementary/index.theme
|
||||
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
%files gimp-palette
|
||||
%{_datadir}/gimp/2.0/palettes/elementary.gpl
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
Name: elementary-notifications
|
||||
Version: 7.0.0
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: GTK Notification server for Pantheon
|
||||
|
||||
@@ -42,6 +42,10 @@ Provides: %{name} = %{version}-%{release}
|
||||
%meson_install
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/%appname.metainfo.xml
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
@@ -52,7 +56,7 @@ Provides: %{name} = %{version}-%{release}
|
||||
|
||||
%config %{_sysconfdir}/xdg/autostart/%{appname}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_metainfodir}/%{appname}.appdata.xml
|
||||
%{_metainfodir}/%{appname}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-onboarding
|
||||
Summary: Onboarding app for new users
|
||||
Version: 7.1.0
|
||||
Release: 2%{?dist}
|
||||
Version: 7.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/onboarding
|
||||
|
||||
+14
-5
@@ -3,7 +3,7 @@
|
||||
%global iface io.elementary.SettingsDaemon.AccountsService
|
||||
|
||||
Name: elementary-settings-daemon
|
||||
Version: 1.2.0
|
||||
Version: 1.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Settings Daemon and Portal for Pantheon
|
||||
License: GPL-3.0-or-later
|
||||
@@ -25,6 +25,7 @@ BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(granite) >= 5.3.0
|
||||
BuildRequires: pkgconfig(libgeoclue-2.0)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(fwupd)
|
||||
|
||||
Requires: xdg-desktop-portal
|
||||
|
||||
@@ -47,25 +48,27 @@ Requires: xdg-desktop-portal
|
||||
|
||||
%check
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}.desktop
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
||||
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
|
||||
%post
|
||||
%systemd_user_post %{appname}.xdg-desktop-portal.service
|
||||
%systemd_post %{appname}.check-for-firmware-updates.timer
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{appname}.xdg-desktop-portal.service
|
||||
%systemd_preun %{appname}.check-for-firmware-updates.timer
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}.desktop
|
||||
%config(noreplace) %{_datadir}/applications/%{appname}.desktop
|
||||
|
||||
%{_bindir}/%{appname}
|
||||
|
||||
@@ -75,10 +78,16 @@ appstream-util validate-relax --nonet \
|
||||
%{_datadir}/dbus-1/interfaces/%{iface}.xml
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.elementary.settings-daemon.service
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/xdg-desktop-portal/portals/%{appname}.portal
|
||||
|
||||
%{_userunitdir}/%{appname}.xdg-desktop-portal.service
|
||||
%{_unitdir}/%{appname}.check-for-firmware-updates.service
|
||||
%{_unitdir}/%{appname}.check-for-firmware-updates.timer
|
||||
|
||||
%{_sysconfdir}/xdg/autostart/%appname.desktop
|
||||
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-videos
|
||||
Summary: Video player and library app from elementary
|
||||
Version: 2.9.1
|
||||
Release: 2%{?dist}
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: gala
|
||||
Summary: Gala window manager
|
||||
Version: 7.1.1
|
||||
Version: 7.1.2
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Name: switchboard-plug-a11y
|
||||
Summary: Switchboard Accessibility plug
|
||||
Version: 2.3.0
|
||||
Release: 5%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-a11y
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
Name: switchboard-plug-applications
|
||||
Summary: Switchboard Applications plug
|
||||
Version: 7.0.0
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Name: switchboard-plug-bluetooth
|
||||
Summary: Switchboard Bluetooth plug
|
||||
Version: 2.3.6
|
||||
Release: 4%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-bluetooth
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Name: switchboard-plug-datetime
|
||||
Summary: Switchboard Date & Time Plug
|
||||
Version: 2.2.0
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-datetime
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-keyboard
|
||||
Summary: Switchboard Keyboard plug
|
||||
Version: 3.1.1
|
||||
Release: 2%?dist
|
||||
Version: 3.2.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-keyboard
|
||||
@@ -59,7 +59,7 @@ same time. Keyboard shortcuts are also part of this plug.
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
@@ -67,8 +67,8 @@ appstream-util validate-relax --nonet \
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/glib-2.0/schemas/keyboard.gschema.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-pantheon-shell
|
||||
Summary: Switchboard Pantheon Shell plug
|
||||
Version: 6.4.0
|
||||
Release: 2%{?dist}
|
||||
Version: 6.5.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-pantheon-shell
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-security-privacy
|
||||
Summary: Switchboard Security & Privacy Plug
|
||||
Version: 7.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.1.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-sound
|
||||
Summary: Switchboard Sound Plug
|
||||
Version: 2.3.2
|
||||
Release: 2%?dist
|
||||
Version: 2.3.3
|
||||
Release: 1%{?dist}
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-sound
|
||||
@@ -27,6 +27,7 @@ BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
BuildRequires: pkgconfig(libcanberra-gtk)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
|
||||
@@ -52,12 +53,11 @@ A sound plug for Switchboard.
|
||||
%find_lang %{plug_name}-plug
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
@@ -66,7 +66,7 @@ appstream-util validate-relax --nonet \
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global plug_name wallet
|
||||
%global plug_rdnn io.elementary.switchboard.wallet
|
||||
|
||||
%global commit bfe73dfb95d9b46a0a34e0db35a178233c8552b0
|
||||
%global commit 50582fc7ee43a4b47647d04786dcf1d0eb45af36
|
||||
|
||||
Name: switchboard-plug-wallet
|
||||
Summary: Switchboard Wallet Plug
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
Name: wingpanel-indicator-datetime
|
||||
Summary: Datetime Indicator for wingpanel
|
||||
Version: 2.4.1
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/wingpanel-indicator-datetime
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-indicator-network
|
||||
Summary: Network Indicator for wingpanel
|
||||
Version: 7.0.1
|
||||
Release: 2%{?dist}
|
||||
Version: 7.0.2
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/wingpanel-indicator-network
|
||||
|
||||
+2
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: wingpanel-indicator-notifications
|
||||
Summary: Notifications Indicator for wingpanel
|
||||
Version: 7.0.0
|
||||
Version: 7.1.0
|
||||
Release: 1%{?dist}
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
@@ -62,6 +62,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_libdir}/wingpanel/libnotifications.so
|
||||
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-indicator-power
|
||||
Summary: Power indicator for wingpanel
|
||||
Version: 6.2.0
|
||||
Release: 2%?dist
|
||||
Version: 6.2.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/wingpanel-indicator-power
|
||||
|
||||
@@ -6,13 +6,12 @@ launcher.}
|
||||
|
||||
Name: wingpanel
|
||||
Summary: Stylish top panel
|
||||
Version: 3.0.3
|
||||
Version: 3.0.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/wingpanel
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: https://github.com/elementary/wingpanel/compare/f8b98a5..0cbf289.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: xdg-desktop-portal-pantheon
|
||||
Version: 7.1.0
|
||||
Version: 7.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Pantheon XDG Desktop Portals
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,17 +1,12 @@
|
||||
%global forgeurl https://invent.kde.org/system/liquidshell
|
||||
%global commit 9b14b9766f5d8db2b81c9bc7d4163dc07534402c
|
||||
%global scm git
|
||||
%forgemeta
|
||||
|
||||
Name: kde-liquidshell
|
||||
Version: 1.8.1
|
||||
Version: 1.9.0
|
||||
Release: %autorelease
|
||||
Summary: Basic desktop shell using QtWidgets
|
||||
Provides: liquidshell = %version
|
||||
|
||||
License: GPL-3.0
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgeurl}/-/archive/%{commit}/liquidshell-%{commit}.tar.gz
|
||||
URL: https://invent.kde.org/system/liquidshell
|
||||
Source0: https://download.kde.org/stable/liquidshell/liquidshell-%version.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libappstream-glib
|
||||
@@ -49,7 +44,7 @@ Recommends: polkit-kde
|
||||
liquidshell is a basic Desktop Shell implemented using QtWidgets.
|
||||
|
||||
%prep
|
||||
%autosetup -n liquidshell-%{commit}
|
||||
%autosetup -n liquidshell-%version
|
||||
|
||||
%build
|
||||
%cmake_kf5 -DWITH_PACKAGEKIT=true
|
||||
@@ -69,6 +64,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
||||
%{_datadir}/knotifications5/liquidshell.notifyrc
|
||||
%{_metainfodir}/org.kde.liquidshell.appdata.xml
|
||||
%{_datadir}/xsessions/liquidshell-session.desktop
|
||||
%{_datadir}/locale/*/LC_MESSAGES/liquidshell.mo
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
let html = get("https://download.kde.org/stable/liquidshell/");
|
||||
rpm.version(find(`>liquidshell-([.\d]+)\.tar\.xz</a>`, html, 1));
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit 459f0d54ffe2a8d1b7597a70112b164fb9319760
|
||||
%global commit bf320e2d15282a466f32396486c42dbb577d3905
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri
|
||||
%global commit f6570663da8bcdea3f906327745fd3eea14c8d78
|
||||
%global commit ed5564cbba53d1c4a3acfb53024db3a912083f59
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri
|
||||
Version: 0.1.2
|
||||
Release: 2%?dist
|
||||
Version: 0.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: A convergent desktop environment by Ubports
|
||||
|
||||
License: GPLv3 AND LGPLv3
|
||||
@@ -87,6 +87,7 @@ Lomiri, Previously Unity8 is a convergent desktop environment built with Qt.
|
||||
|
||||
%package tests
|
||||
Summary: Test files for %{name}
|
||||
Requires: dbus-test-runner
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
@@ -94,6 +95,10 @@ The %{name}-tests package contains test files for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n lomiri-%commit -p1
|
||||
# Ubuntu specific, may have to be updated every background image change on Gnome or Ubuntu
|
||||
for i in $(grep -rl warty-final-ubuntu); do
|
||||
sed -i 's!warty-final-ubuntu.png!f38/default/f38-01-day.png!' $i
|
||||
done
|
||||
|
||||
%build
|
||||
%cmake -DWerror=OFF -DDEB_HOST_MULTIARCH=%{_arch} -DCMAKE_INSTALL_LOCALSTATEDIR="%{_localstatedir}" -DDISPLAYED_DISTRO_NAME="Fedora" -DUSE_MIROIL=1
|
||||
@@ -130,6 +135,8 @@ install -Dm644 data/test.sensors %{buildroot}%{_sysconfdir}/lomirisensors
|
||||
%{_libdir}/lomiri/qml/LightDM/
|
||||
%{_libdir}/lomiri/qml/Lomiri/
|
||||
%{_libdir}/lomiri/qml/Powerd/
|
||||
%{_libdir}/lomiri/qml/ProcessControl/libProcessControl-qml.so
|
||||
%{_libdir}/lomiri/qml/ProcessControl/qmldir
|
||||
%{_libdir}/lomiri/qml/ScreenshotDirectory/
|
||||
%{_libdir}/lomiri/qml/SessionBroadcast/
|
||||
%{_libdir}/lomiri/qml/UInput/
|
||||
@@ -141,6 +148,7 @@ install -Dm644 data/test.sensors %{buildroot}%{_sysconfdir}/lomirisensors
|
||||
%{_datadir}/accountsservice/interfaces/com.lomiri.shell.AccountsService.xml
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/dbus-1/interfaces/com.lomiri.shell.AccountsService.xml
|
||||
%{_datadir}/dbus-1/interfaces/com.lomiri.ProcessControl.xml
|
||||
%{_datadir}/lightdm/greeters/lomiri-greeter.desktop
|
||||
%{_datadir}/lightdm/lightdm.conf.d/51-lomiri-greeter.conf
|
||||
%dir %{_datadir}/lomiri
|
||||
@@ -162,6 +170,7 @@ install -Dm644 data/test.sensors %{buildroot}%{_sysconfdir}/lomirisensors
|
||||
%{_sharedstatedir}/lomiri/version
|
||||
%{_sharedstatedir}/polkit-1/localauthority/10-vendor.d/50-com.lomiri.wizard.pkla
|
||||
|
||||
|
||||
%files tests
|
||||
%{_bindir}/lomiri-mock-indicator-service
|
||||
%{_libdir}/lomiri/qml/mocks/
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "mate-tweak.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: mate-tweak
|
||||
Version: 22.10.0
|
||||
Release: 1%?dist
|
||||
Summary: Tweak tool for the MATE Desktop
|
||||
License: GPL-2.0
|
||||
URL: https://github.com/ubuntu-mate/mate-tweak
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
Requires: python3
|
||||
BuildRequires: python3dist(setuptools) rpm_macro(py3_build) intltool desktop-file-utils
|
||||
|
||||
%description
|
||||
This is MATE Tweak, a fork of mintDesktop.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
python3 -m ensurepip
|
||||
python3 -m pip install distutils-extra-python
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
desktop-file-validate %buildroot%_datadir/applications/*.desktop
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
%_bindir/%name
|
||||
%_bindir/marco-{compton,xrender,picom,glx,xr_glx_hybrid,no-composite}
|
||||
%_prefix/lib/%name/
|
||||
%_datadir/locale/*/LC_MESSAGES/%name.mo
|
||||
%_mandir/man1/marco-{glx,no-composite,xr_glx_hybrid,xrender}.1.gz
|
||||
%_mandir/man1/%name.1.gz
|
||||
%_datadir/applications/%name.desktop
|
||||
%_datadir/applications/marco-{glx,no-composite,xr_glx_hybrid,xrender}.desktop
|
||||
%_datadir/polkit-1/actions/org.mate.%name.policy
|
||||
%ghost %_prefix/lib/python3.11/site-packages/__pycache__
|
||||
%ghost %_prefix/lib/python3.11/site-packages/setup.py
|
||||
%ghost %_prefix/lib/python3.11/site-packages/mate_tweak-%version-py%python3_version.egg-info/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("ubuntu-mate/mate-tweak"));
|
||||
@@ -2,7 +2,7 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: iosevka-fusion-fonts
|
||||
Version: 25.0.1
|
||||
Version: 27.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A custom font based on iosevka
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
let readme = get("https://raw.githubusercontent.com/sharanda/manrope/master/README.md");
|
||||
let ver = find("## Changelog\n- v (.+?) \\/", readme, 1);
|
||||
if ver != find("Version:\\s*([\\d.]+)\n" rpm.f, 1) {
|
||||
if ver != find("Version:\\s*([\\d.]+)\n", rpm.f, 1) {
|
||||
let req = new_req("https://api.github.com/repos/sharanda/manrope/commits/HEAD");
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 0.41.3
|
||||
Version: 0.42.1
|
||||
Release: 1%{?dist}
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/sarasa-gothic-ttc-%version.7z
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define osuresver 2023.719.0
|
||||
%define osuresver 2023.1014.0
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2023.717.0
|
||||
Version: 2023.1008.1
|
||||
Release: 1%{?dist}
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
From 5a38fc2c9a329e88c8337af541dfeccaeff1fefb Mon Sep 17 00:00:00 2001
|
||||
From: seth <getchoo@tuta.io>
|
||||
Date: Sun, 15 Jan 2023 14:47:49 -0500
|
||||
Subject: [PATCH] find cmark with pkgconfig
|
||||
|
||||
Signed-off-by: seth <getchoo@tuta.io>
|
||||
---
|
||||
cmake/Findcmark.cmake | 59 +++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 59 insertions(+)
|
||||
create mode 100755 cmake/Findcmark.cmake
|
||||
|
||||
diff --git a/cmake/Findcmark.cmake b/cmake/Findcmark.cmake
|
||||
new file mode 100755
|
||||
index 00000000..9858e5df
|
||||
--- /dev/null
|
||||
+++ b/cmake/Findcmark.cmake
|
||||
@@ -0,0 +1,59 @@
|
||||
+# SPDX-FileCopyrightText: 2019 Black Hat <bhat@encom.eu.org>
|
||||
+# SPDX-License-Identifier: GPL-3.0-only
|
||||
+
|
||||
+#
|
||||
+# CMake module to search for the cmark library
|
||||
+#
|
||||
+
|
||||
+# first try to find cmark-config.cmake
|
||||
+# path to a file not in the search path can be set with 'cmake -Dcmark_DIR=some/path/'
|
||||
+find_package(cmark CONFIG QUIET)
|
||||
+if(cmark_FOUND AND TARGET cmark::cmark)
|
||||
+ # found it!
|
||||
+ return()
|
||||
+endif()
|
||||
+
|
||||
+find_package(PkgConfig QUIET)
|
||||
+if(PKG_CONFIG_FOUND)
|
||||
+ pkg_check_modules(PC_CMARK QUIET cmark)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_INCLUDE_DIR)
|
||||
+ find_path(CMARK_INCLUDE_DIR
|
||||
+ NAMES cmark.h
|
||||
+ PATHS
|
||||
+ ${PC_CMARK_INCLUDEDIR}
|
||||
+ ${PC_CMARK_INCLUDE_DIRS}
|
||||
+ /usr/include
|
||||
+ /usr/local/include)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_LIBRARY)
|
||||
+ find_library(CMARK_LIBRARY
|
||||
+ NAMES cmark
|
||||
+ HINTS
|
||||
+ ${PC_CMARK_LIBDIR}
|
||||
+ ${PC_CMARK_LIBRARY_DIRS}
|
||||
+ /usr/lib
|
||||
+ /usr/local/lib)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT TARGET cmark::cmark)
|
||||
+ add_library(cmark::cmark UNKNOWN IMPORTED)
|
||||
+ set_target_properties(cmark::cmark
|
||||
+ PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
|
||||
+ ${CMARK_INCLUDE_DIR})
|
||||
+ set_property(TARGET cmark::cmark APPEND
|
||||
+ PROPERTY IMPORTED_LOCATION ${CMARK_LIBRARY})
|
||||
+endif()
|
||||
+
|
||||
+include(FindPackageHandleStandardArgs)
|
||||
+find_package_handle_standard_args(cmark
|
||||
+ DEFAULT_MSG
|
||||
+ CMARK_INCLUDE_DIR
|
||||
+ CMARK_LIBRARY)
|
||||
+
|
||||
+mark_as_advanced(CMARK_LIBRARY CMARK_INCLUDE_DIR)
|
||||
+
|
||||
+set(CMARK_LIBRARIES ${CMARK_LIBRARY})
|
||||
+set(CMARK_INCLUDE_DIRS ${CMARK_INCLUDE_DIR})
|
||||
--
|
||||
2.39.0
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 593f45298614843c14acb11994320f90a474c750
|
||||
%global commit 7015b8f7b256588fe46476f77433e27ca4097bd5
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 0a90913abf9390b9e08ab6d3b40ac11634553f38
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
@@ -25,26 +25,14 @@
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform unknown
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global build_platform Fedora
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global build_platform RedHat
|
||||
%endif
|
||||
|
||||
%if 0%{?centos}
|
||||
%global build_platform CentOS
|
||||
%endif
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 7.1^%{snapshot_info}
|
||||
Version: 8.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
@@ -54,6 +42,7 @@ Source0: https://github.com/PrismLauncher/PrismLauncher/archive/%{commi
|
||||
Source1: https://github.com/PrismLauncher/libnbtplusplus/archive/%{libnbtplusplus_commit}/libnbtplusplus-%{libnbtplusplus_commit}.tar.gz
|
||||
Source2: https://github.com/stachenov/quazip/archive/%{quazip_commit}/quazip-%{quazip_commit}.tar.gz
|
||||
Source3: https://github.com/marzer/tomlplusplus/archive/%{tomlplusplus_commit}/tomlplusplus-%{tomlplusplus_commit}.tar.gz
|
||||
Patch0: 0001-find-cmark-with-pkgconfig.patch
|
||||
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: extra-cmake-modules
|
||||
@@ -75,6 +64,9 @@ BuildRequires: cmake(Qt6Core5Compat)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(libcmark)
|
||||
%if 0%{fedora} < 38
|
||||
BuildRequires: cmark
|
||||
%endif
|
||||
BuildRequires: pkgconfig(scdoc)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
@@ -94,8 +86,6 @@ Recommends: flite
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
Recommends: terra-fractureiser-detector
|
||||
|
||||
Conflicts: %{real_name}
|
||||
Conflicts: %{real_name}-qt5
|
||||
%if %{without qt6}
|
||||
@@ -146,9 +136,6 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
%check
|
||||
%ctest
|
||||
|
||||
appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -167,6 +154,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.Pri
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 8.0^20230726.4f00012-1
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform,
|
||||
and add patches for epel/older fedora versions
|
||||
|
||||
* Sun Jul 23 2023 seth <getchoo at tuta dot io> - 8.0^20230722.273d75f-1
|
||||
- update submodules, version, & use autorelease
|
||||
|
||||
* Wed Jun 07 2023 seth <getchoo at tuta dot io> - 7.0^20230603.954d4d7-1
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
|
||||
@@ -4,5 +4,8 @@ if filters.contains("nightly") {
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
rpm.version(`${gh("PrismLauncher/PrismLauncher")}^%{snapshot_info}`);
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
From 5a38fc2c9a329e88c8337af541dfeccaeff1fefb Mon Sep 17 00:00:00 2001
|
||||
From: seth <getchoo@tuta.io>
|
||||
Date: Sun, 15 Jan 2023 14:47:49 -0500
|
||||
Subject: [PATCH] find cmark with pkgconfig
|
||||
|
||||
Signed-off-by: seth <getchoo@tuta.io>
|
||||
---
|
||||
cmake/Findcmark.cmake | 59 +++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 59 insertions(+)
|
||||
create mode 100755 cmake/Findcmark.cmake
|
||||
|
||||
diff --git a/cmake/Findcmark.cmake b/cmake/Findcmark.cmake
|
||||
new file mode 100755
|
||||
index 00000000..9858e5df
|
||||
--- /dev/null
|
||||
+++ b/cmake/Findcmark.cmake
|
||||
@@ -0,0 +1,59 @@
|
||||
+# SPDX-FileCopyrightText: 2019 Black Hat <bhat@encom.eu.org>
|
||||
+# SPDX-License-Identifier: GPL-3.0-only
|
||||
+
|
||||
+#
|
||||
+# CMake module to search for the cmark library
|
||||
+#
|
||||
+
|
||||
+# first try to find cmark-config.cmake
|
||||
+# path to a file not in the search path can be set with 'cmake -Dcmark_DIR=some/path/'
|
||||
+find_package(cmark CONFIG QUIET)
|
||||
+if(cmark_FOUND AND TARGET cmark::cmark)
|
||||
+ # found it!
|
||||
+ return()
|
||||
+endif()
|
||||
+
|
||||
+find_package(PkgConfig QUIET)
|
||||
+if(PKG_CONFIG_FOUND)
|
||||
+ pkg_check_modules(PC_CMARK QUIET cmark)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_INCLUDE_DIR)
|
||||
+ find_path(CMARK_INCLUDE_DIR
|
||||
+ NAMES cmark.h
|
||||
+ PATHS
|
||||
+ ${PC_CMARK_INCLUDEDIR}
|
||||
+ ${PC_CMARK_INCLUDE_DIRS}
|
||||
+ /usr/include
|
||||
+ /usr/local/include)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_LIBRARY)
|
||||
+ find_library(CMARK_LIBRARY
|
||||
+ NAMES cmark
|
||||
+ HINTS
|
||||
+ ${PC_CMARK_LIBDIR}
|
||||
+ ${PC_CMARK_LIBRARY_DIRS}
|
||||
+ /usr/lib
|
||||
+ /usr/local/lib)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT TARGET cmark::cmark)
|
||||
+ add_library(cmark::cmark UNKNOWN IMPORTED)
|
||||
+ set_target_properties(cmark::cmark
|
||||
+ PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
|
||||
+ ${CMARK_INCLUDE_DIR})
|
||||
+ set_property(TARGET cmark::cmark APPEND
|
||||
+ PROPERTY IMPORTED_LOCATION ${CMARK_LIBRARY})
|
||||
+endif()
|
||||
+
|
||||
+include(FindPackageHandleStandardArgs)
|
||||
+find_package_handle_standard_args(cmark
|
||||
+ DEFAULT_MSG
|
||||
+ CMARK_INCLUDE_DIR
|
||||
+ CMARK_LIBRARY)
|
||||
+
|
||||
+mark_as_advanced(CMARK_LIBRARY CMARK_INCLUDE_DIR)
|
||||
+
|
||||
+set(CMARK_LIBRARIES ${CMARK_LIBRARY})
|
||||
+set(CMARK_INCLUDE_DIRS ${CMARK_INCLUDE_DIR})
|
||||
--
|
||||
2.39.0
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 593f45298614843c14acb11994320f90a474c750
|
||||
%global commit 7015b8f7b256588fe46476f77433e27ca4097bd5
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 0a90913abf9390b9e08ab6d3b40ac11634553f38
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
@@ -25,26 +25,14 @@
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform unknown
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global build_platform Fedora
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global build_platform RedHat
|
||||
%endif
|
||||
|
||||
%if 0%{?centos}
|
||||
%global build_platform CentOS
|
||||
%endif
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 7.1^%{snapshot_info}
|
||||
Version: 8.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
@@ -54,6 +42,7 @@ Source0: https://github.com/PrismLauncher/PrismLauncher/archive/%{commi
|
||||
Source1: https://github.com/PrismLauncher/libnbtplusplus/archive/%{libnbtplusplus_commit}/libnbtplusplus-%{libnbtplusplus_commit}.tar.gz
|
||||
Source2: https://github.com/stachenov/quazip/archive/%{quazip_commit}/quazip-%{quazip_commit}.tar.gz
|
||||
Source3: https://github.com/marzer/tomlplusplus/archive/%{tomlplusplus_commit}/tomlplusplus-%{tomlplusplus_commit}.tar.gz
|
||||
Patch0: 0001-find-cmark-with-pkgconfig.patch
|
||||
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: extra-cmake-modules
|
||||
@@ -75,6 +64,9 @@ BuildRequires: cmake(Qt6Core5Compat)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(libcmark)
|
||||
%if 0%{fedora} < 38
|
||||
BuildRequires: cmark
|
||||
%endif
|
||||
BuildRequires: pkgconfig(scdoc)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
@@ -91,8 +83,6 @@ Requires: java-1.8.0-openjdk
|
||||
Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
|
||||
Recommends: terra-fractureiser-detector
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
@@ -146,9 +136,6 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
%check
|
||||
%ctest
|
||||
|
||||
appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -167,6 +154,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.Pri
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 8.0^20230726.4f00012-1
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform,
|
||||
and add patches for epel/older fedora versions
|
||||
|
||||
* Sun Jul 23 2023 seth <getchoo at tuta dot io> - 8.0^20230722.273d75f-1
|
||||
- update submodules, version, & use autorelease
|
||||
|
||||
* Wed Jun 07 2023 seth <getchoo at tuta dot io> - 7.0^20230603.954d4d7-1
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
|
||||
@@ -4,5 +4,8 @@ if filters.contains("nightly") {
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
rpm.version(`${gh("PrismLauncher/PrismLauncher")}^%{snapshot_info}`);
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
%bcond_with qt6
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
@@ -14,27 +15,15 @@
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform unknown
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global build_platform Fedora
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global build_platform RedHat
|
||||
%endif
|
||||
|
||||
%if 0%{?centos}
|
||||
%global build_platform CentOS
|
||||
%endif
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 7.1
|
||||
Release: 1%{?dist}
|
||||
Version: 7.2
|
||||
Release: 2%{?dist}
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
# each file in the source also contains a SPDX-License-Identifier header that declares its license
|
||||
@@ -80,7 +69,6 @@ Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
|
||||
Recommends: terra-fractureiser-detector
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
@@ -124,27 +112,27 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
%check
|
||||
%ctest
|
||||
|
||||
appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE COPYING.md
|
||||
%dir %{_datadir}/%{real_name}
|
||||
%dir %{_datadir}/%{nice_name}
|
||||
%{_bindir}/prismlauncher
|
||||
%{_datadir}/%{real_name}/NewLaunch.jar
|
||||
%{_datadir}/%{real_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/NewLaunch.jar
|
||||
%{_datadir}/%{nice_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/qtlogging.ini
|
||||
%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg
|
||||
%{_datadir}/mime/packages/modrinth-mrpack-mime.xml
|
||||
%{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories
|
||||
%{_datadir}/PrismLauncher/qtlogging.ini
|
||||
%{_mandir}/man?/prismlauncher.*
|
||||
%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
* Thu Jun 08 2023 seth <getchoo@tuta.io> - 6.3-3
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
%bcond_without qt6
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
@@ -14,27 +15,15 @@
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform unknown
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global build_platform Fedora
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global build_platform RedHat
|
||||
%endif
|
||||
|
||||
%if 0%{?centos}
|
||||
%global build_platform CentOS
|
||||
%endif
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 7.1
|
||||
Release: 1%{?dist}
|
||||
Version: 7.2
|
||||
Release: 2%{?dist}
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
# each file in the source also contains a SPDX-License-Identifier header that declares its license
|
||||
@@ -80,7 +69,6 @@ Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
|
||||
Recommends: terra-fractureiser-detector
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
@@ -124,27 +112,27 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
%check
|
||||
%ctest
|
||||
|
||||
appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE COPYING.md
|
||||
%dir %{_datadir}/%{real_name}
|
||||
%dir %{_datadir}/%{nice_name}
|
||||
%{_bindir}/prismlauncher
|
||||
%{_datadir}/%{real_name}/NewLaunch.jar
|
||||
%{_datadir}/%{real_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/NewLaunch.jar
|
||||
%{_datadir}/%{nice_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/qtlogging.ini
|
||||
%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg
|
||||
%{_datadir}/mime/packages/modrinth-mrpack-mime.xml
|
||||
%{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories
|
||||
%{_datadir}/PrismLauncher/qtlogging.ini
|
||||
%{_mandir}/man?/prismlauncher.*
|
||||
%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
* Thu Jun 08 2023 seth <getchoo@tuta.io> - 6.3-3
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
# https://github.com/xyproto/env
|
||||
%global goipath github.com/xyproto/env
|
||||
Version: 2.0.0
|
||||
Version: 2.2.4
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/xyproto/textoutput
|
||||
%global goipath github.com/xyproto/textoutput
|
||||
Version: 1.14.2
|
||||
Version: 1.15.10
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/xyproto/vt100
|
||||
%global goipath github.com/xyproto/vt100
|
||||
Version: 1.11.5
|
||||
Version: 1.12.7
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy-docs
|
||||
Version: 4.0.13
|
||||
Version: 4.0.15
|
||||
Release: 1%{?dist}
|
||||
Summary: Documentation for the Groovy programming language
|
||||
URL: https://groovy-lang.org/
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
let ver = gh_tag("apache/groovy");
|
||||
ver.replace("GROOVY_", "");
|
||||
ver.replace("_", ".");
|
||||
rpm.version(ver);
|
||||
let html = get("https://groovy.apache.org/download.html");
|
||||
rpm.version(find(`onclick='window\.location\.href="https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-([\d.]+)\.zip"'>`, html, 1));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy
|
||||
Version: 4.0.13
|
||||
Version: 4.0.15
|
||||
Release: 1%{?dist}
|
||||
Summary: A multi-faceted language for the Java platform
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
let ver = gh_tag("apache/groovy");
|
||||
ver.replace("GROOVY_", "");
|
||||
ver.replace("_", ".");
|
||||
rpm.version(ver);
|
||||
let html = get("https://groovy.apache.org/download.html");
|
||||
rpm.version(find(`onclick='window\.location\.href="https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-([\d.]+)\.zip"'>`, html, 1));
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-notifications
|
||||
Summary: Ayatana Indicator Notifications Applet
|
||||
Version: 22.9.0
|
||||
Release: %autorelease
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-notifications
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: ayatana-indicator-session
|
||||
Summary: Ayatana Indicator Session Applet
|
||||
Version: 22.9.2
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-session
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-sound
|
||||
Summary: Ayatana Indicator Sound Applet
|
||||
Version: 22.9.2
|
||||
Release: %autorelease
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-sound
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Name: kotlin-native
|
||||
Version: 1.9.0
|
||||
Version: 1.9.10
|
||||
Release: 1%{?dist}
|
||||
Summary: LLVM backend for the Kotlin compiler
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Name: kotlin
|
||||
Version: 1.9.0
|
||||
Version: 1.9.10
|
||||
Release: 1%{?dist}
|
||||
Summary: Statically typed programming language
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
%bcond_with tests
|
||||
|
||||
Name: apparmor
|
||||
Version: 3.1.6
|
||||
Version: 4.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: AppArmor userspace components
|
||||
|
||||
@@ -11,7 +11,7 @@ Summary: AppArmor userspace components
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://launchpad.net/apparmor
|
||||
Source0: %{url}/%{baseversion}/%{version}/+download/%{name}-%{version}.tar.gz
|
||||
Source0: %{url}/%{baseversion}/%{version}-alpha2/+download/%{name}-%{version}~alpha2.tar.gz
|
||||
Source1: apparmor.preset
|
||||
Patch01: 0001-fix-avahi-daemon-authselect-denial-in-fedora.patch
|
||||
Patch02: 0001-All-current-versions-of-RHEL-and-Fedora-that-are-not.patch
|
||||
@@ -138,7 +138,7 @@ confinement policies when running virtual hosts in the webserver by using the
|
||||
changehat abilities exposed through libapparmor.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n %{name}-%{version}~alpha2
|
||||
|
||||
%build
|
||||
export PYTHON=%{__python3}
|
||||
@@ -231,6 +231,7 @@ make -C utils check
|
||||
%dir %{_sysconfdir}/apparmor.d/
|
||||
%dir %{_sysconfdir}/apparmor.d/abi
|
||||
%config(noreplace) %{_sysconfdir}/apparmor.d/abi/3.0
|
||||
%config(noreplace) %{_sysconfdir}/apparmor.d/abi/4.0
|
||||
%config(noreplace) %{_sysconfdir}/apparmor.d/abi/kernel-5.4-outoftree-network
|
||||
%config(noreplace) %{_sysconfdir}/apparmor.d/abi/kernel-5.4-vanilla
|
||||
%config(noreplace) %{_sysconfdir}/apparmor.d/php-fpm
|
||||
@@ -267,6 +268,7 @@ make -C utils check
|
||||
%{_bindir}/aa-enabled
|
||||
%{_bindir}/aa-exec
|
||||
%{_bindir}/aa-features-abi
|
||||
%{_sbindir}/aa-load
|
||||
%{_sbindir}/aa-teardown
|
||||
%{_sbindir}/rcapparmor
|
||||
%{_unitdir}/apparmor.service
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: argagg
|
||||
Version: 0.4.6
|
||||
Version: 0.4.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple C++ command line argument/option parser
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
rpm.version(gh("vietjtnguyen/argagg"));
|
||||
rpm.version(gh_tag("vietjtnguyen/argagg"));
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "args-hxx.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: args-hxx
|
||||
Version: 6.4.6
|
||||
Release: 1%?dist
|
||||
Summary: A simple header-only C++ argument parser library
|
||||
License: MIT
|
||||
URL: https://github.com/Taywee/args
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
BuildRequires: make doxygen gcc-c++ cmake
|
||||
|
||||
%description
|
||||
A simple header-only C++ argument parser library. Supposed to be flexible and
|
||||
powerful, and attempts to be compatible with the functionality of the Python
|
||||
standard argparse library (though not necessarily the API).
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentations for args-hxx
|
||||
|
||||
%description doc
|
||||
%summary.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n args-%version
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
make doc/man
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
make installman DESTDIR=%buildroot%_prefix
|
||||
|
||||
%files
|
||||
%_includedir/args.hxx
|
||||
/usr/lib/cmake/args/args-config-version.cmake
|
||||
/usr/lib/cmake/args/args-config.cmake
|
||||
%_libdir/pkgconfig/args.pc
|
||||
|
||||
%files doc
|
||||
%_mandir/man3/args*
|
||||
%_mandir/man3/DoublesReader.3.gz
|
||||
%_mandir/man3/StringAssignable.3.gz
|
||||
%_mandir/man3/ToLowerReader.3.gz
|
||||
%_mandir/man3/conanfile_ArgsConan.3.gz
|
||||
%_mandir/man3/md_CONTRIBUTING.3.gz
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("Taywee/args"));
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-datetime
|
||||
Summary: A GTK implementation of the StatusNotifierItem Specification
|
||||
Version: 23.6.0
|
||||
Release: %autorelease
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-datetime
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,119 +0,0 @@
|
||||
From 5f5fd77f096174c45f8335afe6efd6745796d9a5 Mon Sep 17 00:00:00 2001
|
||||
From: Kalev Lember <klember@redhat.com>
|
||||
Date: Mon, 25 Jul 2022 16:21:50 +0200
|
||||
Subject: [PATCH] Revert "Meson: Simplify pkgconfig file generator"
|
||||
|
||||
Temporarily revert this until we figure out how to best restore
|
||||
private requires that are needed for rpm automatic dep extraction.
|
||||
|
||||
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4756
|
||||
|
||||
This reverts commit 802bf4199911c811938b0454a876089bafa97dba.
|
||||
---
|
||||
meson.build | 47 +++++++++++++++++++++++++++++++++--------------
|
||||
1 file changed, 33 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 1b8f2d0248..4fc808dbd4 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -471,6 +471,9 @@ if not os_win32
|
||||
endif
|
||||
endif
|
||||
|
||||
+
|
||||
+pc_gdk_extra_libs = []
|
||||
+
|
||||
cairo_backends = []
|
||||
foreach backend: [ ['cairo-xlib', cairo_req, x11_enabled],
|
||||
['cairo-win32', cairo_req, win32_enabled],
|
||||
@@ -601,14 +604,26 @@ if x11_enabled
|
||||
cdata.set('HAVE_RANDR15', xrandr15_dep.found())
|
||||
endif
|
||||
|
||||
+if broadway_enabled
|
||||
+ pc_gdk_extra_libs += ['-lz']
|
||||
+endif
|
||||
+
|
||||
+if macos_enabled
|
||||
+ pc_gdk_extra_libs += ['-framework Cocoa', '-framework Carbon']
|
||||
+endif
|
||||
+
|
||||
extra_demo_ldflags = []
|
||||
if win32_enabled
|
||||
+ pc_gdk_extra_libs += ['-lgdi32', '-limm32', '-lshell32', '-lole32']
|
||||
if cc.get_id() == 'msvc'
|
||||
# Since the demo programs are now built as pure GUI programs, we
|
||||
# need to pass in /entry:mainCRTStartup so that they will properly
|
||||
# link on Visual Studio builds
|
||||
extra_demo_ldflags = ['/entry:mainCRTStartup']
|
||||
+ else
|
||||
+ pc_gdk_extra_libs += ['-Wl,-luuid']
|
||||
endif
|
||||
+ pc_gdk_extra_libs += ['-lwinmm', '-ldwmapi', '-lsetupapi', '-lcfgmgr32', '-lhid']
|
||||
|
||||
# Check whether libepoxy is built with EGL support on Windows
|
||||
endif
|
||||
@@ -826,7 +841,16 @@ gsk_private_packages = [] # all already in gdk_private_packages
|
||||
pangoft2_pkgs = (wayland_enabled or x11_enabled) ? ['pangoft2'] : []
|
||||
gtk_private_packages = pangoft2_pkgs
|
||||
|
||||
-pkgs = []
|
||||
+gdk_extra_libs = pc_gdk_extra_libs
|
||||
+gsk_extra_libs = []
|
||||
+gtk_extra_libs = []
|
||||
+
|
||||
+gdk_extra_cflags = []
|
||||
+gsk_extra_cflags = []
|
||||
+gtk_extra_cflags = []
|
||||
+
|
||||
+pkgs = [ 'gtk4' ]
|
||||
+
|
||||
pkg_targets = []
|
||||
display_backends = []
|
||||
foreach backend: [ 'broadway', 'macos', 'wayland', 'win32', 'x11', ]
|
||||
@@ -843,23 +867,18 @@ common_pc_variables = [
|
||||
'gtk_host=@0@-@1@'.format(host_machine.cpu_family(), host_machine.system()), # FIXME
|
||||
]
|
||||
|
||||
-pkg_config.generate(libgtk,
|
||||
- filebase: 'gtk4',
|
||||
- unescaped_variables: common_pc_variables,
|
||||
- name: 'GTK',
|
||||
- description: 'GTK Graphical UI Library',
|
||||
- requires: gdk_packages + gsk_packages + gtk_packages,
|
||||
- subdirs: ['gtk-@0@'.format(gtk_api_version)],
|
||||
-)
|
||||
-meson.override_dependency('gtk4', libgtk_dep)
|
||||
-
|
||||
foreach pkg: pkgs
|
||||
pkg_config.generate(
|
||||
filebase: pkg,
|
||||
unescaped_variables: common_pc_variables,
|
||||
name: 'GTK',
|
||||
description: 'GTK Graphical UI Library',
|
||||
- requires: 'gtk4',
|
||||
+ requires: gdk_packages + gsk_packages + gtk_packages,
|
||||
+ requires_private: gdk_private_packages + gsk_private_packages + gtk_private_packages,
|
||||
+ libraries: ['-L${libdir}', '-lgtk-4'],
|
||||
+ libraries_private: gdk_extra_libs + gsk_extra_libs + gtk_extra_libs,
|
||||
+ subdirs: ['gtk-@0@'.format(gtk_api_version)],
|
||||
+ extra_cflags: gdk_extra_cflags + gsk_extra_cflags + gtk_extra_cflags,
|
||||
)
|
||||
meson.override_dependency(pkg, libgtk_dep)
|
||||
endforeach
|
||||
@@ -870,10 +889,10 @@ if os_unix
|
||||
unescaped_variables: common_pc_variables,
|
||||
name: 'GTK',
|
||||
description: 'GTK Unix print support',
|
||||
- requires: 'gtk4',
|
||||
+ requires: ['gtk4'] + gtk_packages,
|
||||
+ libraries: [],
|
||||
subdirs: ['gtk-@0@/unix-print'.format(gtk_api_version)],
|
||||
)
|
||||
- meson.override_dependency('gtk4-unix-print', libgtk_dep)
|
||||
endif
|
||||
|
||||
subdir('po')
|
||||
--
|
||||
2.37.1
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "terra-gtk4.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
[Settings]
|
||||
gtk-hint-font-metrics=1
|
||||
@@ -1,248 +0,0 @@
|
||||
# mado: ref https://src.fedoraproject.org/rpms/gtk4/c/016dd18e8025372e85ffd732ff58f46d9b3bf642?branch=rawhide
|
||||
%if 0%{?fedora}
|
||||
%global with_broadway 1
|
||||
%endif
|
||||
|
||||
%global glib2_version 2.72.0
|
||||
%global pango_version 1.50.0
|
||||
%global cairo_version 1.14.0
|
||||
%global gdk_pixbuf_version 2.30.0
|
||||
%global wayland_protocols_version 1.31
|
||||
%global wayland_version 1.21.0
|
||||
%global epoxy_version 1.4
|
||||
|
||||
%global bin_version 4.0.0
|
||||
|
||||
# Filter provides for private modules
|
||||
%global __provides_exclude_from ^%{_libdir}/gtk-4.0
|
||||
|
||||
Name: terra-gtk4
|
||||
Version: 4.11.4
|
||||
Release: 1%{?dist}
|
||||
Summary: GTK graphical user interface library
|
||||
|
||||
License: LGPL-2.0-or-later
|
||||
URL: https://www.gtk.org
|
||||
Source0: https://gitlab.gnome.org/GNOME/gtk/-/archive/%version/gtk-%version.tar.gz
|
||||
Source1: settings.ini
|
||||
# Temporarily revert this until we figure out how to best restore
|
||||
# private requires that are needed for rpm automatic dep extraction.
|
||||
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4756
|
||||
Patch0: 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch
|
||||
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gi-docgen
|
||||
BuildRequires: meson
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: pkgconfig(avahi-gobject)
|
||||
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
|
||||
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
|
||||
BuildRequires: pkgconfig(colord)
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(epoxy)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf_version}
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(graphene-gobject-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-player-1.0)
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(pango) >= %{pango_version}
|
||||
BuildRequires: pkgconfig(sysprof-4)
|
||||
BuildRequires: pkgconfig(sysprof-capture-4)
|
||||
BuildRequires: pkgconfig(tracker-sparql-3.0)
|
||||
BuildRequires: pkgconfig(wayland-client) >= %{wayland_version}
|
||||
BuildRequires: pkgconfig(wayland-cursor) >= %{wayland_version}
|
||||
BuildRequires: pkgconfig(wayland-egl) >= %{wayland_version}
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= %{wayland_protocols_version}
|
||||
BuildRequires: pkgconfig(xcomposite)
|
||||
BuildRequires: pkgconfig(xcursor)
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xfixes)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
BuildRequires: pkgconfig(xinerama)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRequires: /usr/bin/rst2man
|
||||
BuildRequires: sassc
|
||||
|
||||
# standard icons
|
||||
Requires: adwaita-icon-theme
|
||||
# required for icon theme apis to work
|
||||
Requires: hicolor-icon-theme
|
||||
# split out in a subpackage
|
||||
Requires: gtk-update-icon-cache
|
||||
|
||||
Requires: cairo%?_isa >= %{cairo_version}
|
||||
Requires: cairo-gobject%?_isa >= %{cairo_version}
|
||||
Requires: glib2%?_isa >= %{glib2_version}
|
||||
Requires: libepoxy%?_isa >= %{epoxy_version}
|
||||
Requires: libwayland-client%?_isa >= %{wayland_version}
|
||||
Requires: libwayland-cursor%?_isa >= %{wayland_version}
|
||||
Requires: pango%?_isa >= %{pango_version}
|
||||
|
||||
# required to support all the different image formats
|
||||
Requires: gdk-pixbuf2-modules%?_isa
|
||||
|
||||
# make sure we have a reasonable gsettings backend
|
||||
Recommends: dconf%?_isa
|
||||
|
||||
Provides: gtk4%?_isa = %version-%release
|
||||
Provides: terra-gtk4%?_isa = %version-%release
|
||||
Conflicts: gtk4
|
||||
|
||||
%description
|
||||
GTK is a multi-platform toolkit for creating graphical user
|
||||
interfaces. Offering a complete set of widgets, GTK is suitable for
|
||||
projects ranging from small one-off tools to complete application
|
||||
suites.
|
||||
|
||||
This package contains latest version 4 of GTK as tracked in Terra.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for GTK
|
||||
Requires: terra-gtk4%?_isa = %version-%release
|
||||
Provides: pkgconfig(gtk4) = %version-%release
|
||||
Provides: pkgconfig(terra-gtk4) = %version-%release
|
||||
|
||||
%description devel
|
||||
This package contains the libraries and header files that are needed
|
||||
for writing applications with version 4 of the GTK widget toolkit.
|
||||
|
||||
%package devel-docs
|
||||
Summary: Developer documentation for GTK
|
||||
BuildArch: noarch
|
||||
Requires: terra-gtk4 = %version-%release
|
||||
|
||||
%description devel-docs
|
||||
This package contains developer documentation for version 4 of the GTK
|
||||
widget toolkit.
|
||||
|
||||
%package devel-tools
|
||||
Summary: Developer tools for GTK
|
||||
Requires: terra-gtk4%?_isa = %version-%release
|
||||
|
||||
%description devel-tools
|
||||
This package contains helpful applications for developers using GTK.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n gtk-%version
|
||||
|
||||
%build
|
||||
export CFLAGS='-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT %optflags'
|
||||
%meson \
|
||||
%if 0%{?with_broadway}
|
||||
-Dbroadway-backend=true \
|
||||
%endif
|
||||
-Dsysprof=enabled \
|
||||
-Dtracker=enabled \
|
||||
-Dcolord=enabled \
|
||||
-Dgtk_doc=true \
|
||||
-Dman-pages=true
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang gtk40
|
||||
|
||||
%if !0%{?with_broadway}
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/gtk4-broadwayd.1*
|
||||
%endif
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gtk-4.0
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/modules
|
||||
|
||||
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gtk-4.0/
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
%files -f gtk40.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README.md
|
||||
%{_bindir}/gtk4-launch
|
||||
%{_bindir}/gtk4-update-icon-cache
|
||||
%{_libdir}/libgtk-4.so.1*
|
||||
%dir %{_libdir}/gtk-4.0
|
||||
%dir %{_libdir}/gtk-4.0/%{bin_version}
|
||||
%{_libdir}/gtk-4.0/%{bin_version}/media/
|
||||
%{_libdir}/gtk-4.0/%{bin_version}/printbackends/
|
||||
%{_libdir}/gtk-4.0/modules
|
||||
%{_libdir}/girepository-1.0
|
||||
%{_mandir}/man1/gtk4-launch.1*
|
||||
%{_mandir}/man1/gtk4-update-icon-cache.1*
|
||||
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.ColorChooser.gschema.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.Debug.gschema.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.EmojiChooser.gschema.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.FileChooser.gschema.xml
|
||||
%dir %{_datadir}/gtk-4.0
|
||||
%{_datadir}/gtk-4.0/emoji/
|
||||
%{_datadir}/gtk-4.0/settings.ini
|
||||
%if 0%{?with_broadway}
|
||||
%{_bindir}/gtk4-broadwayd
|
||||
%{_mandir}/man1/gtk4-broadwayd.1*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libgtk-4.so
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_bindir}/gtk4-builder-tool
|
||||
%{_bindir}/gtk4-encode-symbolic-svg
|
||||
%{_bindir}/gtk4-query-settings
|
||||
%{_datadir}/gettext/
|
||||
%{_datadir}/gir-1.0
|
||||
%{_datadir}/gtk-4.0/gtk4builder.rng
|
||||
%{_datadir}/gtk-4.0/valgrind/
|
||||
%{_mandir}/man1/gtk4-builder-tool.1*
|
||||
%{_mandir}/man1/gtk4-encode-symbolic-svg.1*
|
||||
%{_mandir}/man1/gtk4-query-settings.1*
|
||||
|
||||
%files devel-docs
|
||||
%{_datadir}/doc/gdk4/
|
||||
%{_datadir}/doc/gdk4-wayland/
|
||||
%{_datadir}/doc/gdk4-x11/
|
||||
%{_datadir}/doc/gsk4/
|
||||
%{_datadir}/doc/gtk4/
|
||||
|
||||
%files devel-tools
|
||||
%{_bindir}/gtk4-demo
|
||||
%{_bindir}/gtk4-demo-application
|
||||
%{_bindir}/gtk4-icon-browser
|
||||
%{_bindir}/gtk4-node-editor
|
||||
%{_bindir}/gtk4-print-editor
|
||||
%{_bindir}/gtk4-widget-factory
|
||||
%{_datadir}/applications/org.gtk.gtk4.NodeEditor.desktop
|
||||
%{_datadir}/applications/org.gtk.Demo4.desktop
|
||||
%{_datadir}/applications/org.gtk.IconBrowser4.desktop
|
||||
%{_datadir}/applications/org.gtk.PrintEditor4.desktop
|
||||
%{_datadir}/applications/org.gtk.WidgetFactory4.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gtk.gtk4.NodeEditor*.svg
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gtk.Demo4*.svg
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gtk.IconBrowser4*.svg
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.svg
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gtk.WidgetFactory4*.svg
|
||||
%{_datadir}/glib-2.0/schemas/org.gtk.Demo4.gschema.xml
|
||||
%{_metainfodir}/org.gtk.gtk4.NodeEditor.appdata.xml
|
||||
%{_metainfodir}/org.gtk.Demo4.appdata.xml
|
||||
%{_metainfodir}/org.gtk.IconBrowser4.appdata.xml
|
||||
%{_metainfodir}/org.gtk.PrintEditor4.appdata.xml
|
||||
%{_metainfodir}/org.gtk.WidgetFactory4.appdata.xml
|
||||
%{_mandir}/man1/gtk4-demo.1*
|
||||
%{_mandir}/man1/gtk4-demo-application.1*
|
||||
%{_mandir}/man1/gtk4-icon-browser.1*
|
||||
%{_mandir}/man1/gtk4-node-editor.1*
|
||||
%{_mandir}/man1/gtk4-widget-factory.1*
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1,7 +0,0 @@
|
||||
let txt = get("https://gitlab.gnome.org/api/v4/projects/665/repository/tags");
|
||||
for item in txt.json_arr() {
|
||||
if item.name.starts_with("4.") {
|
||||
rpm.version(item.name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,7 @@ Source0: %{url}/archive/%{git_commit}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: cpr-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libappimage-devel curl-devel libX11-devel zlib-devel fuse-devel librsvg2-devel cairo-devel git-core
|
||||
BuildRequires: nlohmann-json-devel
|
||||
@@ -29,6 +30,7 @@ BuildRequires: pkgconfig(Qt5)
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: inotify-tools-devel
|
||||
BuildRequires: argagg-devel
|
||||
BuildRequires: zsync2-devel
|
||||
|
||||
%description
|
||||
Implements functionality for dealing with AppImage files. It is written in C++ and is using Boost.
|
||||
@@ -45,18 +47,14 @@ developing applications that use %{name}.
|
||||
%prep
|
||||
%autosetup -n AppImageUpdate-%{git_commit}
|
||||
|
||||
git init .
|
||||
git remote add origin %{url}
|
||||
git fetch origin
|
||||
git checkout %{git_commit} --force
|
||||
git pull origin %{git_commit} --force
|
||||
git submodule update --init --recursive
|
||||
|
||||
%build
|
||||
# add include path for argagg
|
||||
%cmake -DBUILD_QT_UI=ON \
|
||||
-DBUILD_LIBAPPIMAGEUPDATE_ONLY=ON \
|
||||
-DUSE_SYSTEM_LIBAPPIMAGE=ON
|
||||
-DUSE_SYSTEM_LIBAPPIMAGE=ON \
|
||||
-DUSE_SYSTEM_ZSYNC2=ON \
|
||||
-DCPR_FORCE_USE_SYSTEM_CURL=ON \
|
||||
-DUSE_SYSTEM_CPR=ON
|
||||
%cmake_build
|
||||
|
||||
|
||||
@@ -71,27 +69,11 @@ git submodule update --init --recursive
|
||||
%{_libdir}/*.a
|
||||
# what is this?
|
||||
%exclude %{_bindir}/validate
|
||||
%exclude %{_bindir}/curl-config
|
||||
%exclude %{_bindir}/zsync2
|
||||
%exclude %{_bindir}/zsyncmake2
|
||||
|
||||
|
||||
%files devel
|
||||
%{_includedir}/{appimage,cpr,zs*.h}
|
||||
%exclude %{_includedir}/z{conf,lib}.h
|
||||
%exclude %{_includedir}/curl/
|
||||
%{_prefix}/lib/cmake/AppImageUpdate/
|
||||
/usr/lib/debug/usr/bin/zsync*.debug
|
||||
/usr/lib64/cmake/CURL/CURLConfig.cmake
|
||||
/usr/lib64/cmake/CURL/CURLConfigVersion.cmake
|
||||
/usr/lib64/cmake/CURL/CURLTargets-debug.cmake
|
||||
/usr/lib64/cmake/CURL/CURLTargets.cmake
|
||||
/usr/lib64/cmake/zsync2/zsync2Config.cmake
|
||||
/usr/lib64/cmake/zsync2/zsync2ConfigVersion.cmake
|
||||
/usr/lib64/cmake/zsync2/zsync2Targets-debug.cmake
|
||||
/usr/lib64/cmake/zsync2/zsync2Targets.cmake
|
||||
/usr/lib64/pkgconfig/args.pc
|
||||
%exclude /usr/lib64/pkgconfig/libcurl.pc
|
||||
%exclude /usr/lib64/pkgconfig/zlib.pc
|
||||
|
||||
%changelog
|
||||
* Tue Oct 25 2022 Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: libayatana-common
|
||||
Summary: Common functions for Ayatana System Indicators
|
||||
Version: 0.9.8
|
||||
Release: %autorelease
|
||||
Version: 0.9.9
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/libayatana-common
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user