pitivi/pitivi.spec

131 lines
4.1 KiB
RPMSpec

%define MAJver %(echo %version | cut -d. -f 1)
%define majver %(echo %version | cut -d. -f 1-2)
Name: pitivi
Version: 2021.05
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>
URL: https://www.pitivi.org/
Source: https://download.gnome.org/sources/pitivi/%{MAJver}/pitivi-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgstreamer-devel
BuildRequires: libpython3-devel
## 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
BuildRequires: libgst-transcoder-devel
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...
%debug_package
%prep
%setup -q
#for f in `find . -name \*.py`; do
# sed -e '/^#!/,1d' < $f > $f.tmp && mv $f.tmp $f
#done
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/pitivi
%dir %{_libdir}/pitivi
%dir %{_libdir}/pitivi/python
%dir %{_libdir}/pitivi/python/pitivi
%{_libdir}/pitivi/python/pitivi/*
%{_datadir}/metainfo/org.pitivi.Pitivi.appdata.xml
%{_datadir}/applications/org.pitivi.Pitivi.desktop
%{_datadir}/mime/packages/org.pitivi.Pitivi-mime.xml
%dir %{_datadir}/pitivi
%{_datadir}/pitivi/*
%{_datadir}/icons/hicolor/scalable/apps/org.pitivi.Pitivi.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/text-x-xges.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.pitivi.Pitivi-symbolic.svg
%lang(C) %{_datadir}/help/C/pitivi/*
%lang(ca) %{_datadir}/help/ca/pitivi/*
%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/*
%lang(sv) %{_datadir}/help/sv/pitivi/*
%lang(uk) %{_datadir}/help/uk/pitivi/*
#%{_datadir}/icons/hicolor/*/apps/pitivi.png
#%{_mandir}/man1/pitivi.1*
%doc AUTHORS COPYING
#ChangeLog NEWS
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.05-1mamba
- update to 2021.05
* Mon Nov 30 2020 Automatic Build System <autodist@mambasoft.it> 2020.09.2-1mamba
- automatic version update by autodist
* Sun Oct 25 2020 Automatic Build System <autodist@mambasoft.it> 2020.09.1-1mamba
- automatic version update by autodist
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 2020.09-1mamba
- automatic version update by autodist
* Thu Apr 25 2019 Automatic Build System <autodist@mambasoft.it> 0.999-1mamba
- automatic version update by autodist
* Fri Jul 01 2016 Automatic Build System <autodist@mambasoft.it> 0.96-1mamba
- automatic version update by autodist
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 0.95-1mamba
- automatic version update by autodist
* Thu Nov 06 2014 Automatic Build System <autodist@mambasoft.it> 0.94-1mamba
- automatic version update by autodist
* 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