2024-01-06 10:08:22 +01:00
|
|
|
%define MAJver %(echo %version | cut -d. -f 1)
|
2024-01-06 10:08:22 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
|
|
Name: pitivi
|
2024-01-06 10:08:22 +01:00
|
|
|
Version: 2021.05
|
2024-01-06 10:08:22 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A non-linear audio/video editor based on GStreamer
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:08:22 +01:00
|
|
|
URL: https://www.pitivi.org/
|
|
|
|
Source: https://download.gnome.org/sources/pitivi/%{MAJver}/pitivi-%{version}.tar.xz
|
2024-01-06 10:08:22 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcairo-devel
|
2024-01-06 10:08:22 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 10:08:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: python-gst
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: GConf-devel
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgtk-devel
|
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pygtk-devel
|
|
|
|
BuildRequires: python-gnome-devel
|
2024-01-06 10:08:22 +01:00
|
|
|
BuildRequires: libgst-transcoder-devel
|
2024-01-06 10:08:22 +01:00
|
|
|
Requires: python-gst
|
|
|
|
#Requires: libgnonlin
|
|
|
|
#Requires: libgstreamer
|
|
|
|
#Requires: python-goocanvas
|
|
|
|
#Requires: python-setuptools
|
|
|
|
#Requires: python-zopeinterface
|
|
|
|
|
|
|
|
%description
|
|
|
|
PiTiVi allows users to easily edit audio/video projects based on the GStreamer framework:
|
|
|
|
* Capture audio and video
|
|
|
|
* mix, resize, cut, apply effects to audio/video sources
|
|
|
|
* Render/Save the projects to any format supported by the GStreamer framework
|
|
|
|
* Much more...
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
%debug_package
|
2024-01-06 10:08:22 +01:00
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
%prep
|
2024-01-06 10:08:22 +01:00
|
|
|
%setup -q
|
|
|
|
#for f in `find . -name \*.py`; do
|
|
|
|
# sed -e '/^#!/,1d' < $f > $f.tmp && mv $f.tmp $f
|
|
|
|
#done
|
|
|
|
|
|
|
|
%build
|
2024-01-06 10:08:22 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 10:08:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 10:08:22 +01:00
|
|
|
export DESTDIR=%{buildroot}
|
|
|
|
%meson_install
|
2024-01-06 10:08:22 +01:00
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pitivi
|
2024-01-06 10:08:22 +01:00
|
|
|
%dir %{_libdir}/pitivi
|
|
|
|
%dir %{_libdir}/pitivi/python
|
|
|
|
%dir %{_libdir}/pitivi/python/pitivi
|
|
|
|
%{_libdir}/pitivi/python/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
%{_datadir}/metainfo/org.pitivi.Pitivi.appdata.xml
|
2024-01-06 10:08:22 +01:00
|
|
|
%{_datadir}/applications/org.pitivi.Pitivi.desktop
|
|
|
|
%{_datadir}/mime/packages/org.pitivi.Pitivi-mime.xml
|
2024-01-06 10:08:22 +01:00
|
|
|
%dir %{_datadir}/pitivi
|
|
|
|
%{_datadir}/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.pitivi.Pitivi.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/text-x-xges.svg
|
2024-01-06 10:08:22 +01:00
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.pitivi.Pitivi-symbolic.svg
|
2024-01-06 10:08:22 +01:00
|
|
|
%lang(C) %{_datadir}/help/C/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
%lang(ca) %{_datadir}/help/ca/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
%lang(cs) %{_datadir}/help/cs/pitivi/*
|
|
|
|
%lang(de) %{_datadir}/help/de/pitivi/*
|
|
|
|
%lang(el) %{_datadir}/help/el/pitivi/*
|
|
|
|
%lang(es) %{_datadir}/help/es/pitivi/*
|
|
|
|
%lang(fr) %{_datadir}/help/fr/pitivi/*
|
|
|
|
%lang(sl) %{_datadir}/help/sl/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
%lang(sv) %{_datadir}/help/sv/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
%lang(uk) %{_datadir}/help/uk/pitivi/*
|
2024-01-06 10:08:22 +01:00
|
|
|
#%{_datadir}/icons/hicolor/*/apps/pitivi.png
|
|
|
|
#%{_mandir}/man1/pitivi.1*
|
2024-01-06 10:08:22 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog NEWS
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:08:22 +01:00
|
|
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.05-1mamba
|
|
|
|
- update to 2021.05
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Mon Nov 30 2020 Automatic Build System <autodist@mambasoft.it> 2020.09.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Sun Oct 25 2020 Automatic Build System <autodist@mambasoft.it> 2020.09.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 2020.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Thu Apr 25 2019 Automatic Build System <autodist@mambasoft.it> 0.999-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Fri Jul 01 2016 Automatic Build System <autodist@mambasoft.it> 0.96-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 0.95-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Thu Nov 06 2014 Automatic Build System <autodist@mambasoft.it> 0.94-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:08:22 +01:00
|
|
|
* Fri May 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.93-1mamba
|
|
|
|
- update to 0.93
|
|
|
|
|
|
|
|
* Fri May 08 2009 gil <puntogil@libero.it> 0.10.3-1mamba
|
|
|
|
- package created by autospec
|