Skip to content

Commit

Permalink
RPM file shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
arran4 committed Jun 15, 2024
1 parent 4930fe0 commit 447e175
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cmakeVersion: '3.28'

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y dpkg-dev rpm libvlc-dev vlc libvlccore-dev ruby ruby-dev rubygems build-essential
run: sudo apt-get update && sudo apt-get install -y dpkg-dev rpm libvlc-dev vlc libvlccore-dev build-essential

- name: Build project
run: |
Expand All @@ -42,10 +42,10 @@ jobs:
- name: Setup RPM package
run: |
gem install fpm
mkdir -p build/rpm/usr/lib/x86_64-linux-gnu/vlc/plugins/misc
cp lib/libxattrplaying_plugin.so build/rpm/usr/lib/x86_64-linux-gnu/vlc/plugins/misc/
fpm -s dir -t rpm -n xattrplaying_plugin -v ${GITHUB_REF#refs/tags/} --prefix /usr build/rpm
mkdir -p build/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
cp spec/libxattrplaying_plugin.spec build/rpm/SPECS/
cp lib/libxattrplaying_plugin.so build/rpm/BUILD/
rpmbuild --define "_topdir $(pwd)/build/rpm" -bb build/rpm/SPECS/libxattrplaying_plugin.spec
- name: Create Release
id: create_release
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Package: libxattrplaying-plugin
Architecture: any
Depends: vlc
Description: A plugin for VLC which adds the xattr tag 'seen' to the `user.xdg.tags` list anytime you watch a video
Version: 0.1.5
Version: 0.1.6
4 changes: 2 additions & 2 deletions spec/libxattrplaying_plugin.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: libxattrplaying_plugin
Version: 1.0
Version: 0.1.6
Release: 1%{?dist}
Summary: A plugin for VLC which adds the xattr tag 'seen' to the `user.xdg.tags` list anytime you watch a video

Expand All @@ -21,7 +21,7 @@ make

%install
mkdir -p %{buildroot}/usr/lib64/vlc/plugins/misc/
cp lib/libxattrplaying_plugin.so %{buildroot}/usr/lib64/vlc/plugins/misc/
cp libxattrplaying_plugin.so %{buildroot}/usr/lib64/vlc/plugins/misc/

%files
/usr/lib64/vlc/plugins/misc/libxattrplaying_plugin.so
Expand Down

0 comments on commit 447e175

Please # to comment.