diff --git a/.gitignore b/.gitignore index 8dca41c..1db1660 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/showtime-5579430fdc337d460589a2c404a4a070c906e8e1.tar.gz -/showtime-47.0.tar.gz +/showtime-*.tar.xz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..2ca5fc2 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,40 @@ +# Minimal Packit Configuration for GNOME Packages +# Copy this to your dist-git repository as .packit.yaml +# +# Prerequisites: +# - Package is monitored by release-monitoring.org +# - Monitoring status set to "Monitoring" in dist-git + +jobs: + # Automated updates for stable branches + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-stable + + # ======================================================================== + # VERSIONING: Choose ONE option based on your package's versioning scheme + # ======================================================================== + + # OPTION A: Major version only - allows minor and patch updates + # For 2-digit: 50.0 -> 50.1 ✅, 50.x -> 51.0 ❌ + # For 3-digit: 1.2.3 -> 1.3.0 ✅, 1.x.x -> 2.0.0 ❌ + # Use for: GNOME apps/libs with 2-digit versions, or libraries following semver + version_update_mask: '^\d+\.' + + # OPTION B: Major.minor version - patch updates only + # Examples: 1.2.3 -> 1.2.4 ✅, 1.2.x -> 1.3.0 ❌ + # Use for: Libraries with ABI concerns, even/odd development scheme + # version_update_mask: '^\d+\.\d+\.' + + # Build in Koji after merge + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-stable + + # Submit Bodhi update + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-stable diff --git a/monitoring.toml b/monitoring.toml new file mode 100644 index 0000000..0ad7b11 --- /dev/null +++ b/monitoring.toml @@ -0,0 +1,13 @@ +# Enable/disable monitoring +monitoring = true +# Enable/disable filling bugzilla ticket for new release +# When disabled it will also disable scratch builds +bugzilla = false +# Enable/disable reporting only stable versions +# Stable versions are recognized based on release-monitoring.org project settings +stable_only = true +# Enable/disable reporting all new versions instead of the latest one +# Enabling this will disable scratch builds +all_versions = true +# Enable/disable scratch build for newly opened version +scratch_build = false diff --git a/showtime.spec b/showtime.spec index 59145e9..9041dbe 100644 --- a/showtime.spec +++ b/showtime.spec @@ -1,28 +1,27 @@ -%global debug_package %{nil} - %global glib2_version 2.79.0 -%global gtk4_version 4.14.0 +%global gtk4_version 4.15.0 %global libadwaita_version 1.6~beta +%global blueprint_compiler_version 0.18 Name: showtime -Version: 47.0 +Version: 50.0 -Release: 1%{?dist} +Release: %autorelease Summary: Modern video player built using GTK4 License: GPL-3.0-or-later URL: https://apps.gnome.org/Showtime/ +Source0: https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz -%global tarball_version %%(echo %{version} | tr '~' '.') -%global major_version %%(cut -d "." -f 1 <<<%{tarball_version}) +%gnome_check_version -Source0: https://gitlab.gnome.org/GNOME/Incubator/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gettext BuildRequires: meson -BuildRequires: blueprint-compiler +BuildRequires: blueprint-compiler >= %{blueprint_compiler_version} BuildRequires: python3-devel BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gnome-desktop-4) @@ -31,11 +30,17 @@ BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} BuildRequires: desktop-file-utils BuildRequires: libappstream-glib -Requires: gtk4%{_isa} >= %{gtk4_version} -Requires: libadwaita%{_isa} >= %{libadwaita_version} -Requires: python3%{_isa} +Requires: gtk4 >= %{gtk4_version} +Requires: libadwaita >= %{libadwaita_version} +Requires: python3 Requires: hicolor-icon-theme +Requires: gstreamer1-plugins-base Requires: gstreamer1-plugin-gtk4 +Requires: (gstreamer1-plugin-openh264 if openh264) + +Recommends: gstreamer1-plugins-good +Recommends: gstreamer1-plugins-bad-free +Recommends: gstreamer1-plugins-ugly-free %description Play your favorite movies and video files without hassle. Showtime @@ -45,7 +50,7 @@ language and subtitle tracks, and screenshots — everything you need for a straightforward viewing experience. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{gnome_tarball_version} %build %meson @@ -65,6 +70,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %{python3_sitelib}/showtime/ %{_bindir}/showtime %{_datadir}/applications/org.gnome.Showtime.desktop +%{_datadir}/dbus-1/services/org.gnome.Showtime.service %{_datadir}/glib-2.0/schemas/org.gnome.Showtime.gschema.xml %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Showtime.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Showtime-symbolic.svg @@ -72,5 +78,4 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %{_datadir}/showtime/ %changelog -* Wed Dec 18 2024 Steve Cossette - 47.0-1 -- Initial release +%autochangelog diff --git a/sources b/sources index 6411ae6..5b46048 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (showtime-47.0.tar.gz) = 7768e1ec70a30484827cbfe9bbdb036fd97092a5bf9503b0734faefdff0e946af09eb1383a03b32f8895cd1953653def1e6290a2c7bb4425f984c67990be1767 +SHA512 (showtime-50.0.tar.xz) = d532bc97d33aff9fb691349d28214fa58d5e2f20a991653e175da6035e3c662b10ee2076916cd55c3a4c51dafaaea9a85202ed27a70e46e8f66551801cabf652