Skip to content

Commit

Permalink
tito fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ozmartian committed Mar 11, 2017
1 parent b83bbdd commit 3b1edae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
1 change: 1 addition & 0 deletions .tito/packages/vidcutter
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.1-2 _packaging/fedora/
22 changes: 5 additions & 17 deletions _packaging/fedora/vidcutter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,29 @@
Name: %{pkg_name}
Version: 3.0.1
Release: 2%{?dist}
Summary: the simple & fast video cutter & joiner with the help of mpv + FFmpeg
Summary: the simple & fast video cutter & joiner with the help of mpv + FFmpeg

License: GPLv3+
URL: http://vidcutter.ozmartians.com
Source0: https://github.com/ozmartian/%{pkg_name}/archive/%{version}.tar.gz
BuildArch: noarch

BuildRequires: python3-devel, python3-setuptools
Requires: python3-qt5, mpv-libs, mediainfo, ffmpeg
Requires: python3-qt5, mpv-libs or libmpv1, mediainfo, ffmpeg

%description
The simplest & sexiest tool for cutting and joining your videos without the need for
re-encoding or a diploma in multimedia. VidCutter focuses on getting the job done
using tried and true tech in its arsenal via mpv and FFmpeg.

NOTE:
You will need to enable RPMFusion's free repository before installing this package.

Dependency list:

- python3-qt5 (Fedora)
- python3-setuptools (Fedora)
- mpv-libs (RPMFusion)
- ffmpeg (RPMFusion)
- mediainfo (RPMFusion)

%prep
%autosetup -n %{pkg_name}-%{version}

# Remove bundled egg-info
rm -rf %{pkg_name}.egg-info

# Change packager to prevent PyPi package installation so that we use
# Fedora RPMs as dependencies instead
# distribution packages instead
sed -i "s/pypi/rpm/" vidcutter/__init__.py

%build
Expand All @@ -46,7 +35,6 @@ sed -i "s/pypi/rpm/" vidcutter/__init__.py
%install
%py3_install


%files -n %{pkg_name}
%license vidcutter/LICENSE.html LICENSE
%doc README.md
Expand All @@ -65,11 +53,11 @@ sed -i "s/pypi/rpm/" vidcutter/__init__.py
%{_datadir}/icons/hicolor/scalable/apps/vidcutter.svg
%{_datadir}/pixmaps/vidcutter.svg


%changelog
* Sun Mar 05 2017 Pete Alexandrou <pete@ozmartians.com> - 3.0.1-2
- mageia + epel repos included
* Sun Mar 05 2017 Pete Alexandrou <pete@ozmartians.com> - 3.0.1-1
- version bump
* Sun Mar 05 2017 Pete Alexandrou <pete@ozmartians.com> - 3.0.0-1
- Initial packaging.
- Initial packaging

0 comments on commit 3b1edae

Please sign in to comment.