mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
Compare commits
467 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 01395cbaed | |||
| d502a44f6e | |||
| 8ff5e9c8e3 | |||
| b3d05e61fa | |||
| 17064d80d1 | |||
| 1d6c077f43 | |||
| 477378c84f | |||
| c6fbd9f8b7 | |||
| e1179d0465 | |||
| dd8befcf72 | |||
| 1c3e00092f | |||
| aeb49d309d | |||
| 66adc280d7 | |||
| 9cad6b46e3 | |||
| 9eac9bf699 | |||
| 4ed3f6719f | |||
| f5bd396763 | |||
| b659c3e580 | |||
| cde3cf63d9 | |||
| ae5147dbe1 | |||
| 6a1b812195 | |||
| 631b3985d1 | |||
| 487c51819f | |||
| eee9ba600d | |||
| bd5248e3ac | |||
| 0ea3503991 | |||
| 0b6baa4cb4 | |||
| f8f0b68944 | |||
| ee6fc60a54 | |||
| 691ccc7025 | |||
| c0dc070c4a | |||
| 02293d36df | |||
| 7513bffb63 | |||
| b68c608e95 | |||
| af8199c5ed | |||
| 7d29601efa | |||
| 5d48436d85 | |||
| e6d6774339 | |||
| bdf5be477a | |||
| 72823108a9 | |||
| 1da46e8365 | |||
| 16d6069a37 | |||
| 6008928313 | |||
| eec33556ce | |||
| 11005ecc8f | |||
| c133d5c5ef | |||
| 299c16239b | |||
| 7c658be8b9 | |||
| cf79d2fcae | |||
| f2935078e2 | |||
| 53e769981b | |||
| ec10d3b397 | |||
| afda1534e0 | |||
| 6175ebdb1e | |||
| 48c0f283a5 | |||
| d659576806 | |||
| 35c9eac0fa | |||
| b899524a8e | |||
| 0b3a989791 | |||
| 1349e48035 | |||
| 7b0ab652cb | |||
| 6495466410 | |||
| c2a1919662 | |||
| 3615850069 | |||
| 53e390ed05 | |||
| c1f16f5e76 | |||
| c8aea961b2 | |||
| c394ebf6ce | |||
| aac7abcbb1 | |||
| b584ea0777 | |||
| 7a71d2ed6a | |||
| 4d469037a7 | |||
| 09d36a463c | |||
| 454d81fe1b | |||
| cb5445e842 | |||
| 41bc785fe7 | |||
| b50e43e0e4 | |||
| 131b818fa4 | |||
| 56dd2453d0 | |||
| 00333a6f46 | |||
| a85924e921 | |||
| 2bc6218e40 | |||
| 4c14600629 | |||
| 37416a0926 | |||
| 156bcfee26 | |||
| 4663814a08 | |||
| 32bcce6505 | |||
| 31381d1334 | |||
| bd88c6e422 | |||
| b89f19fe81 | |||
| e102e70496 | |||
| 937f7ea3ce | |||
| de391e3651 | |||
| 3b42ab7869 | |||
| 2f8f351374 | |||
| 055bb96361 | |||
| 8e82e6f82f | |||
| c3f89c0f35 | |||
| e45679b929 | |||
| 956920719a | |||
| c6541525e4 | |||
| 1b29ebb35b | |||
| d8c7d39fcc | |||
| edb46ded8d | |||
| 6342f088cb | |||
| c371c138b3 | |||
| f4663b2f9a | |||
| e4d82a0ce2 | |||
| 89461dff5d | |||
| e557b9679e | |||
| eba65d4d25 | |||
| b060d67633 | |||
| c59d7bddc8 | |||
| cc42a7fbae | |||
| 0daa89b025 | |||
| 940704d2e4 | |||
| 5ba5dd5fa4 | |||
| 47bea643f5 | |||
| 128412b019 | |||
| 09651d8b6a | |||
| e390d9b88f | |||
| abec618543 | |||
| 6c3c9f73d4 | |||
| 0bf2e96d9c | |||
| 637f1af74c | |||
| 3494859209 | |||
| 65859616ce | |||
| b0387aa1ea | |||
| 2227f0f362 | |||
| e28611c479 | |||
| 3f8c62aaed | |||
| 4ad7f57dda | |||
| 23a5e6f2da | |||
| f39e2f6ede | |||
| c966a165c9 | |||
| 353d67376b | |||
| 7bb0c722ac | |||
| 0f742eb969 | |||
| fbebd351cd | |||
| 1ffd81560d | |||
| 8fff8d3a7e | |||
| 545ae4bc4a | |||
| fbbe1903ac | |||
| 7e4f59149b | |||
| fbc03cddee | |||
| 2ccb5f569d | |||
| 48101bff82 | |||
| 455b0af16d | |||
| ea8b7990b9 | |||
| 4d2fc43d6d | |||
| af9fa4dba1 | |||
| db3d1bda5f | |||
| b53ec60f4f | |||
| 73e8c4a806 | |||
| c4b61f8314 | |||
| a29cb93a40 | |||
| 3fb4a8c4c5 | |||
| d980349f56 | |||
| 48e0b86eab | |||
| c1fbf904fe | |||
| cc91987ca5 | |||
| 2c30ff8729 | |||
| ea79cad919 | |||
| 414b7e6ae8 | |||
| 7af9817455 | |||
| decbbdd592 | |||
| 9a967b5305 | |||
| a5e478d2d1 | |||
| 2ab0110c02 | |||
| 176c357c54 | |||
| 1aecf6d7af | |||
| ef2c1d31a0 | |||
| 57208f2db1 | |||
| 5f0abc4ac0 | |||
| a7d3766be1 | |||
| 724cf3775b | |||
| ffc163cc46 | |||
| fb40d5d27e | |||
| 09acf99ae1 | |||
| 515a0283ab | |||
| e1023c6237 | |||
| 018b80139a | |||
| a30cbda269 | |||
| 781f8ad730 | |||
| 44d261f4a4 | |||
| 405f501ff3 | |||
| 6da20c0fcc | |||
| d722d326ee | |||
| 29fc61879c | |||
| 39c9511e3c | |||
| 103dab2e74 | |||
| e31f618353 | |||
| 1803e9232e | |||
| 5b4014f135 | |||
| 98feffc4af | |||
| 14f5eb3437 | |||
| 46cbb7c0e8 | |||
| f31987fdd1 | |||
| 3cf58ccb0d | |||
| 4ea555e308 | |||
| 6cd29151b7 | |||
| 1a5f650c74 | |||
| a672e169d4 | |||
| eb09ecdadc | |||
| 631180f7df | |||
| 98a2c02c0f | |||
| 8a3ac2646d | |||
| d8d50b6758 | |||
| e7cd5b6751 | |||
| 3c02f3f481 | |||
| daad0b7233 | |||
| d52c2edcf2 | |||
| 511ffda002 | |||
| 9fc434ab42 | |||
| 854bb7ac8a | |||
| 965a135b87 | |||
| f96391615c | |||
| 70d15c769c | |||
| 045b6b310e | |||
| 97ba35da4f | |||
| 20277328b8 | |||
| 2744c5c653 | |||
| aa09ac51c3 | |||
| 45310359c8 | |||
| c8ee01171a | |||
| c1d2f1fc5c | |||
| 045030e257 | |||
| be6b42e2d2 | |||
| 96bfec2357 | |||
| 2a20771945 | |||
| c84e57dc75 | |||
| 66c3a2410a | |||
| 4e0b729518 | |||
| 93d734c791 | |||
| 39017ee756 | |||
| bc69c79869 | |||
| 3853c1d60c | |||
| 8b99e99954 | |||
| d96d2e0f9e | |||
| 39dbbb5d32 | |||
| fcd51c61da | |||
| 1351a07b38 | |||
| 2252e68059 | |||
| 5c77fc452e | |||
| ae0a65ebeb | |||
| 3114f18748 | |||
| 0384b90519 | |||
| 1d6f8bc107 | |||
| da3f34d21e | |||
| ccf97ee15f | |||
| c060fec744 | |||
| 37074321b9 | |||
| 7a920bcd97 | |||
| d2d087746f | |||
| 711fb609b5 | |||
| 7f81b8fb1d | |||
| 34d1995b53 | |||
| 5670423f33 | |||
| effefa4e0f | |||
| 9989ca8c16 | |||
| 61496800ea | |||
| 8f72590561 | |||
| 4a0aa1047c | |||
| cdb72a83a9 | |||
| 91bb71e0a9 | |||
| befc156016 | |||
| e61ac7dcef | |||
| 709b849689 | |||
| 177a549630 | |||
| 167b1e4e21 | |||
| ff3c2e1103 | |||
| 89da2ceab0 | |||
| b1a9d35b6c | |||
| 29c4aabee8 | |||
| 47a658b7e5 | |||
| 64105f4bb7 | |||
| 9ce0b349bb | |||
| b2067e1fd6 | |||
| b91ecd873c | |||
| 084479f0d6 | |||
| cb806e401c | |||
| 844e1d1dd9 | |||
| fd8b8a1b1c | |||
| 21e7193586 | |||
| f938fe9484 | |||
| 7f8ca97a07 | |||
| 0819382f7c | |||
| 20d00c0a60 | |||
| a4cb1739cb | |||
| a327999db5 | |||
| ded039bb8e | |||
| e58f71f208 | |||
| 50a313a08e | |||
| 4e67c71e55 | |||
| add0ec236c | |||
| eb9019853f | |||
| 8ae2645124 | |||
| 228d2b9cc7 | |||
| 0f325f8acb | |||
| a4860d97af | |||
| dba6612527 | |||
| 149a371e0c | |||
| fc5b962736 | |||
| c27eeab547 | |||
| 4b76765057 | |||
| 649da64907 | |||
| 00ddcb40a6 | |||
| a7da8a2c1b | |||
| 5335c6cbf6 | |||
| f72ff899a9 | |||
| a35ac8b196 | |||
| 62cafe47ad | |||
| 0a0001585d | |||
| 01dea981d5 | |||
| c9fef49f9a | |||
| def139efd9 | |||
| 9a1b8ee1b4 | |||
| 184fbf8669 | |||
| 8f1ceecc57 | |||
| b50c9096c6 | |||
| 369e31e2eb | |||
| 51a09871ce | |||
| 69dbc2100f | |||
| db68d1ca14 | |||
| 3e19b88250 | |||
| b47fef993f | |||
| 83823ccef6 | |||
| 04a79331d0 | |||
| 5824081297 | |||
| 8554fca092 | |||
| 0e8403d1bd | |||
| f565dc35ac | |||
| 400344365f | |||
| 2eae3485a6 | |||
| 650c3a8706 | |||
| 76c72e1f93 | |||
| 43c5a41973 | |||
| 718bbf6d13 | |||
| 440a7b7628 | |||
| 8786640458 | |||
| a24df3cbb6 | |||
| efeaf8f258 | |||
| aa1a058ea2 | |||
| 5379a4c26e | |||
| 6ba6fd269d | |||
| 4890610d05 | |||
| 294aa83313 | |||
| 183b57e2f6 | |||
| 3038555436 | |||
| a46be416c3 | |||
| e1828548c5 | |||
| 3bd4bba601 | |||
| c57d35e94b | |||
| 1497a3c3bf | |||
| e9ba011bc5 | |||
| b13c95233f | |||
| dc630ac449 | |||
| 9810a8d938 | |||
| 60fb9ac2d8 | |||
| e074b073bb | |||
| 77ead326b5 | |||
| dd531b3abb | |||
| 71a2af8f98 | |||
| a316a9bf7d | |||
| e6467a8c57 | |||
| 8400fd3634 | |||
| edbfab3e11 | |||
| 11b6f5024e | |||
| 31100279d3 | |||
| 37f884d8e0 | |||
| 91f0ecc245 | |||
| 7864607f71 | |||
| d8aed76df9 | |||
| 26b370cde4 | |||
| 27a0d8f866 | |||
| 30aa6ce771 | |||
| 7ac9d8ed8e | |||
| 64b958bcb0 | |||
| ff16c486ac | |||
| 31eff3a7eb | |||
| 17ad4108d9 | |||
| 4bf5f8b561 | |||
| 799e0212d4 | |||
| f751e04907 | |||
| 746f473c14 | |||
| a02f0c1662 | |||
| 3eb39d7f5f | |||
| 10e787b271 | |||
| 4852539372 | |||
| 0b41a8407d | |||
| e346819511 | |||
| d11dc58801 | |||
| bdc9d06eb6 | |||
| 277488b6bc | |||
| a1089c290f | |||
| 6f91d793f7 | |||
| 368de84c8c | |||
| ac86e432ed | |||
| 69db123961 | |||
| 52cccdab08 | |||
| 9c29a20764 | |||
| 72322e81af | |||
| a0a63ba5ea | |||
| 3bfbf808a4 | |||
| c986df4c01 | |||
| 97c07ef7c5 | |||
| c8b9b978d7 | |||
| ad72d5e752 | |||
| 4fb24c698b | |||
| 630d0c5dd5 | |||
| 5b65707b6a | |||
| 4a0fbd177f | |||
| 55671ac1d3 | |||
| c53f920a4b | |||
| dd7ad98140 | |||
| 890df1f580 | |||
| 9ad2e22665 | |||
| db52ab9b36 | |||
| 82e56debb7 | |||
| 2606b0e856 | |||
| 3c69e8abb7 | |||
| 2f6868fee1 | |||
| d04c5be94b | |||
| efb002ea41 | |||
| f2a73aad58 | |||
| e2427a201a | |||
| 0bb1a55394 | |||
| 9cb9836178 | |||
| 8cb7543a6e | |||
| 3cfb37d786 | |||
| dfb051ba02 | |||
| beffb6434c | |||
| 2946c93ef9 | |||
| 914ed9530c | |||
| 1dafcdd6f8 | |||
| 9518c1f5ee | |||
| 976b98355e | |||
| b6aa8d77a0 | |||
| 091be0833f | |||
| b26d1a48cc | |||
| bcfaf838cb | |||
| 79e7db1856 | |||
| 45058905b5 | |||
| d05ec400fc | |||
| 31cd4e4ca6 | |||
| c10e79c766 | |||
| 326170beba | |||
| a6eeaeb533 | |||
| 754e51f94c | |||
| 57fea0c93e | |||
| 74c7e2502e | |||
| e67aaca5aa | |||
| f8efb59044 | |||
| fe514e0a18 | |||
| f118afd124 | |||
| 1095b2d62a | |||
| 6d8d3769d5 | |||
| 0a5667ce15 | |||
| b7999fc1e1 | |||
| e08f2ad417 | |||
| 11fc99c9ea | |||
| 8317d962e6 | |||
| a1b3ac538c | |||
| 6e2204f25d | |||
| c8f674ab03 | |||
| 285cb2d6a4 | |||
| 848e5624a6 |
@@ -6,13 +6,13 @@ on:
|
||||
paths:
|
||||
- anda/**
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
pull_request:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
merge_group:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
outputs:
|
||||
build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Set workspace as safe
|
||||
@@ -40,9 +40,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version}}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
@@ -51,27 +51,15 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout latest Mock configs
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: terrapkg/mock-configs
|
||||
path: mock-configs
|
||||
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
cp -v anda/terra/mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Build with Andaman (alternate arch)
|
||||
if: |
|
||||
matrix.pkg.arch == 'x86_64' && matrix.pkg.labels['multilib']
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-${{ matrix.version }}-i386.cfg
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c anda/terra/mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
@@ -106,7 +94,7 @@ jobs:
|
||||
|
||||
- name: Notify Madoguchi (Success)
|
||||
if: success() && github.event_name == 'push'
|
||||
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
|
||||
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
- 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}} $GITHUB_SHA
|
||||
run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
bootstrap:
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
|
||||
+13
-40
@@ -5,49 +5,26 @@ on:
|
||||
packages:
|
||||
description: "Packages to Build"
|
||||
required: true
|
||||
custom_builder:
|
||||
description: "Custom Builder"
|
||||
required: false
|
||||
default: ""
|
||||
architecture:
|
||||
description: "Architecture"
|
||||
required: false
|
||||
default: all
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
parse:
|
||||
outputs:
|
||||
pkgs: ${{ steps.parsing.outputs.pkgs }}
|
||||
builder: ${{ inputs.custom_builder }}
|
||||
arch: ${{ steps.parsing.outputs.arch }}
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: Parse Input
|
||||
id: parsing
|
||||
run: |
|
||||
echo "${{ inputs.packages }}" | sed 's/ /\n/g' | sed 's/$/\//g' | jq -R . | jq -s . | jq -c . | sed 's/^/pkgs=/' >> $GITHUB_OUTPUT
|
||||
echo "builder=${{ inputs.custom_builder }}" >> $GITHUB_OUTPUT
|
||||
arch="${{ inputs.architecture }}"
|
||||
# Convert to json array using jq
|
||||
# if arch is not all, convert to array
|
||||
if [ "$arch" != "all" ]; then
|
||||
# jq, array with single element as string
|
||||
arch=$(echo $arch | sed 's/,/\n/g')
|
||||
echo "arch=$(echo $arch | jq -Rs 'split("\n")' | jq 'map(select(length > 0))' | jq -c .)" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "arch=$(echo '["aarch64", "x86_64"]' | jq -c .)" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
run: echo "${{ inputs.packages }}" | sed 's/ /\n/g' | sed 's/$/\//g' | jq -R . | jq -s . | jq -c . | sed 's/^/pkgs=/' >> $GITHUB_OUTPUT
|
||||
|
||||
build:
|
||||
needs: parse
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.parse.outputs.pkgs) }}
|
||||
version: ["39"]
|
||||
arch: ${{ fromJson(needs.parse.outputs.arch) }}
|
||||
version: ["rawhide"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-latest' }}
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
@@ -56,22 +33,18 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout latest Mock configs
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: terrapkg/mock-configs
|
||||
path: mock-configs
|
||||
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.arch }}-${{ matrix.pkg }}
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.arch }}.cfg
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c anda/terra/mock-configs/terra-${{ matrix.version }}-${{ matrix.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
@@ -104,7 +77,7 @@ jobs:
|
||||
|
||||
- name: Notify Madoguchi (Success)
|
||||
if: success()
|
||||
run: ./.github/workflows/mg.sh true ${{matrix.pkg}} ${{matrix.version}} ${{matrix.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
|
||||
run: ./.github/workflows/mg.sh true ${{matrix.pkg}} ${{matrix.version}} ${{matrix.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
- name: Notify Madoguchi (Failure)
|
||||
if: cancelled() || failure()
|
||||
run: ./.github/workflows/mg.sh false ${{matrix.pkg}} ${{matrix.version}} ${{matrix.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
|
||||
run: ./.github/workflows/mg.sh false ${{matrix.pkg}} ${{matrix.version}} ${{matrix.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(inputs.packages) }}
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
@@ -22,22 +22,18 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout latest Mock configs
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: terrapkg/mock-configs
|
||||
path: mock-configs
|
||||
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c anda/terra/mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
@@ -71,7 +67,7 @@ jobs:
|
||||
|
||||
- name: Notify Madoguchi (Success)
|
||||
if: success()
|
||||
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
|
||||
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
- name: Notify Madoguchi (Failure)
|
||||
if: cancelled() || failure()
|
||||
run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
|
||||
run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
|
||||
|
||||
@@ -3,18 +3,18 @@ name: Lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
pull_request:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
merge_group:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -2,7 +2,7 @@ set -x
|
||||
|
||||
dirs=$2
|
||||
dirs=${dirs/\/pkg/}
|
||||
export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":\"$dirs\",\"succ\":$1,\"commit\":\"$7\"}"
|
||||
export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":\"$dirs\",\"succ\":$1}"
|
||||
|
||||
if [[ $1 == false ]]; then
|
||||
d=${p/\%v/?}
|
||||
@@ -17,5 +17,5 @@ for f in anda-build/rpm/rpms/*; do
|
||||
r=$(lesspipe.sh $f | grep -E "Release\s*: " | sed "s@Release\s*: @@")
|
||||
d=${p/\%v/$v}
|
||||
d=${d/\%r/$r}
|
||||
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci5/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body
|
||||
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body
|
||||
done
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
name: Sync PR to other branches
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- f38
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
strategy:
|
||||
matrix:
|
||||
branch: ["f37"]
|
||||
fail-fast: false
|
||||
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'nosync')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
ref: ${{ matrix.branch }}
|
||||
- name: Install SSH key and Setup Git
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
git config gpg.format "ssh"
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
- name: Apply patches and Push
|
||||
run: |
|
||||
curl https://github.com/terrapkg/packages/pull/${{ github.event.pull_request.number }}.patch > pr.patch
|
||||
git am -S --keep-cr --signoff < pr.patch
|
||||
git push -u origin --all
|
||||
@@ -3,6 +3,7 @@ name: Push comps updates
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
- f38
|
||||
- f37
|
||||
@@ -14,7 +15,7 @@ jobs:
|
||||
update-comps:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Push to subatomic
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -17,11 +17,12 @@ jobs:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH signing key
|
||||
- name: Install SSH signing key & Set up git repository
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Nightly Update
|
||||
run: anda update -vv --filters nightly=1
|
||||
@@ -30,7 +31,6 @@ jobs:
|
||||
|
||||
- name: Save
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f38 || true
|
||||
copy_over f39 || true
|
||||
copy_over f40 || true
|
||||
copy_over frawhide || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -17,11 +17,12 @@ jobs:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH signing key
|
||||
- name: Install SSH signing key & Set up git repository
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Update
|
||||
run: anda update -vv
|
||||
@@ -31,7 +32,6 @@ jobs:
|
||||
|
||||
- name: Save
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f38 || true
|
||||
copy_over f39 || true
|
||||
copy_over f40 || true
|
||||
copy_over frawhide || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
anda-build/
|
||||
**/*.tar*
|
||||
|
||||
+4
-2
@@ -1,7 +1,9 @@
|
||||
# Contributing
|
||||
|
||||
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please contact us on [Discord](https://discord.gg/5fdPuxTg5Q). Since we use a GitHub Wiki for [documentation](https://developer.fyralabs.com/terra), our guidelines may be found there. See the links below:
|
||||
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please contact us on [Discord](https://discord.gg/5fdPuxTg5Q).
|
||||
|
||||
## Documentations
|
||||
|
||||
* [Contribution Guide](https://developer.fyralabs.com/terra/contributing)
|
||||
* [FAQ](https://developer.fyralabs.com/terra/faq)
|
||||
* [Policy](https://developer.fyralabs.com/terra/policy)
|
||||
* [Policy](https://developer.fyralabs.com/terra/policy)
|
||||
|
||||
@@ -1,26 +1,18 @@
|
||||
%global xurl https://files.pythonhosted.org/packages/ef/fa/6c86371d0e3b71129d2a79e63fc3fdc17733c9ebbf77345c62caad8c9fca/anki-24.11-cp39-abi3-manylinux_2_28_x86_64.whl
|
||||
%global aurl https://files.pythonhosted.org/packages/58/6e/9f2d4853a83e57cea48ccae3bc2d887bf7c0550042185e156bab23f524bf/anki-24.11-cp39-abi3-manylinux_2_31_aarch64.whl
|
||||
%global qurl https://files.pythonhosted.org/packages/40/3c/b70ef91f1dad8248332971c0cbb2922277512789cadc33cb16233e360a56/aqt-24.11-py3-none-any.whl
|
||||
|
||||
Name: anki-bin
|
||||
Version: 24.11
|
||||
Version: 24.04.1
|
||||
Release: 1%?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-pip rpm_macro(fdupes) cargo
|
||||
BuildRequires: python3-pip rpm_macro(fdupes)
|
||||
Requires: python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-orjson
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema
|
||||
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine python3-send2trash
|
||||
Requires: libxcrypt-compat hicolor-icon-theme sox mpv
|
||||
ExclusiveArch: x86_64
|
||||
Conflicts: anki
|
||||
%ifarch x86_64
|
||||
Source0: %xurl
|
||||
%elifarch aarch64
|
||||
Source0: %aurl
|
||||
%endif
|
||||
Source1: %qurl
|
||||
Source0: https://files.pythonhosted.org/packages/cp39/a/anki/anki-%{version}-cp39-abi3-manylinux_2_28_%{_arch}.whl
|
||||
Source1: https://files.pythonhosted.org/packages/py3/a/aqt/aqt-%{version}-py3-none-any.whl
|
||||
Source2: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/runanki.py
|
||||
Source3: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.desktop
|
||||
Source4: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.png
|
||||
|
||||
@@ -1,15 +1 @@
|
||||
let aarch64_regex = `<a href="https://files\.pythonhosted\.org/packages/(..)/(..)/(.{60})/anki-([\d.]+)-cp(\d+)-abi3-manylinux_.+?_aarch64.whl">`;
|
||||
let html = get("https://pypi.org/project/anki/");
|
||||
let relevant = find(aarch64_regex, html, 0);
|
||||
let ver = find(aarch64_regex, relevant, 4);
|
||||
rpm.version(ver);
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("aurl", find(`"(.+)"`, relevant, 1));
|
||||
let cp = find(aarch64_regex, relevant, 5);
|
||||
let x86_64_regex = `<a href="https://files\.pythonhosted\.org/packages/(..)/(..)/(.{60})/anki-${ver}-cp${cp}-abi3-manylinux_.+?_x86_64.whl">`;
|
||||
let relevant1 = find(x86_64_regex, html, 0);
|
||||
rpm.global("xurl", find(`"(.+)"`, relevant1, 1));
|
||||
let qhtml = get("https://pypi.org/project/aqt/");
|
||||
rpm.global("qurl", find(`<a href="(https://files\.pythonhosted\.org/packages/../../.{60}/aqt-${ver}-py3-none.any.whl)">`, qhtml, 1));
|
||||
}
|
||||
rpm.version(gh("ankitects/anki"));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anki-qt5
|
||||
Version: 24.06.3
|
||||
Version: 24.04.1
|
||||
Release: 1%?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
|
||||
@@ -20,10 +20,9 @@ phrases in a foreign language) as easily, quickly and efficiently as possible.
|
||||
Anki is based on a theory called spaced repetition.
|
||||
|
||||
%prep
|
||||
rm -rf ./*
|
||||
git clone https://github.com/ankitects/anki .
|
||||
git checkout %version
|
||||
%patch 1 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=anki-qt5
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anki
|
||||
Version: 24.06.3
|
||||
Version: 24.04.1
|
||||
Release: 1%?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
|
||||
@@ -20,10 +20,8 @@ phrases in a foreign language) as easily, quickly and efficiently as possible.
|
||||
Anki is based on a theory called spaced repetition.
|
||||
|
||||
%prep
|
||||
rm -rf *
|
||||
git clone https://github.com/ankitects/anki .
|
||||
git checkout %{version}
|
||||
%patch 0 -p1
|
||||
|
||||
# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=anki
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
%global _build_id_links none
|
||||
|
||||
%ifarch x86_64
|
||||
%global src ArmCord-%version-linux-x64
|
||||
%global src ArmCord-%version
|
||||
%elifarch aarch64
|
||||
%global src ArmCord-%version-linux-arm64
|
||||
%global src ArmCord-%version-arm64
|
||||
%elifarch armv7l
|
||||
%global src ArmCord-%version-linux-armv7l
|
||||
%global src ArmCord-%version-armv7l
|
||||
%endif
|
||||
|
||||
# Exclude private libraries
|
||||
@@ -14,8 +14,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/armcord/.*\\.so
|
||||
|
||||
Name: armcord-bin
|
||||
Version: 1.0.2
|
||||
Release: 1%?dist
|
||||
Version: 3.2.6
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
URL: https://github.com/ArmCord/ArmCord
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: armcord
|
||||
Version: 1.0.2
|
||||
Release: 1%?dist
|
||||
Version: 3.2.6
|
||||
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
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
Requires: electron xdg-utils
|
||||
BuildRequires: git-core add-determinism pnpm
|
||||
BuildRequires: nodejs-npm git
|
||||
Conflicts: armcord-bin
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -19,7 +18,6 @@ ArmCord is a custom client designed to enhance your Discord experience
|
||||
while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
rm -rf *
|
||||
git clone %url .
|
||||
git checkout v%version
|
||||
|
||||
@@ -38,8 +36,8 @@ EOF
|
||||
|
||||
|
||||
%build
|
||||
pnpm install --no-frozen-lockfile
|
||||
pnpm run packageQuick
|
||||
npx pnpm@7 install --no-frozen-lockfile
|
||||
npm run packageQuick
|
||||
|
||||
|
||||
%install
|
||||
@@ -51,16 +49,13 @@ install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/armcord.png
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license license.txt
|
||||
%license LICENSE
|
||||
/usr/bin/armcord
|
||||
/usr/share/applications/ArmCord.desktop
|
||||
/usr/share/pixmaps/armcord.png
|
||||
/usr/share/armcord/app.asar
|
||||
|
||||
%changelog
|
||||
* Mon Aug 26 2024 madonuko <mado@fyralabs.com> - 3.3.0-1
|
||||
- Update to license.txt
|
||||
|
||||
* Sat Jun 17 2023 windowsboy111 <windowsboy111@fyralabs.com> - 3.2.0-2
|
||||
- Remove libnotify dependency.
|
||||
- Fix desktop entry.
|
||||
@@ -68,3 +63,4 @@ install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/armcord.png
|
||||
|
||||
* Sat May 6 2023 windowsboy111 <windowsboy111@fyralabs.com> - 3.1.7-1
|
||||
- Initial package
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "coolercontrol.spec"
|
||||
}
|
||||
labels {
|
||||
large = 1
|
||||
}
|
||||
}
|
||||
@@ -1,159 +0,0 @@
|
||||
%bcond_without mold
|
||||
%global _desc %{expand:
|
||||
CoolerControl is a feature-rich cooling device control application for Linux. It has a system daemon
|
||||
for background device management, as well as a GUI to expertly customize your settings.
|
||||
}
|
||||
%global rdnn org.coolercontrol.CoolerControl
|
||||
# Don't mangle shebangs
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
|
||||
Name: coolercontrol
|
||||
Version: 1.4.4
|
||||
Release: 1%?dist
|
||||
Summary: Cooling device control for Linux
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://gitlab.com/coolercontrol/coolercontrol
|
||||
Source0: %url/-/archive/%version/coolercontrol-%version.tar.gz
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
Provides: coolercontrol-ui
|
||||
Provides: coolercontrol-gui
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: webkit2gtk4.1
|
||||
Requires: libappindicator-gtk3
|
||||
Requires: coolercontrold
|
||||
BuildRequires: git-core make nodejs-npm libdrm-devel curl wget file mold
|
||||
BuildRequires: systemd-rpm-macros anda-srpm-macros cargo >= 1.75.0 cargo-rpm-macros
|
||||
BuildRequires: autoconf automake binutils bison flex gcc gcc-c++ gdb libtool pkgconf strace
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.1) pkgconfig(openssl) pkgconfig(librsvg-2.0)
|
||||
BuildRequires: libappindicator-gtk3-devel
|
||||
BuildRequires: python3-devel python3-wheel python3-liquidctl python3-setproctitle python3-fastapi python3-uvicorn python3-pip
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
%description %_desc
|
||||
|
||||
%package liqctld
|
||||
Summary: CoolerControl daemon for interacting with liquidctl devices on a system level
|
||||
Requires: coolercontrold
|
||||
%description liqctld %_desc
|
||||
coolercontrol-liqctld is a CoolerControl daemon for interacting with liquidctl devices on a system level, and is
|
||||
installed as the coolercontrol-liqctld application. Its main purpose is to wrap the underlying
|
||||
liquidctl library providing an API interface that the main coolercontrol daemon interacts with.
|
||||
It also enables parallel device communication and access to specific device properties.
|
||||
|
||||
%package -n coolercontrold
|
||||
Summary: Monitor and control your cooling devices.
|
||||
Requires: coolercontrol-liqctld
|
||||
%description -n coolercontrold %_desc
|
||||
coolercontrold is the main daemon containing the core logic for interfacing with devices, and installed as
|
||||
"coolercontrold". It is meant to run in the background as a system daemon. It handles all device
|
||||
communication and data management, additionally connecting to the liqctld daemon for liquidctl
|
||||
supported devices. It has an API that services client programs like the coolercontrol-gui.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
pushd coolercontrold
|
||||
%cargo_prep_online &
|
||||
popd
|
||||
|
||||
pushd coolercontrol-ui
|
||||
npm ci --prefer-offline &
|
||||
pushd src-tauri
|
||||
%cargo_prep_online &
|
||||
popd
|
||||
popd
|
||||
|
||||
wait
|
||||
|
||||
|
||||
%build
|
||||
pushd coolercontrold
|
||||
%{cargo_license_online} > LICENSE.dependencies &
|
||||
%cargo_build -- &
|
||||
popd
|
||||
|
||||
pushd coolercontrol-liqctld
|
||||
%pyproject_wheel
|
||||
popd
|
||||
|
||||
pushd coolercontrol-ui
|
||||
npm run build &
|
||||
pushd src-tauri
|
||||
%{cargo_license_online} > LICENSE.dependencies &
|
||||
wait
|
||||
%cargo_build -f custom-protocol
|
||||
popd
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
pushd coolercontrol-liqctld
|
||||
#define _pyproject_wheeldir .
|
||||
%pyproject_install
|
||||
%pyproject_save_files coolercontrol_liqctld
|
||||
popd
|
||||
|
||||
pushd coolercontrold
|
||||
install -Dpm755 target/rpm/coolercontrold %buildroot%_bindir/coolercontrold
|
||||
install -Dpm644 LICENSE.dependencies %buildroot%_datadir/licenses/coolercontrold/LICENSE.dependencies
|
||||
popd
|
||||
|
||||
pushd coolercontrol-ui/src-tauri
|
||||
install -Dpm755 target/rpm/coolercontrol %buildroot%_bindir/coolercontrol
|
||||
install -Dpm644 LICENSE.dependencies %buildroot%_datadir/licenses/%name/LICENSE.dependencies
|
||||
popd
|
||||
|
||||
install -Dpm644 packaging/systemd/coolercontrol-liqctld.service %buildroot%_unitdir/coolercontrol-liqctld.service
|
||||
desktop-file-install --dir=%buildroot%_datadir/applications packaging/metadata/%rdnn.desktop
|
||||
install -Dpm644 packaging/metadata/%rdnn.svg %buildroot%_iconsdir/hicolor/scalable/apps/%rdnn.svg
|
||||
install -Dpm644 packaging/metadata/%rdnn.png %buildroot%_iconsdir/hicolor/256x256/apps/%rdnn.svg
|
||||
for f in packaging/systemd/*.service; do
|
||||
install -Dpm644 $f %buildroot%_unitdir/$(basename $f)
|
||||
done
|
||||
install -Dpm644 packaging/metadata/%rdnn.metainfo.xml %buildroot%_metainfodir/%rdnn.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %buildroot%_metainfodir/%rdnn.metainfo.xml
|
||||
%pyproject_check_import
|
||||
|
||||
|
||||
%post -n coolercontrold
|
||||
%systemd_post coolercontrold.service
|
||||
|
||||
%preun -n coolercontrold
|
||||
%systemd_preun coolercontrold.service
|
||||
|
||||
%postun -n coolercontrold
|
||||
%systemd_postun_with_restart coolercontrold.service
|
||||
|
||||
# coolercontrold.service automatically uses the liqctld service, so there are
|
||||
# no scriptlets for liqctld.
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%_bindir/coolercontrol
|
||||
%_datadir/applications/%rdnn.desktop
|
||||
%_datadir/metainfo/%rdnn.metainfo.xml
|
||||
%_iconsdir/hicolor/*/apps/%rdnn.svg
|
||||
|
||||
%files -n coolercontrold
|
||||
%doc coolercontrold/README.md
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%_bindir/coolercontrold
|
||||
%_unitdir/coolercontrold.service
|
||||
|
||||
%files liqctld -f %pyproject_files
|
||||
%doc coolercontrol-liqctld/README.md
|
||||
%license LICENSE
|
||||
%_bindir/coolercontrol-liqctld
|
||||
%_unitdir/coolercontrol-liqctld.service
|
||||
|
||||
%changelog
|
||||
* Thu Aug 15 2024 madonuko <mado@fyralabs.com> - 1.4.0-1
|
||||
- Initial package
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gitlab("30707566"));
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.540
|
||||
Version: 0.0.376
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -34,7 +34,6 @@ sed "s@Discord Canary@Discord Canary OpenAsar@g" a > discord-canary.desktop
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-canary-openasar
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-canary-openasar
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
@@ -43,11 +42,9 @@ ln -s %_datadir/discord-canary-openasar/discord-canary.desktop %{buildroot}%{_da
|
||||
ln -s %_datadir/discord-canary-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary-openasar.png
|
||||
cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-canary-openasar/resources/app.asar
|
||||
chmod o+w %{buildroot}%{_datadir}/discord-canary-openasar/resources -R
|
||||
ln -s %_datadir/discord-canary-openasar/DiscordCanary %buildroot%_bindir/discord-canary-openasar
|
||||
|
||||
|
||||
%files
|
||||
%_bindir/discord-canary-openasar
|
||||
%{_datadir}/discord-canary-openasar/
|
||||
%{_datadir}/applications/discord-canary-openasar.desktop
|
||||
%{_datadir}/pixmaps/discord-canary-openasar.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.540
|
||||
Version: 0.0.376
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
@@ -16,8 +16,9 @@ Requires: glibc GConf2 nspr >= 4.13 nss >= 3.27 libX11 >= 1.6 libXtst >= 1
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
%description
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
Imagine a place where you can belong to a school club, a gaming group, or a
|
||||
worldwide art community. Where just you and a handful of friends can spend time
|
||||
together. A place that makes it easy to talk every day and hang out more often.
|
||||
|
||||
%prep
|
||||
%autosetup -n DiscordCanary
|
||||
@@ -26,17 +27,14 @@ both your desktop and phone.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-canary
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-canary
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord-canary/discord-canary.desktop %{buildroot}%{_datadir}/applications/
|
||||
ln -s %_datadir/discord-canary/discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary.png
|
||||
ln -s %_datadir/discord/DiscordCanary %buildroot%_bindir/discord-canary
|
||||
|
||||
%files
|
||||
%_bindir/discord-canary
|
||||
%{_datadir}/discord-canary/
|
||||
%{_datadir}/applications/discord-canary.desktop
|
||||
%{_datadir}/pixmaps/discord-canary.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.77
|
||||
Version: 0.0.52
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -34,7 +34,6 @@ sed "s@Discord@Discord OpenAsar@g" a > discord.desktop
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-openasar
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-openasar
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
@@ -43,11 +42,9 @@ ln -s %_datadir/discord-openasar/discord.desktop %{buildroot}%{_datadir}/applica
|
||||
ln -s %_datadir/discord-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-openasar.png
|
||||
cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-openasar/resources/app.asar
|
||||
chmod o+w %{buildroot}%{_datadir}/discord-openasar/resources -R
|
||||
ln -s %_datadir/discord-openasar/Discord %buildroot%_bindir/discord-openasar
|
||||
|
||||
|
||||
%files
|
||||
%_bindir/discord-openasar
|
||||
%{_datadir}/discord-openasar/
|
||||
%{_datadir}/applications/discord-openasar.desktop
|
||||
%{_datadir}/pixmaps/discord-openasar.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.121
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -34,7 +34,6 @@ sed "s@Discord Ptb@Discord Ptb OpenAsar@g" a > discord-ptb.desktop
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-ptb-openasar
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-ptb-openasar
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
@@ -45,11 +44,9 @@ install discord-ptb.desktop %{buildroot}%{_datadir}/applications/discord-ptb-ope
|
||||
install discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb-openasar.png
|
||||
cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-ptb-openasar/resources/app.asar
|
||||
chmod o+w %{buildroot}%{_datadir}/discord-ptb-openasar/resources -R
|
||||
ln -s %_datadir/discord-ptb-openasar/Discord %buildroot%_bindir/discord-ptb-openasar
|
||||
|
||||
|
||||
%files
|
||||
%_bindir/discord-ptb-openasar
|
||||
%{_datadir}/discord-ptb-openasar/
|
||||
%{_datadir}/applications/discord-ptb-openasar.desktop
|
||||
%{_datadir}/pixmaps/discord-ptb-openasar.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.121
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
@@ -20,8 +20,9 @@ Requires: libXtst >= 1.2
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
%description
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
Imagine a place where you can belong to a school club, a gaming group, or a
|
||||
worldwide art community. Where just you and a handful of friends can spend time
|
||||
together. A place that makes it easy to talk every day and hang out more often.
|
||||
|
||||
%prep
|
||||
%autosetup -n DiscordPTB
|
||||
@@ -30,17 +31,14 @@ both your desktop and phone.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-ptb
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-ptb
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord-ptb/discord-ptb.desktop %{buildroot}%{_datadir}/applications/
|
||||
ln -s %_datadir/discord-ptb/discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb.png
|
||||
ln -s %_datadir/discord-ptb/Discord %buildroot%_bindir/discord-ptb
|
||||
|
||||
%files
|
||||
%_bindir/discord-ptb
|
||||
%{_datadir}/discord-ptb/
|
||||
%{_datadir}/applications/discord-ptb.desktop
|
||||
%{_datadir}/pixmaps/discord-ptb.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.77
|
||||
Version: 0.0.52
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
@@ -20,8 +20,9 @@ Requires: libXtst >= 1.2
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
%description
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
Imagine a place where you can belong to a school club, a gaming group, or a
|
||||
worldwide art community. Where just you and a handful of friends can spend time
|
||||
together. A place that makes it easy to talk every day and hang out more often.
|
||||
|
||||
%prep
|
||||
%autosetup -n Discord
|
||||
@@ -30,17 +31,14 @@ both your desktop and phone.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord
|
||||
cp -rv * %{buildroot}%{_datadir}/discord
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord/discord.desktop %{buildroot}%{_datadir}/applications/discord.desktop
|
||||
ln -s %_datadir/discord/discord.png %{buildroot}%{_datadir}/pixmaps/discord.png
|
||||
ln -s %_datadir/discord/Discord %buildroot%_bindir/discord
|
||||
|
||||
%files
|
||||
%_bindir/discord
|
||||
%{_datadir}/discord/
|
||||
%{_datadir}/applications/discord.desktop
|
||||
%{_datadir}/pixmaps/discord.png
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "envision.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
%global commit a34faa9cd7fa5f4fe658092efd509e8f5257f569
|
||||
%global commit_date 20241003
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: envision
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: UI for building, configuring and running Monado, the open source OpenXR runtime
|
||||
License: AGPL-3.0-or-later
|
||||
URL: https://gitlab.com/gabmus/envision/
|
||||
Source0: %url/-/archive/%commit/envision-%commit.tar.gz
|
||||
BuildRequires: meson ninja-build cargo
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.66
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.66
|
||||
BuildRequires: pkgconfig(gtk4) >= 4.10.0
|
||||
BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.72.0
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: openxr-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: git-core
|
||||
Recommends: android-tools
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n envision-%commit
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_bindir/envision
|
||||
%_datadir/applications/org.gabmus.envision.Devel.desktop
|
||||
%_datadir/envision/
|
||||
%_iconsdir/hicolor/scalable/apps/org.gabmus.envision.Devel.svg
|
||||
%_iconsdir/hicolor/symbolic/apps/org.gabmus.envision.Devel-symbolic.svg
|
||||
%_metainfodir/org.gabmus.envision.Devel.appdata.xml
|
||||
@@ -1,5 +0,0 @@
|
||||
rpm.global("commit", gitlab_commit("gitlab.com", "46446166", "main"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.12.1
|
||||
Version: 0.6.1
|
||||
Release: 1%?dist
|
||||
Summary: A modern self-hosted music player
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "fontviewer.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
%global commit dc5cd1490235f8c19424b3345a89727199c86df3
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20241003
|
||||
|
||||
Name: fontviewer
|
||||
Version: %{commit_date}.git~%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: View and install fonts
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://github.com/chocolateimage/%{name}
|
||||
Source0: %{url}/archive/%{commit}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(cairomm-1.0)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtkmm-3.0)
|
||||
|
||||
Requires: gtk3 fontconfig
|
||||
|
||||
Packager: sadlerm <sad_lerm@hotmail.com>
|
||||
|
||||
%description
|
||||
A platform-agnostic GTK+ 3 alternative to GNOME's Font Viewer
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{commit} -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
@@ -1,5 +0,0 @@
|
||||
rpm.global("commit", gh_commit("chocolateimage/fontviewer"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "komikku.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
%global appname Komikku
|
||||
%global uuid info.febvre.%{appname}
|
||||
%global gtk4_version 4.14.4
|
||||
%global libadwaita_version 1.5.1
|
||||
%global pure_protobuf_version 2.0.0
|
||||
|
||||
Name: komikku
|
||||
Version: 1.65.0
|
||||
%forgemeta
|
||||
Release: 1%?dist
|
||||
Summary: A manga reader for GNOME
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://valos.gitlab.io/Komikku
|
||||
Source0: https://codeberg.org/valos/%{appname}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson >= 0.59.0
|
||||
BuildRequires: python3-devel >= 3.8
|
||||
BuildRequires: blueprint-compiler
|
||||
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9
|
||||
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
||||
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: gtk4 >= %{gtk4_version}
|
||||
Requires: libadwaita >= %{libadwaita_version}
|
||||
Requires: libnotify
|
||||
Requires: webkitgtk6.0
|
||||
Requires: python3-beautifulsoup4
|
||||
Requires: python3-brotli
|
||||
Requires: python3-colorthief
|
||||
Requires: python3-dateparser %dnl >= 1.1.4 | https://bugzilla.redhat.com/show_bug.cgi?id=2115204
|
||||
Requires: python3-emoji
|
||||
Requires: python3-gobject
|
||||
Requires: python3-keyring >= 21.6.0
|
||||
Requires: python3-lxml
|
||||
Requires: python3-natsort
|
||||
Requires: python3-file-magic
|
||||
Requires: python3-piexif
|
||||
Requires: python3-pillow
|
||||
Requires: python3-pillow-heif
|
||||
Requires: python3-pure-protobuf >= %{pure_protobuf_version}
|
||||
Requires: python3-rarfile
|
||||
Requires: python3-requests
|
||||
Requires: python3-unidecode
|
||||
|
||||
%description
|
||||
Komikku is a manga reader for GNOME. It focuses on providing a clean, intuitive
|
||||
and adaptive interface.
|
||||
|
||||
Keys features
|
||||
|
||||
* Online reading from dozens of servers
|
||||
* Offline reading of downloaded comics
|
||||
* Categories to organize your library
|
||||
* RTL, LTR, Vertical and Webtoon reading modes
|
||||
* Several types of navigation:
|
||||
* Keyboard arrow keys
|
||||
* Right and left navigation layout via mouse click or tapping
|
||||
(touchpad/touch screen)
|
||||
* Mouse wheel
|
||||
* 2-fingers swipe gesture (touchpad)
|
||||
* Swipe gesture (touch screen)
|
||||
* Automatic update of comics
|
||||
* Automatic download of new chapters
|
||||
* Reading history
|
||||
* Light and dark themes
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name} -p1
|
||||
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
||||
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
||||
%{_datadir}/icons/hicolor/symbolic/*/*.svg
|
||||
%{_metainfodir}/*.xml
|
||||
%{python3_sitelib}/%{name}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 11 2024 Trung Lê <8@tle.id.au> - 1.51.1-0
|
||||
- Initial RPM package
|
||||
@@ -1,3 +0,0 @@
|
||||
let latest_tag = get("https://codeberg.org/api/v1/repos/valos/Komikku/tags").json_arr()[0].name;
|
||||
let new_version = find("([\\.\\d]+)", latest_tag, 1);
|
||||
rpm.version(new_version);
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit 6ed3781a3dae41ae1449bfadc5878bb0587bc774
|
||||
%global commit ec447fd4a266e8158519f5e89589c368211bfa14
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20241009
|
||||
%global ver 0.39.0
|
||||
%global commit_date 20240502
|
||||
%global ver v0.38.0
|
||||
|
||||
Name: mpv-nightly
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
@@ -42,7 +42,6 @@ BuildRequires: pkgconfig(libavutil) >= 57.24.100
|
||||
BuildRequires: pkgconfig(libbluray)
|
||||
BuildRequires: pkgconfig(libcdio)
|
||||
BuildRequires: pkgconfig(libcdio_paranoia)
|
||||
BuildRequires: pkgconfig(libdisplay-info)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.19
|
||||
@@ -183,6 +182,7 @@ sed -e "s|/usr/local/etc|%{_sysconfdir}/mpv|" -i etc/mpv.conf
|
||||
-Dvdpau-gl-x11=enabled \
|
||||
-Dvdpau=enabled \
|
||||
-Dvector=enabled \
|
||||
-Dvulkan-interop=disabled \
|
||||
-Dvulkan=enabled \
|
||||
-Dwayland=enabled \
|
||||
-Dwerror=false \
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("mpv-player/mpv"));
|
||||
if rpm.changed() {
|
||||
let v = gh("mpv-player/mpv");
|
||||
if v.starts_with("v") {
|
||||
v.crop(1);
|
||||
}
|
||||
rpm.global("ver", v);
|
||||
rpm.global("ver", gh("mpv-player/mpv"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "mugshot.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
%global app org.bluesabre.Mugshot
|
||||
%global _description %{expand:
|
||||
Mugshot is a lightweight user configuration utility for Linux designed for simplicity and ease of
|
||||
use. Quickly update your personal profile and sync your updates across applications.}
|
||||
|
||||
|
||||
Name: python-mugshot
|
||||
Version: 0.4.3
|
||||
Release: 1%?dist
|
||||
Summary: User Management Utility for Linux
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/bluesabre/mugshot
|
||||
Source0: %url/archive/refs/tags/mugshot-%version.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-distutils-extra
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: glib2
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n mugshot
|
||||
Requires: util-linux-user
|
||||
Requires: python3-cairo
|
||||
Requires: python3-pexpect
|
||||
Requires: python3-gobject
|
||||
Summary: User Management Utility for Linux
|
||||
|
||||
%description -n mugshot %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n mugshot-mugshot-%version
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -L 'mugshot*'
|
||||
install -Dm644 data/glib-2.0/schemas/%{lower:%app}.gschema.xml %buildroot%_datadir/glib-2.0/schemas/
|
||||
|
||||
%find_lang mugshot
|
||||
|
||||
%check
|
||||
#pyproject_check_import
|
||||
desktop-file-validate %buildroot%_datadir/applications/%app.desktop
|
||||
appstream-util validate-relax --nonet %buildroot%_metainfodir/mugshot.appdata.xml
|
||||
|
||||
%files -n mugshot -f %{pyproject_files} -f mugshot.lang
|
||||
%doc README.md NEWS
|
||||
%license COPYING
|
||||
%_bindir/mugshot
|
||||
%_datadir/glib-2.0/schemas/%{lower:%app}.gschema.xml
|
||||
%_datadir/applications/%app.desktop
|
||||
%_datadir/mugshot/
|
||||
%_metainfodir/mugshot.appdata.xml
|
||||
%_mandir/man1/mugshot.1.gz
|
||||
%_iconsdir/hicolor/*/apps/mugshot.svg
|
||||
@@ -1,3 +0,0 @@
|
||||
let v = gh("bluesabre/mugshot");
|
||||
v.crop(8);
|
||||
rpm.version(v);
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "ruffle-nightly.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name[ar]=رَفل
|
||||
Name[cs]=Ruffle
|
||||
Name[es]=Ruffle
|
||||
Name[fr]=Ruffle
|
||||
Name[ja]=Ruffle
|
||||
Name[ko]=Ruffle
|
||||
Name[nl]=Ruffle
|
||||
Name[pl]=Ruffle
|
||||
Name[pt_BR]=Ruffle
|
||||
Name[pt_PT]=Ruffle
|
||||
Name[ru]=Ruffle
|
||||
Name[tr]=Ruffle
|
||||
Name[uk]=Ruffle
|
||||
Name[zh_CN]=Ruffle
|
||||
Name[zh_TW]=Ruffle
|
||||
Name=Ruffle
|
||||
GenericName[ar]=مشغل الفلاش
|
||||
GenericName[cs]=Flash přehrávač
|
||||
GenericName[es]=Reproductor de Flash
|
||||
GenericName[fr]=Lecteur Flash
|
||||
GenericName[ja]=Flashプレイヤー
|
||||
GenericName[ko]=플래시 플레이어
|
||||
GenericName[nl]=Flash-speler
|
||||
GenericName[pl]=Odtwarzacz Flash
|
||||
GenericName[pt_PT]=Leitor Flash
|
||||
GenericName[tr]=Flash Oynatıcı
|
||||
GenericName[zh_CN]=Flash 播放器
|
||||
GenericName[zh_TW]=Flash 播放器
|
||||
GenericName=Flash Player
|
||||
Comment[ar]=شغِّل أفلام وألعاب الفلاش
|
||||
Comment[cs]=Hrajte Flash hry a přehrajte filmy
|
||||
Comment[es]=Jugar juegos y ver películas de Flash
|
||||
Comment[fr]=Jouez à des jeux et regardez des animations en Flash
|
||||
Comment[ja]=Flashゲームと動画を再生します
|
||||
Comment[ko]=플래시 게임 & 영상 재생
|
||||
Comment[nl]=Speel Flash spellen & animaties
|
||||
Comment[pl]=Graj w gry i odtwarzaj filmy Flash
|
||||
Comment[pt_BR]=Reproduza jogos e filmes Flash
|
||||
Comment[pt_PT]=Jogar jogos Flash e reproduzir filmes
|
||||
Comment[ru]=Проигрывайте Flash-игры и ролики
|
||||
Comment[tr]=Flash oyunları ve filmleri oynat
|
||||
Comment[uk]=Відтворюйте Flash ігри та фільми
|
||||
Comment[zh_CN]=播放 Flash 游戏和动画
|
||||
Comment[zh_TW]=播放 Flash 遊戲和動畫
|
||||
Comment=Play Flash games & movies
|
||||
Icon=rs.ruffle.Ruffle
|
||||
Exec=ruffle_desktop %u
|
||||
MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie
|
||||
Categories=AudioVideo;Player;Graphics;Viewer;VectorGraphics;Game
|
||||
Keywords[ar]=الفلاش;swf;مشغل;محاكي;رَسْت
|
||||
Keywords[cs]=flash;swf;přehrávač;emulátor;rust
|
||||
Keywords[de]=flash;swf;spieler;emulator;rust
|
||||
Keywords[es]=flash;swf;reproductor;emulador;rust
|
||||
Keywords[fr]=flash;swf;lecteur;émulateur;rust
|
||||
Keywords[it]=flash;swf;riproduttore;emulatore;rust
|
||||
Keywords[ja]=flash;swf;プレイヤー;エミュレーター;rust
|
||||
Keywords[ko]=플래시;swf;플레이어;에뮬레이터;rust
|
||||
Keywords[nl]=flash;swf;speler;emulator;rust
|
||||
Keywords[pl]=flash;swf;odtwarzacz;emulator;rust
|
||||
Keywords[pt_PT]=flash;swf;leitor;emulador;rust
|
||||
Keywords[ru]=flash;swf;прои́грыватель;эмуля́тор;rust
|
||||
Keywords[tr]=flash;swf;oynatıcı;öykünücü;rust
|
||||
Keywords[uk]=flash;swf;програвач;емулятор;rust
|
||||
Keywords[zh_CN]=flash;swf;播放器;模拟器;rust
|
||||
Keywords[zh_TW]=flash;swf;播放器;模擬器;rust
|
||||
Keywords=flash;swf;player;emulator;rust
|
||||
@@ -1,56 +0,0 @@
|
||||
%global ver 2024-11-27
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
%global _description %{expand:
|
||||
Ruffle is an Adobe Flash Player emulator written in the Rust programming
|
||||
language. Ruffle targets both the desktop and the web using WebAssembly.}
|
||||
|
||||
Name: ruffle-nightly
|
||||
Version: %goodver
|
||||
Release: 1%?dist
|
||||
Summary: A Flash Player emulator written in Rust
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://ruffle.rs/
|
||||
Source0: https://github.com/ruffle-rs/ruffle/archive/refs/tags/nightly-%ver.tar.gz
|
||||
Source1: rs.ruffle.Ruffle.desktop
|
||||
Provides: ruffle
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros mold
|
||||
BuildRequires: gcc-c++ cmake java
|
||||
BuildRequires: java-latest-openjdk-headless
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(xcb-cursor)
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
|
||||
%description %_description
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%license LICENSE.dependencies
|
||||
%_bindir/ruffle_desktop
|
||||
%_datadir/applications/rs.ruffle.Ruffle.desktop
|
||||
%_iconsdir/hicolor/scalable/apps/rs.ruffle.Ruffle.svg
|
||||
%_metainfodir/rs.ruffle.Ruffle.metainfo.xml
|
||||
|
||||
%prep
|
||||
%autosetup -n ruffle-nightly-%ver
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
cd desktop
|
||||
%cargo_install
|
||||
install -Dm644 packages/linux/rs.ruffle.Ruffle.svg %buildroot%_iconsdir/hicolor/scalable/apps/rs.ruffle.Ruffle.svg
|
||||
install -Dm644 -t %{buildroot}/usr/share/applications %{SOURCE1}
|
||||
install -Dm644 packages/linux/rs.ruffle.Ruffle.metainfo.xml %buildroot%_metainfodir/rs.ruffle.Ruffle.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Mon Jul 29 2024 madonuko <mado@fyralabs.com>
|
||||
- Initial package
|
||||
@@ -1,13 +0,0 @@
|
||||
let releases = "https://api.github.com/repos/ruffle-rs/ruffle/releases".get().json_arr();
|
||||
for release in releases {
|
||||
let tag = release.tag_name;
|
||||
if !tag.starts_with("nightly-") {
|
||||
continue;
|
||||
}
|
||||
tag.crop(8); // remove "nightly-"
|
||||
rpm.global("ver", tag);
|
||||
break;
|
||||
}
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
}
|
||||
+149
-46
@@ -1,4 +1,4 @@
|
||||
# Generated by rust2rpm 26
|
||||
# Generated by rust2rpm 25
|
||||
%bcond_with check
|
||||
# aarch64 dist is not available
|
||||
%ifarch aarch64
|
||||
@@ -13,7 +13,7 @@
|
||||
%global crate sccache
|
||||
|
||||
Name: rust-sccache
|
||||
Version: 0.9.0
|
||||
Version: 0.8.0
|
||||
Release: 1%?dist
|
||||
Summary: Ccache-like tool
|
||||
|
||||
@@ -23,13 +23,14 @@ Source: %{crates_source}
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch: sccache-fix-metadata-auto.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: mold
|
||||
|
||||
%global _description %{expand:
|
||||
Sccache is a ccache-like tool. It is used as a compiler wrapper and
|
||||
@@ -47,7 +48,6 @@ License: MIT
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
#license LICENSE.dependencies
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
%doc README.md
|
||||
%{_bindir}/sccache
|
||||
@@ -68,9 +68,6 @@ This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license %{crate_instdir}/LICENSE
|
||||
%doc %{crate_instdir}/CODE_OF_CONDUCT.md
|
||||
%doc %{crate_instdir}/README.md
|
||||
%{crate_instdir}/
|
||||
|
||||
%package -n %{name}+default-devel
|
||||
@@ -92,6 +89,17 @@ use the "default" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+all-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/all) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/azure) = 0.7.4
|
||||
Requires: crate(sccache/dist-client) = 0.7.4
|
||||
Requires: crate(sccache/gcs) = 0.7.4
|
||||
Requires: crate(sccache/gha) = 0.7.4
|
||||
Requires: crate(sccache/memcached) = 0.7.4
|
||||
Requires: crate(sccache/redis) = 0.7.4
|
||||
Requires: crate(sccache/s3) = 0.7.4
|
||||
Requires: crate(sccache/webdav) = 0.7.4
|
||||
|
||||
%description -n %{name}+all-devel %{_description}
|
||||
|
||||
@@ -104,6 +112,9 @@ use the "all" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+azure-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/azure) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+azure-devel %{_description}
|
||||
|
||||
@@ -116,6 +127,9 @@ use the "azure" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+dist-client-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/dist-client) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+dist-client-devel %{_description}
|
||||
|
||||
@@ -124,10 +138,13 @@ use the "dist-client" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dist-client-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%if %{with dist_server}
|
||||
%package -n %{name}+dist-server-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/dist-server) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+dist-server-devel %{_description}
|
||||
|
||||
@@ -140,6 +157,11 @@ use the "dist-server" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+dist-tests-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/dist-tests) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/dist-client) = 0.7.4
|
||||
Requires: crate(sccache/dist-server) = 0.7.4
|
||||
|
||||
%description -n %{name}+dist-tests-devel %{_description}
|
||||
|
||||
@@ -148,10 +170,15 @@ use the "dist-tests" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dist-tests-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%endif
|
||||
%package -n %{name}+flate2-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/flate2) = 0.7.4
|
||||
Requires: (crate(flate2) >= 1.0.0 with crate(flate2) < 2.0.0~)
|
||||
Requires: (crate(flate2/rust_backend) >= 1.0.0 with crate(flate2/rust_backend) < 2.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+flate2-devel %{_description}
|
||||
|
||||
@@ -164,6 +191,9 @@ use the "flate2" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+gcs-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/gcs) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+gcs-devel %{_description}
|
||||
|
||||
@@ -176,6 +206,10 @@ use the "gcs" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+gha-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/gha) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/opendal) = 0.7.4
|
||||
|
||||
%description -n %{name}+gha-devel %{_description}
|
||||
|
||||
@@ -185,21 +219,14 @@ use the "gha" feature of the "%{crate}" crate.
|
||||
%files -n %{name}+gha-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+http-body-util-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+http-body-util-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "http-body-util" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+http-body-util-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+hyper-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/hyper) = 0.7.4
|
||||
Requires: (crate(hyper/default) >= 0.14.27 with crate(hyper/default) < 0.15.0~)
|
||||
Requires: (crate(hyper/server) >= 0.14.27 with crate(hyper/server) < 0.15.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+hyper-devel %{_description}
|
||||
|
||||
@@ -209,21 +236,13 @@ use the "hyper" feature of the "%{crate}" crate.
|
||||
%files -n %{name}+hyper-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+hyper-util-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+hyper-util-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "hyper-util" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+hyper-util-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+jwt-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/jwt) = 0.7.4
|
||||
Requires: (crate(jsonwebtoken/default) >= 8.0.0 with crate(jsonwebtoken/default) < 9.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+jwt-devel %{_description}
|
||||
|
||||
@@ -236,6 +255,10 @@ use the "jwt" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+libmount-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/libmount) = 0.7.4
|
||||
Requires: (crate(libmount/default) >= 0.1.10 with crate(libmount/default) < 0.2.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+libmount-devel %{_description}
|
||||
|
||||
@@ -248,6 +271,11 @@ use the "libmount" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+memcached-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/memcached) = 0.7.4
|
||||
Requires: (crate(opendal/default) >= 0.40.0 with crate(opendal/default) < 0.41.0~)
|
||||
Requires: (crate(opendal/services-memcached) >= 0.40.0 with crate(opendal/services-memcached) < 0.41.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+memcached-devel %{_description}
|
||||
|
||||
@@ -260,6 +288,9 @@ use the "memcached" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+native-zlib-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/native-zlib) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+native-zlib-devel %{_description}
|
||||
|
||||
@@ -272,6 +303,10 @@ use the "native-zlib" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+nix-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/nix) = 0.7.4
|
||||
Requires: (crate(nix/default) >= 0.26.2 with crate(nix/default) < 0.27.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+nix-devel %{_description}
|
||||
|
||||
@@ -284,6 +319,10 @@ use the "nix" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+opendal-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/opendal) = 0.7.4
|
||||
Requires: (crate(opendal/default) >= 0.40.0 with crate(opendal/default) < 0.41.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+opendal-devel %{_description}
|
||||
|
||||
@@ -296,6 +335,10 @@ use the "opendal" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+openssl-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/openssl) = 0.7.4
|
||||
Requires: (crate(openssl/default) >= 0.10.55 with crate(openssl/default) < 0.11.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+openssl-devel %{_description}
|
||||
|
||||
@@ -305,21 +348,16 @@ use the "openssl" feature of the "%{crate}" crate.
|
||||
%files -n %{name}+openssl-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+oss-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+oss-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "oss" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+oss-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+redis-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/redis) = 0.7.4
|
||||
Requires: (crate(opendal/default) >= 0.40.0 with crate(opendal/default) < 0.41.0~)
|
||||
Requires: (crate(opendal/services-redis) >= 0.40.0 with crate(opendal/services-redis) < 0.41.0~)
|
||||
Requires: (crate(opendal/services-redis-rustls) >= 0.40.0 with crate(opendal/services-redis-rustls) < 0.41.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/url) = 0.7.4
|
||||
|
||||
%description -n %{name}+redis-devel %{_description}
|
||||
|
||||
@@ -332,6 +370,10 @@ use the "redis" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+reqsign-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/reqsign) = 0.7.4
|
||||
Requires: (crate(reqsign/default) >= 0.14.1 with crate(reqsign/default) < 0.15.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+reqsign-devel %{_description}
|
||||
|
||||
@@ -344,6 +386,15 @@ use the "reqsign" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+reqwest-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/reqwest) = 0.7.4
|
||||
Requires: (crate(reqwest/blocking) >= 0.11.0 with crate(reqwest/blocking) < 0.12.0~)
|
||||
Requires: (crate(reqwest/default) >= 0.11.0 with crate(reqwest/default) < 0.12.0~)
|
||||
Requires: (crate(reqwest/json) >= 0.11.0 with crate(reqwest/json) < 0.12.0~)
|
||||
Requires: (crate(reqwest/rustls-tls) >= 0.11.0 with crate(reqwest/rustls-tls) < 0.12.0~)
|
||||
Requires: (crate(reqwest/stream) >= 0.11.0 with crate(reqwest/stream) < 0.12.0~)
|
||||
Requires: (crate(reqwest/trust-dns) >= 0.11.0 with crate(reqwest/trust-dns) < 0.12.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+reqwest-devel %{_description}
|
||||
|
||||
@@ -356,6 +407,11 @@ use the "reqwest" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+rouille-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/rouille) = 0.7.4
|
||||
Requires: (crate(rouille) >= 3.6.0 with crate(rouille) < 4.0.0~)
|
||||
Requires: (crate(rouille/ssl) >= 3.6.0 with crate(rouille/ssl) < 4.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+rouille-devel %{_description}
|
||||
|
||||
@@ -368,6 +424,11 @@ use the "rouille" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+s3-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/s3) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/opendal) = 0.7.4
|
||||
Requires: crate(sccache/reqsign) = 0.7.4
|
||||
|
||||
%description -n %{name}+s3-devel %{_description}
|
||||
|
||||
@@ -380,6 +441,10 @@ use the "s3" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+sha2-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/sha2) = 0.7.4
|
||||
Requires: (crate(sha2/default) >= 0.10.6 with crate(sha2/default) < 0.11.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+sha2-devel %{_description}
|
||||
|
||||
@@ -392,6 +457,10 @@ use the "sha2" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+syslog-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/syslog) = 0.7.4
|
||||
Requires: (crate(syslog/default) >= 6.0.0 with crate(syslog/default) < 7.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+syslog-devel %{_description}
|
||||
|
||||
@@ -401,9 +470,29 @@ use the "syslog" feature of the "%{crate}" crate.
|
||||
%files -n %{name}+syslog-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%{dnl ## BEGIN: multiline comment
|
||||
%package -n %{name}+trust-dns-resolver-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/trust-dns-resolver) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+trust-dns-resolver-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "trust-dns-resolver" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+trust-dns-resolver-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
} ## END OF multiline comment
|
||||
|
||||
%package -n %{name}+unstable-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/unstable) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+unstable-devel %{_description}
|
||||
|
||||
@@ -416,6 +505,10 @@ use the "unstable" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+url-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/url) = 0.7.4
|
||||
Requires: (crate(url/default) >= 2.0.0 with crate(url/default) < 3.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+url-devel %{_description}
|
||||
|
||||
@@ -428,6 +521,9 @@ use the "url" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+vendored-openssl-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/vendored-openssl) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+vendored-openssl-devel %{_description}
|
||||
|
||||
@@ -440,6 +536,10 @@ use the "vendored-openssl" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+version-compare-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/version-compare) = 0.7.4
|
||||
Requires: (crate(version-compare/default) >= 0.1.1 with crate(version-compare/default) < 0.2.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+version-compare-devel %{_description}
|
||||
|
||||
@@ -452,6 +552,10 @@ use the "version-compare" feature of the "%{crate}" crate.
|
||||
%package -n %{name}+webdav-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/webdav) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/opendal) = 0.7.4
|
||||
|
||||
%description -n %{name}+webdav-devel %{_description}
|
||||
|
||||
@@ -474,7 +578,6 @@ use the "webdav" feature of the "%{crate}" crate.
|
||||
%endif
|
||||
|
||||
%install
|
||||
rm -rf .git || true
|
||||
%if %{with dist_server}
|
||||
%cargo_install -f dist-server
|
||||
%else
|
||||
@@ -0,0 +1,14 @@
|
||||
--- sccache-0.7.6/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ sccache-0.7.6/Cargo.toml 2024-02-02T06:05:53.548100+00:00
|
||||
@@ -378,11 +378,3 @@
|
||||
[target."cfg(unix)".dependencies.daemonize]
|
||||
version = "0.5"
|
||||
|
||||
-[target."cfg(windows)".dependencies.winapi]
|
||||
-version = "0.3"
|
||||
-features = [
|
||||
- "fileapi",
|
||||
- "handleapi",
|
||||
- "stringapiset",
|
||||
- "winnls",
|
||||
-]
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "tuxclocker.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
Name: tuxclocker
|
||||
Version: 1.5.1
|
||||
Release: 1%?dist
|
||||
Summary: Qt overclocking tool for GNU/Linux
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/Lurkki14/tuxclocker
|
||||
# boost qt5-qtbase qt5-qtcharts
|
||||
Requires: hicolor-icon-theme
|
||||
BuildRequires: git-core meson hwdata qt5-qttools gettext anda-srpm-macros
|
||||
BuildRequires: boost-devel qt5-qtbase-devel qt5-qtcharts-devel libdrm-devel libXNVCtrl-devel openssl-devel
|
||||
Recommends: xorg-x11-drv-nvidia libdrm libXNVCtrl hwdata
|
||||
|
||||
%description
|
||||
TuxClocker is a hardware controlling and monitoring program.
|
||||
TuxClocker consists of a DBus daemon and a Qt GUI that uses the daemon.
|
||||
|
||||
%prep
|
||||
git clone --recursive %url .
|
||||
git checkout %version
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_bindir/tuxclocker-qt
|
||||
%_bindir/tuxclockerd
|
||||
%_libdir/libtuxclocker.so
|
||||
%_libdir/tuxclocker/
|
||||
%_datadir/applications/tuxclocker.desktop
|
||||
%_datadir/dbus-1/system-services/org.tuxclocker.service
|
||||
%_datadir/dbus-1/system.d/org.tuxclocker.conf
|
||||
%_datadir/locale/*/LC_MESSAGES/tuxclocker.mo
|
||||
%_iconsdir/hicolor/scalable/apps/tuxclocker-logo.svg
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("Lurkki14/tuxclocker"));
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 1.5.4
|
||||
Version: 1.5.2
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
Summary: Vesktop is a cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
From 6b8c81d1d4ac0ac562b69e7f8164c8a92dafe13a Mon Sep 17 00:00:00 2001
|
||||
From: windowsboy111 <wboy111@outlook.com>
|
||||
Date: Mon, 19 Jun 2023 10:33:20 +0800
|
||||
Subject: [PATCH] feat: add repository entry in package.json
|
||||
|
||||
---
|
||||
package.json | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/package.json b/package.json
|
||||
index 622756a..b3d3dfa 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
+ "repository": "github:VOICEVOX/voicevox",
|
||||
"name": "voicevox",
|
||||
"version": "999.999.999",
|
||||
"author": "Hiroshiba Kazuyuki",
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "voicevox.spec"
|
||||
}
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
rpm.version(gh("VOICEVOX/voicevox"));
|
||||
let v = gh("VOICEVOX/voicevox");
|
||||
rpm.global("ver", v);
|
||||
let engines = get(`https://raw.githubusercontent.com/VOICEVOX/voicevox/${v}/package.json`).json().engines;
|
||||
rpm.global("nodev", find(">=([\\d.]+)", engines.node, 1));
|
||||
rpm.global("npmv", find(">=([\\d.]+)", engines.npm, 1));
|
||||
|
||||
@@ -1,29 +1,28 @@
|
||||
%global nodev 20.12.2
|
||||
%global npmv 10.5.0
|
||||
%global ver 0.19.1
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
# do not strip binaries
|
||||
%define __strip /bin/true
|
||||
|
||||
# do not perform compression in cpio
|
||||
%define _source_payload w0.ufdio
|
||||
%define _binary_payload w19.zstdio
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: voicevox
|
||||
Version: 0.21.1
|
||||
Release: 1%?dist
|
||||
Version: %ver
|
||||
Release: 4%?dist
|
||||
Summary: Free Japanese text-to-speech editor
|
||||
License: LGPL-3.0
|
||||
URL: https://voicevox.hiroshiba.jp
|
||||
Source0: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.001
|
||||
Source1: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.002
|
||||
Source2: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.003
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: p7zip-plugins
|
||||
ExclusiveArch: x86_64
|
||||
Source0: https://github.com/VOICEVOX/voicevox/archive/refs/tags/%version.tar.gz
|
||||
# requires specific node and npm version
|
||||
%ifarch x86_64
|
||||
%global a x64
|
||||
%elifarch aarch64
|
||||
%global a arm64
|
||||
%endif
|
||||
Source1: https://nodejs.org/download/release/v%nodev/node-v%nodev-linux-%a.tar.xz
|
||||
Patch0: 0001-feat-add-repository-entry-in-package.json.patch
|
||||
|
||||
%description
|
||||
VOICEVOX is a free Japanese text-to-speech software with medium output quality.
|
||||
@@ -35,28 +34,33 @@ Summary: Documentation files for voicevox (Japanese)
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
cat<<EOF > voicevox.sh
|
||||
#!/usr/bin/sh
|
||||
/usr/share/voicevox/VOICEVOX.AppImage
|
||||
EOF
|
||||
7z x %SOURCE0
|
||||
chmod a+x VOICEVOX.AppImage
|
||||
|
||||
./VOICEVOX.AppImage --appimage-extract '*.desktop'
|
||||
./VOICEVOX.AppImage --appimage-extract 'usr/share/icons/**'
|
||||
|
||||
sed -i "s|Exec=.*|Exec=/usr/share/voicevox/VOICEVOX.AppImage|" squashfs-root/voicevox.desktop
|
||||
%autosetup -p1
|
||||
tar xf %SOURCE1
|
||||
PATH="$PATH:$PWD/node-v%nodev-linux-%a/bin/"
|
||||
npx npm@%npmv i
|
||||
|
||||
%build
|
||||
PATH="$PATH:$PWD/node-v%nodev-linux-%a/bin/"
|
||||
npx browserslist@latest --update-db
|
||||
PATH="$PATH:$PWD/node-v%nodev-linux-%a/bin/"
|
||||
npm run electron:build
|
||||
|
||||
%install
|
||||
install -Dm755 VOICEVOX.AppImage %buildroot%_datadir/voicevox/VOICEVOX.AppImage
|
||||
install -Dm755 voicevox.sh %buildroot%_bindir/voicevox
|
||||
install -Dm644 squashfs-root%_iconsdir/hicolor/0x0/apps/voicevox.png %buildroot%_iconsdir/hicolor/256x256/apps/voicevox.png
|
||||
install -Dm644 squashfs-root/voicevox.desktop %buildroot%_datadir/applications/voicevox.desktop
|
||||
rm dist_electron/linux-unpacked/README.txt # dummy
|
||||
mkdir -p %buildroot%_datadir/%name %buildroot%_bindir %buildroot%_docdir/%name/res
|
||||
mv dist_electron/linux-unpacked/* %buildroot%_datadir/%name/
|
||||
ln -s %_datadir/%name/%name %buildroot%_bindir/%name
|
||||
install -Dm644 docs/*.md %buildroot%_docdir/%name/
|
||||
install -Dm644 docs/res/* %buildroot%_docdir/%name/res/
|
||||
|
||||
%files
|
||||
%_bindir/voicevox
|
||||
%_datadir/applications/voicevox.desktop
|
||||
%_datadir/voicevox/VOICEVOX.AppImage
|
||||
%_iconsdir/hicolor/256x256/apps/voicevox.png
|
||||
%doc README.md
|
||||
%license LICENSE LGPL_LICENSE
|
||||
%_bindir/%name
|
||||
%_datadir/%name/
|
||||
|
||||
%files doc
|
||||
%doc %_docdir/%name/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "youtube-music.spec"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("th-ch/youtube-music"));
|
||||
@@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=YouTube Music
|
||||
Exec=/usr/bin/youtube-music --no-sandbox %U
|
||||
TryExec=/usr/bin/youtube-music
|
||||
Icon=youtube-music
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=YouTube Music
|
||||
Comment=YouTube Music Desktop App - including custom plugins
|
||||
Categories=AudioVideo;
|
||||
@@ -1,91 +0,0 @@
|
||||
%define debug_package %nil
|
||||
|
||||
|
||||
# macro shorthand for calling pnpm
|
||||
%global pnpm npx pnpm@%{pnpm_version}
|
||||
|
||||
Name: youtube-music
|
||||
Version: 3.6.2
|
||||
Release: 1%?dist
|
||||
Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
Source1: youtube-music.desktop
|
||||
License: MIT
|
||||
URL: https://github.com/th-ch/youtube-music
|
||||
Packager: Cappy Ishihara <cappy@fyralabs.com>
|
||||
|
||||
# For some unknown reason, PNPM is not working with Node.js 22 on Aarch64 devices.
|
||||
# todo: investigate why
|
||||
#ExclusiveArch: x86_64
|
||||
|
||||
BuildRequires: git-core gcc make
|
||||
# Required for usocket native module built with node-gyp
|
||||
BuildRequires: python3 gcc-c++
|
||||
|
||||
%description
|
||||
YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
|
||||
|
||||
%prep
|
||||
rm -rf ./*
|
||||
git clone --recursive %{url} .
|
||||
git checkout v%{version}
|
||||
|
||||
|
||||
|
||||
%build
|
||||
# Vendor PNPM directly instead of installing from packages, because we need to somehow force PNPM to use Node.js 20
|
||||
# We are not using Fedora's PNPM because we need to use `pnpm env`, which PNPM does not support when not vendored directly from upstream
|
||||
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||
source /builddir/.bashrc
|
||||
pnpm env use --global 20
|
||||
pnpm install
|
||||
pnpm build
|
||||
pnpm electron-builder --linux --dir
|
||||
|
||||
|
||||
|
||||
%install
|
||||
|
||||
# Install assets
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
|
||||
|
||||
# Copy icon files
|
||||
ls -laR pack
|
||||
%ifarch aarch64
|
||||
pushd pack/linux-arm64-unpacked/resources/app.asar.unpacked/assets
|
||||
%else
|
||||
pushd pack/linux-unpacked/resources/app.asar.unpacked/assets
|
||||
%endif
|
||||
install -m 0644 youtube-music.png %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/youtube-music.png
|
||||
install -m 0644 youtube-music.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/youtube-music.svg
|
||||
install -m 0644 youtube-music-tray-paused.png %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/youtube-music-tray-paused.png
|
||||
install -m 0644 youtube-music-tray.png %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/youtube-music-tray.png
|
||||
popd
|
||||
|
||||
# Actually install the app
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/youtube-music
|
||||
# Delete unpacked asar files before copying
|
||||
rm -rfv pack/linux*-unpacked/resources/app.asar.unpacked
|
||||
cp -rv pack/linux*-unpacked/* %{buildroot}%{_datadir}/youtube-music
|
||||
install -d -m 0755 %{buildroot}%{_bindir}
|
||||
ln -svf %{_datadir}/youtube-music/youtube-music %{buildroot}%{_bindir}/youtube-music
|
||||
|
||||
# Install desktop file
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/youtube-music.desktop
|
||||
|
||||
%files
|
||||
%license license
|
||||
%doc README.md
|
||||
%doc docs
|
||||
%{_bindir}/youtube-music
|
||||
%{_datadir}/youtube-music
|
||||
%{_datadir}/icons/hicolor/*/apps/youtube-music*
|
||||
%{_datadir}/applications/youtube-music.desktop
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 03 2024 Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
- Initial Release
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "ctwm.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=CTWM
|
||||
Comment=Claude's Tab Window Manager
|
||||
TryExec=ctwm
|
||||
Exec=ctwm
|
||||
Type=Xsession
|
||||
Encoding=UTF-8
|
||||
@@ -1,55 +0,0 @@
|
||||
Summary: Lightweight window manager with virtual workspaces
|
||||
Name: ctwm
|
||||
Version: 4.1.0
|
||||
Release: 1%?dist
|
||||
URL: https://ctwm.org
|
||||
BuildRequires: libjpeg-turbo-devel libX11-devel libXext-devel libXmu-devel libXpm-devel libXt-devel libXrandr-devel cmake gcc m4
|
||||
Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.xz
|
||||
Source1: %{name}.desktop
|
||||
License: MIT
|
||||
Requires: m4
|
||||
# Derived from RPMSphere's packaging
|
||||
|
||||
%description
|
||||
CTWM is a window manager based on TWM (with virtual workspaces added).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%{__install} -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
|
||||
|
||||
%files
|
||||
%doc README.md CHANGES.md
|
||||
%license COPYRIGHT
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}*
|
||||
%{_datadir}/xsessions/%{name}.desktop
|
||||
%{_datadir}/ctwm
|
||||
%{_datadir}/doc/ctwm/ctwm.1.html
|
||||
%{_datadir}/examples/ctwm/system.ctwmrc
|
||||
|
||||
%changelog
|
||||
* Tue Dec 17 2024 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Add .desktop and .rhai file, fix dependancies, and switch to .tar.xz source (smaller download)
|
||||
* Thu Jun 27 2024 Jaiden Riordan <jade@fyralabs.com> - 4.1.0
|
||||
- Rewrite for Terra, Thanks RPMSphere
|
||||
* Tue Dec 24 2019 Wei-Lun Chao <bluebat@member.fsf.org> - 4.0.3
|
||||
- Rebuilt for Fedora
|
||||
* Sat Apr 9 2011 Agnelo de la Crotche <agnelo@unixversal.com>
|
||||
- package for openSUSE 11.3/11.4
|
||||
* Thu Feb 16 2006 Richard Levitte <richard@levitte.org>
|
||||
- Release ctwm 3.8a.
|
||||
* Wed May 4 2005 Rudolph T Maceyko <rm55@pobox.com>
|
||||
- Tweaks. Added all .ctwmrc files as well as sound and VMS docs.
|
||||
* Wed May 4 2005 Richard Levitte <richard@levitte.org>
|
||||
- Changed some directory specifications to RedHat-ish standards.
|
||||
* Tue May 3 2005 Richard Levitte <richard@levitte.org>
|
||||
- Received the original from Johan Vromans. Adjusted it to become
|
||||
an official .spec file.
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(find("<p>Current release: ([\\d.]+)</p>", get("https://www.ctwm.org/download.html"), 1));
|
||||
@@ -3,7 +3,7 @@
|
||||
Name: elementary-appcenter
|
||||
Summary: Software Center from elementary
|
||||
Version: 7.4.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
Provides: appcenter = %{version}-%{release}
|
||||
@@ -12,6 +12,8 @@ Obsoletes: appcenter < 7.2.1-2
|
||||
URL: https://github.com/elementary/appcenter
|
||||
Source0: %url/archive/%{version}/appcenter-%{version}.tar.gz
|
||||
|
||||
Patch0: pr2099.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
@@ -0,0 +1,311 @@
|
||||
commit fce55d9373bfb82953191b32e276a2129ffcb8c1
|
||||
Author: Marius Meisenzahl <meisenzahl@users.noreply.github.com>
|
||||
Date: Wed Feb 7 00:14:43 2024 +0100
|
||||
|
||||
Add support for AppStream 1.0 (#2099)
|
||||
|
||||
diff --git a/src/Core/FlatpakBackend.vala b/src/Core/FlatpakBackend.vala
|
||||
index 98931505..10f2baab 100644
|
||||
--- a/src/Core/FlatpakBackend.vala
|
||||
+++ b/src/Core/FlatpakBackend.vala
|
||||
@@ -400,8 +400,13 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
|
||||
var category_array = new GLib.GenericArray<AppStream.Category> ();
|
||||
category_array.add (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ AppStream.utils_sort_components_into_categories (user_appstream_pool.get_components ().as_array (), category_array, false);
|
||||
+ AppStream.utils_sort_components_into_categories (system_appstream_pool.get_components ().as_array (), category_array, false);
|
||||
+#else
|
||||
AppStream.utils_sort_components_into_categories (user_appstream_pool.get_components (), category_array, false);
|
||||
AppStream.utils_sort_components_into_categories (system_appstream_pool.get_components (), category_array, false);
|
||||
+#endif
|
||||
components = category.get_components ();
|
||||
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
@@ -417,13 +422,21 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
var comps = user_appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
apps.add_all (packages);
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
foreach (var package in packages) {
|
||||
if (package in cat_packages) {
|
||||
@@ -435,13 +448,21 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
|
||||
comps = system_appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
apps.add_all (packages);
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
foreach (var package in packages) {
|
||||
if (package in cat_packages) {
|
||||
@@ -510,7 +531,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
continue;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.component.get_developer ().get_name () == author) {
|
||||
+#else
|
||||
if (package.component.developer_name == author) {
|
||||
+#endif
|
||||
package_ids.add (package.component.id);
|
||||
|
||||
AppCenterCore.Package? user_package = null;
|
||||
@@ -1095,7 +1120,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
warning ("Errors found in flatpak appdata, some components may be incomplete/missing: %s", e.message);
|
||||
} finally {
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ user_appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
user_appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
@@ -1133,7 +1162,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
warning ("Errors found in flatpak appdata, some components may be incomplete/missing: %s", e.message);
|
||||
} finally {
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ system_appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
system_appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
diff --git a/src/Core/Package.vala b/src/Core/Package.vala
|
||||
index 0f9a90c4..ed141292 100644
|
||||
--- a/src/Core/Package.vala
|
||||
+++ b/src/Core/Package.vala
|
||||
@@ -306,7 +306,11 @@ public class AppCenterCore.Package : Object {
|
||||
return _author;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ _author = component.get_developer ().get_name ();
|
||||
+#else
|
||||
_author = component.developer_name;
|
||||
+#endif
|
||||
|
||||
if (_author == null) {
|
||||
var project_group = component.project_group;
|
||||
@@ -677,7 +681,11 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
try {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ description = AppStream.markup_convert (description, TEXT);
|
||||
+#else
|
||||
description = AppStream.markup_convert_simple (description);
|
||||
+#endif
|
||||
} catch (Error e) {
|
||||
warning ("Failed to convert description to markup: %s", e.message);
|
||||
}
|
||||
@@ -919,7 +927,11 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
public AppStream.Release? get_newest_release () {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var releases = component.get_releases_plain ().get_entries ();
|
||||
+#else
|
||||
var releases = component.get_releases ();
|
||||
+#endif
|
||||
releases.sort_with_data ((a, b) => {
|
||||
if (a.get_version () == null || b.get_version () == null) {
|
||||
if (a.get_version () != null) {
|
||||
diff --git a/src/Core/PackageKitBackend.vala b/src/Core/PackageKitBackend.vala
|
||||
index 09da4074..a108831e 100644
|
||||
--- a/src/Core/PackageKitBackend.vala
|
||||
+++ b/src/Core/PackageKitBackend.vala
|
||||
@@ -275,7 +275,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
} finally {
|
||||
var new_package_list = new Gee.HashMap<string, Package> ();
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
@@ -317,7 +321,12 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
component.set_id (id);
|
||||
component.set_origin (Package.APPCENTER_PACKAGE_ORIGIN);
|
||||
|
||||
-#if HAS_APPSTREAM_0_15
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var components = new AppStream.ComponentBox (AppStream.ComponentBoxFlags.NONE);
|
||||
+ components.add (component);
|
||||
+
|
||||
+ appstream_pool.add_components (components);
|
||||
+#elif HAS_APPSTREAM_0_15
|
||||
var components = new GenericArray<AppStream.Component> ();
|
||||
components.add (component);
|
||||
|
||||
@@ -430,7 +439,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
break;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.component.get_developer ().get_name () == author) {
|
||||
+#else
|
||||
if (package.component.developer_name == author) {
|
||||
+#endif
|
||||
packages.add (package);
|
||||
}
|
||||
}
|
||||
@@ -447,7 +460,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
|
||||
var category_array = new GLib.GenericArray<AppStream.Category> ();
|
||||
category_array.add (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ AppStream.utils_sort_components_into_categories (appstream_pool.get_components ().as_array (), category_array, true);
|
||||
+#else
|
||||
AppStream.utils_sort_components_into_categories (appstream_pool.get_components (), category_array, true);
|
||||
+#endif
|
||||
components = category.get_components ();
|
||||
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
@@ -465,7 +482,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
var comps = appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var package = get_package_for_component_id (comp.get_id ());
|
||||
if (package != null) {
|
||||
apps.add (package);
|
||||
@@ -473,7 +494,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var package = get_package_for_component_id (comp.get_id ());
|
||||
if (package != null && package in cat_packages) {
|
||||
apps.add (package);
|
||||
diff --git a/src/Views/AppInfoView.vala b/src/Views/AppInfoView.vala
|
||||
index 5a3a361a..bef37f0e 100644
|
||||
--- a/src/Views/AppInfoView.vala
|
||||
+++ b/src/Views/AppInfoView.vala
|
||||
@@ -310,8 +310,16 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
oars_flowbox.add (uncurated);
|
||||
}
|
||||
#endif
|
||||
+
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var active_locale = "en-US";
|
||||
+ if (package_component.get_context () != null) {
|
||||
+ active_locale = package_component.get_context ().get_locale () ?? "en-US";
|
||||
+ }
|
||||
+#else
|
||||
var active_locale = package_component.get_active_locale ();
|
||||
- if (active_locale != "en_US") {
|
||||
+#endif
|
||||
+ if (active_locale != "en_US" && active_locale != "en-US") {
|
||||
var percent_translated = package_component.get_language (
|
||||
// Expects language without locale
|
||||
active_locale.split ("_")[0]
|
||||
@@ -492,7 +500,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
}
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ screenshots = package_component.get_screenshots_all ();
|
||||
+#else
|
||||
screenshots = package_component.get_screenshots ();
|
||||
+#endif
|
||||
|
||||
if (screenshots.length > 0) {
|
||||
screenshot_carousel = new Hdy.Carousel () {
|
||||
@@ -1030,7 +1042,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
get_app_download_size.begin ();
|
||||
|
||||
Idle.add (() => {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var releases = package.component.get_releases_plain ().get_entries ();
|
||||
+#else
|
||||
var releases = package.component.get_releases ();
|
||||
+#endif
|
||||
|
||||
foreach (unowned var release in releases) {
|
||||
if (release.get_version () == null) {
|
||||
@@ -1049,7 +1065,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
|
||||
release_carousel.add (release_row);
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.installed && AppStream.vercmp_simple (release.get_version (), package.get_version ()) <= 0) {
|
||||
+#else
|
||||
if (package.installed && AppStream.utils_compare_versions (release.get_version (), package.get_version ()) <= 0) {
|
||||
+#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
diff --git a/src/Widgets/ReleaseRow.vala b/src/Widgets/ReleaseRow.vala
|
||||
index 3b487914..36fcbc76 100644
|
||||
--- a/src/Widgets/ReleaseRow.vala
|
||||
+++ b/src/Widgets/ReleaseRow.vala
|
||||
@@ -116,7 +116,11 @@ public class AppCenter.Widgets.ReleaseRow : Gtk.Box {
|
||||
private string format_release_description (string? description ) {
|
||||
if (description != null) {
|
||||
try {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var markup = AppStream.markup_convert (description, TEXT);
|
||||
+#else
|
||||
var markup = AppStream.markup_convert_simple (description);
|
||||
+#endif
|
||||
|
||||
if (markup.strip () != "") {
|
||||
return markup;
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index d3d558ef..df69a0bf 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -78,6 +78,10 @@ if appstream.version().version_compare('>=0.16')
|
||||
args += '--define=HAS_APPSTREAM_0_16'
|
||||
endif
|
||||
|
||||
+if appstream.version().version_compare('>=1.0')
|
||||
+ args += '--define=HAS_APPSTREAM_1_0'
|
||||
+endif
|
||||
+
|
||||
if get_option('packagekit_backend')
|
||||
appcenter_files += files(
|
||||
'Core/PackageKitBackend.vala',
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-calculator
|
||||
Summary: Calculator app designed for elementary
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 2.0.3
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: elementary-calendar
|
||||
Summary: Desktop calendar app designed for elementary
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/calendar
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-capnet-assist
|
||||
Summary: Captive Portal Assistant for elementary
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 2.4.4
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/capnet-assist
|
||||
@@ -21,13 +21,10 @@ BuildRequires: pkgconfig(gcr-ui-3)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(granite-7)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libhandy-1) >= 1.0.0
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.1)
|
||||
BuildRequires: pkgconfig(gcr-4)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(webkitgtk-6.0)
|
||||
BuildRequires: fdupes
|
||||
|
||||
Requires: NetworkManager
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: elementary-code
|
||||
Summary: Code editor from elementary
|
||||
Version: 7.3.0
|
||||
Release: 1%?dist
|
||||
Version: 7.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: elementary-files
|
||||
Summary: File manager from elementary
|
||||
Version: 7.0.0
|
||||
Release: 1%?dist
|
||||
Version: 6.5.3
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
@@ -42,8 +42,6 @@ BuildRequires: pkgconfig(pango) >= 1.1.2
|
||||
BuildRequires: pkgconfig(plank) >= 0.10.9
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(systemd) >= 206
|
||||
BuildRequires: pkgconfig(libportal)
|
||||
BuildRequires: pkgconfig(libportal-gtk3)
|
||||
|
||||
Requires: contractor
|
||||
Requires: file-roller
|
||||
@@ -78,7 +76,6 @@ This package contains the development headers.
|
||||
|
||||
|
||||
%build
|
||||
CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
|
||||
%meson -Dwith-zeitgeist=disabled
|
||||
%meson_build
|
||||
|
||||
@@ -88,6 +85,11 @@ CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
|
||||
|
||||
%find_lang %{appname}
|
||||
|
||||
%fdupes %buildroot%_datadir/icons/hicolor/
|
||||
|
||||
# remove unused pixmaps
|
||||
rm -r %{buildroot}/%{_datadir}/pixmaps
|
||||
|
||||
# install file-roller contracts
|
||||
mkdir -p %{buildroot}/%{_datadir}/contractor
|
||||
cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/contractor/
|
||||
@@ -118,7 +120,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_bindir}/%{appname}-pkexec
|
||||
|
||||
%{_libdir}/%{appname}/
|
||||
%{_libdir}/libpantheon-files-core.so.*
|
||||
%{_libdir}/libpantheon-files-core.so.6*
|
||||
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/contractor/*.contract
|
||||
|
||||
@@ -11,7 +11,7 @@ URL: https://github.com/elementary/greeter
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source1: 40-%{appname}.conf
|
||||
|
||||
Patch0: https://github.com/elementary/greeter/commit/dbd9b6f9701f5992c3b3257c025b9cd80d041cc8.patch
|
||||
Patch0: https://github.com/elementary/greeter/compare/7.0.0..42320c266395606b0c20782603e7407124c3f7a4.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -36,9 +36,9 @@ BuildRequires: pkgconfig(granite) >= 5.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(liblightdm-gobject-1)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
Provides: pantheon-greeter = %{version}-%{release}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-icon-theme
|
||||
Summary: Icons from the Elementary Project
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.3.1
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/icons
|
||||
|
||||
@@ -10,8 +10,8 @@ utilizes Granite for a consistent and slick UI.}
|
||||
|
||||
Name: elementary-music
|
||||
Summary: Music player and library from elementary
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.1.0
|
||||
Release: 2%{?dist}
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
@@ -41,7 +41,6 @@ BuildRequires: pkgconfig(libpeas-1.0)
|
||||
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
||||
BuildRequires: pkgconfig(taglib_c)
|
||||
BuildRequires: pkgconfig(zeitgeist-2.0)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
@@ -100,6 +99,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/locale/*/LC_MESSAGES/%{appname}.mo
|
||||
|
||||
%files devel
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
|
||||
Name: elementary-notifications
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: GTK Notification server for Pantheon
|
||||
|
||||
License: GPL-3.0
|
||||
@@ -54,6 +54,7 @@ appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/%appname.meta
|
||||
%{_bindir}/%{appname}.demo
|
||||
%{_datadir}/applications/%{appname}.demo.desktop
|
||||
|
||||
%config %{_sysconfdir}/xdg/autostart/%{appname}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_metainfodir}/%{appname}.metainfo.xml
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-onboarding
|
||||
Summary: Onboarding app for new users
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.2.0
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/onboarding
|
||||
|
||||
@@ -5,13 +5,16 @@
|
||||
|
||||
Name: elementary-photos
|
||||
Summary: Photo manager and viewer from elementary
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 2.8.0
|
||||
Release: 2%?dist
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/photos
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
# RIP the publishing plugins (sorry for the "wide" patch, having issues with just the relevant commits)
|
||||
Patch0: https://github.com/elementary/photos/compare/7261606a05d1f41116aba5c86b62d1f739419ed1..09e55943b266bc2861b913251cb834169d81743e.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
@@ -19,7 +22,6 @@ BuildRequires: meson >= 0.46.0
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: cmake
|
||||
|
||||
BuildRequires: pkgconfig(gee-0.8) >= 0.8.5
|
||||
BuildRequires: pkgconfig(geocode-glib-2.0)
|
||||
@@ -41,8 +43,6 @@ BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(libraw) >= 0.13.2
|
||||
BuildRequires: pkgconfig(libwebp) >= 0.4.4
|
||||
BuildRequires: pkgconfig(sqlite3) >= 3.5.9
|
||||
BuildRequires: pkgconfig(libportal)
|
||||
BuildRequires: pkgconfig(libportal-gtk3)
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
@@ -53,6 +53,7 @@ Foundation.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version} -N
|
||||
git apply %PATCH0 # The .patch file has Git binary patches, so we need to apply it manually with Git
|
||||
|
||||
|
||||
%build
|
||||
@@ -74,10 +75,10 @@ desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
||||
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}.viewer.desktop
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}-viewer.desktop
|
||||
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%files -f %{appname}.lang
|
||||
@@ -91,11 +92,11 @@ appstream-util validate-relax --nonet \
|
||||
%{_libexecdir}/%{appname}/
|
||||
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/applications/%{appname}.viewer.desktop
|
||||
%{_datadir}/applications/%{appname}-viewer.desktop
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.viewer.svg
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}-viewer.svg
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-screenshot-tool
|
||||
Summary: Screenshot tool designed for elementary
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 6.0.4
|
||||
Release: 2%{?dist}
|
||||
License: LGPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/screenshot
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
%global iface io.elementary.SettingsDaemon.AccountsService
|
||||
|
||||
Name: elementary-settings-daemon
|
||||
Version: 8.1.0
|
||||
Release: 1%?dist
|
||||
Version: 1.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Settings Daemon and Portal for Pantheon
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
@@ -26,8 +26,6 @@ BuildRequires: pkgconfig(granite) >= 5.3.0
|
||||
BuildRequires: pkgconfig(libgeoclue-2.0)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(fwupd)
|
||||
BuildRequires: pkgconfig(gexiv2)
|
||||
BuildRequires: pkgconfig(packagekit-glib2)
|
||||
|
||||
Requires: xdg-desktop-portal
|
||||
|
||||
@@ -47,8 +45,6 @@ Requires: xdg-desktop-portal
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %appname
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate \
|
||||
@@ -68,7 +64,7 @@ appstream-util validate-relax --nonet \
|
||||
%systemd_preun %{appname}.check-for-firmware-updates.timer
|
||||
|
||||
|
||||
%files -f %appname.lang
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
||||
@@ -91,6 +87,8 @@ appstream-util validate-relax --nonet \
|
||||
|
||||
%{_sysconfdir}/xdg/autostart/%appname.desktop
|
||||
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
+4
-4
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-shortcut-overlay
|
||||
Summary: Native, OS-wide shortcut overlay
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 2.0.1
|
||||
Release: %autorelease
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/shortcut-overlay
|
||||
@@ -49,7 +49,7 @@ desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
||||
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%files -f %{appname}.lang
|
||||
@@ -59,7 +59,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_bindir}/%{appname}
|
||||
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-sideload
|
||||
Summary: Sideload flatpaks on Pantheon
|
||||
Version: 6.2.2
|
||||
Release: 1%?dist
|
||||
Version: 6.2.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/sideload
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-terminal
|
||||
Summary: The terminal of the 21st century
|
||||
Version: 6.2.0
|
||||
Release: 1%?dist
|
||||
Version: 6.1.2
|
||||
Release: 2%{?dist}
|
||||
License: LGPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
@@ -90,9 +90,16 @@ appstream-util validate-relax --nonet \
|
||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||
%{_datadir}/%{appname}/
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
%{_mandir}/man1/%{appname}.1.gz
|
||||
|
||||
%files fish
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
%{_datadir}/fish/vendor_conf.d/pantheon_terminal_process_completion_notifications.fish
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 17 2022 windowsboy111 <wboy111@outlook.com> - 6.1.1-1
|
||||
- new version
|
||||
|
||||
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
||||
- Repackaged for Terra
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-theme
|
||||
Summary: Elementary GTK+ Stylesheet
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.3.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/stylesheet
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-videos
|
||||
Summary: Video player and library app from elementary
|
||||
Version: 8.0.1
|
||||
Release: 1%?dist
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
@@ -22,14 +22,13 @@ BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||
BuildRequires: pkgconfig(gdk-x11-3.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(granite-7)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-wallpapers
|
||||
Summary: Collection of wallpapers from the elementary project
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
# License breakdown is available in debian/copyright
|
||||
License: CC-BY-SA-4.0 AND CC0-1.0 AND Unlicense
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
Name: gala
|
||||
Summary: Gala window manager
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.1.3
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
@@ -12,6 +12,7 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# patch some default settings to better match Fedora
|
||||
Patch0: 0000-Modify-default-settings-for-Fedora.patch
|
||||
Patch: https://github.com/elementary/gala/compare/7.1.3..43d1e6a01b56a84a4e752e1970a35c19402941eb.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -32,9 +33,11 @@ BuildRequires: pkgconfig(granite) >= 5.4.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libbamf3)
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
@@ -86,8 +89,8 @@ This package contains the development headers.
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
%dnl desktop-file-validate \
|
||||
%dnl %{buildroot}/%{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/gala*.desktop
|
||||
@@ -99,7 +102,7 @@ desktop-file-validate \
|
||||
%files -f gala.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
%dnl %config(noreplace) %{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
|
||||
%{_bindir}/gala
|
||||
%{_bindir}/gala-daemon
|
||||
|
||||
@@ -5,8 +5,8 @@ apps built for elementary.}
|
||||
|
||||
Name: granite-7
|
||||
Summary: Elementary companion library for GTK+ and GLib
|
||||
Version: 7.5.0
|
||||
Release: 1%?dist
|
||||
Version: 7.4.0
|
||||
Release: 1%{?dist}
|
||||
License: LGPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/granite
|
||||
@@ -82,7 +82,6 @@ desktop-file-validate \
|
||||
|
||||
%{_datadir}/metainfo/granite-7.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/io.elementary.granite-7.svg
|
||||
%{_datadir}/themes/Granite/
|
||||
|
||||
|
||||
%files devel
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: pantheon-agent-polkit
|
||||
Summary: Pantheon Polkit Agent
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%{name}
|
||||
@@ -18,12 +18,10 @@ BuildRequires: vala >= 0.34.1
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
||||
BuildRequires: pkgconfig(granite) >= 6.0.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(polkit-agent-1)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(granite-7)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
|
||||
%description
|
||||
An agent for Polkit authorization designed for Pantheon.
|
||||
@@ -52,7 +50,7 @@ desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
||||
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%files -f %{appname}.lang
|
||||
@@ -64,7 +62,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_libexecdir}/policykit-1-pantheon/
|
||||
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "pantheon-tweaks.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
Name: pantheon-tweaks
|
||||
Version: 1.1.2
|
||||
Release: 1%{?dist}
|
||||
Summary: A system settings panel for the Pantheon desktop environment
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/pantheon-tweaks/pantheon-tweaks
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
BuildRequires: vala switchboard-devel pkgconfig(gee-0.8) pkgconfig(glib-2.0)
|
||||
BuildRequires: granite-devel >= 6.0.0 pkgconfig(gtk+-3.0) meson vala
|
||||
Requires: gtk3 granite
|
||||
|
||||
%description
|
||||
A system settings panel for the Pantheon Desktop that
|
||||
lets you easily and safely customise your desktop's appearance.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
/usr/lib64/switchboard/personal/libpantheon-tweaks.so
|
||||
%{_datadir}/icons/hicolor/32x32/categories/preferences-desktop-tweaks.svg
|
||||
%{_datadir}/locale/*/LC_MESSAGES/pantheon-tweaks-plug.mo
|
||||
%{_datadir}/metainfo/pantheon-tweaks.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 17 2023 windowsboy111 <windowsboy111@fyralabs.com> - 1.0.4-1
|
||||
- Initial package
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("pantheon-tweaks/pantheon-tweaks"));
|
||||
@@ -3,31 +3,38 @@
|
||||
%global srcname switchboard-plug-about
|
||||
|
||||
%global plug_type hardware
|
||||
%global plug_name system
|
||||
%global plug_rdnn io.elementary.settings.system
|
||||
%global plug_name about
|
||||
%global plug_rdnn io.elementary.switchboard.about
|
||||
|
||||
Name: switchboard-plug-about
|
||||
Summary: Switchboard System Information plug
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 6.2.0
|
||||
Release: 3%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-about
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://github.com/elementary/switchboard-plug-about/compare/6.2.0..72d7da13da2824812908276751fd3024db2dd0f8.patch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(appstream) >= 0.12.10
|
||||
BuildRequires: pkgconfig(fwupd)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.64.0
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libgtop-2.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
BuildRequires: pkgconfig(udisks2)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(packagekit-glib2)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(udisks2)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -50,25 +57,24 @@ This switchboard plug shows system information.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_rdnn}
|
||||
%find_lang %{plug_name}-plug
|
||||
|
||||
mv %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml{.in,}
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
|
||||
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+15
-10
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name applications
|
||||
%global plug_rdnn io.elementary.settings.%{plug_name}
|
||||
%global plug_rdnn io.elementary.switchboard.%{plug_name}
|
||||
|
||||
Name: switchboard-plug-applications
|
||||
Summary: Switchboard Applications plug
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-applications
|
||||
@@ -18,11 +18,16 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(flatpak)
|
||||
BuildRequires: pkgconfig(flatpak) >= 1.1.2
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.34
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -44,10 +49,10 @@ that allows the user to manage application settings.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
mv %buildroot%_datadir/metainfo/%plug_rdnn.metainfo.xml %buildroot%_datadir/metainfo/%plug_rdnn.metainfo.xml || true
|
||||
%find_lang %{plug_rdnn}
|
||||
mv %buildroot%_datadir/metainfo/%plug_rdnn.appdata.xml %buildroot%_datadir/metainfo/%plug_rdnn.metainfo.xml || true
|
||||
%find_lang %{plug_name}-plug
|
||||
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
@@ -56,11 +61,11 @@ appstream-util validate-relax --nonet \
|
||||
%{buildroot}%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/io.elementary.settings.applications.svg
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-bluetooth
|
||||
Summary: Switchboard Bluetooth plug
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 2.3.6
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-bluetooth
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type system
|
||||
%global plug_name datetime
|
||||
%global plug_rdnn io.elementary.settings.datetime
|
||||
%global plug_rdnn io.elementary.switchboard.datetime
|
||||
|
||||
Name: switchboard-plug-datetime
|
||||
Summary: Switchboard Date & Time Plug
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-datetime
|
||||
@@ -18,8 +18,11 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
@@ -41,24 +44,24 @@ Supplements: switchboard%{?_isa}
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_rdnn}
|
||||
%find_lang %{plug_name}-plug
|
||||
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
|
||||
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-display
|
||||
Summary: Switchboard Display plug
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-display
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type hardware
|
||||
%global plug_name keyboard
|
||||
%global plug_rdnn io.elementary.settings.keyboard
|
||||
%global plug_rdnn io.elementary.switchboard.keyboard
|
||||
|
||||
Name: switchboard-plug-keyboard
|
||||
Summary: Switchboard Keyboard plug
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
Version: 3.2.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-keyboard
|
||||
@@ -21,8 +21,14 @@ BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite) >= 6.0.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.19
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
BuildRequires: pkgconfig(libgnomekbd)
|
||||
BuildRequires: pkgconfig(libgnomekbdui)
|
||||
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(xkeyboard-config)
|
||||
|
||||
Requires: gala
|
||||
@@ -48,7 +54,7 @@ same time. Keyboard shortcuts are also part of this plug.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_rdnn}
|
||||
%find_lang %{plug_name}-plug
|
||||
|
||||
|
||||
%check
|
||||
@@ -56,12 +62,12 @@ appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
%{_datadir}/glib-2.0/schemas/%{plug_rdnn}.gschema.xml
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_datadir}/glib-2.0/schemas/keyboard.gschema.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user