## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global forgeurl https://github.com/45Drives/cockpit-file-sharing/ Version: 2.4.5 %forgemeta Name: cockpit-file-sharing Release: %autorelease Summary: Cockpit user interface for managing SMB and NFS file sharing. License: GPLv3+ URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch BuildRequires: make Requires: cockpit-ws Requires: python3 Recommends: nfs-utils Recommends: samba Provides: bundled(patternfly) = 3 # Strip out the 45Drives branding since this isn't part of their product Patch0001: 0001-Fedora-remove-branding.patch %description A Cockpit component for managing SMB exports and NFS shares. This package uses Samba and nfs-utils. %prep %forgeautosetup -p1 %build # no build required %install %make_install %files %license LICENSE %doc README.md %doc CHANGELOG.md %{_datadir}/cockpit/file-sharing/ %changelog * Mon Aug 15 2022 Stephen Gallagher 2.4.5-2 - Add package.cfg * Mon Aug 15 2022 Stephen Gallagher 2.4.5-1 - Update to 2.4.5 * Wed Jul 20 2022 Fedora Release Engineering 2.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering 2.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 11 2022 Stephen Gallagher 2.4.1-5 - Update README.md * Tue Jan 11 2022 Stephen Gallagher 2.4.1-4 - RPMAUTOSPEC: unresolvable merge