pitivi/pitivi.spec

128 lines
3.9 KiB
RPMSpec

%define MAJver %(echo %version | cut -d. -f 1)
%define majver %(echo %version | cut -d. -f 1-2)
Name: pitivi
Version: 2023.03
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: libpython310-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 \
-Dpython=%{__python310}
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name} --with-gnome
%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
#%{_datadir}/icons/hicolor/*/apps/pitivi.png
#%{_mandir}/man1/pitivi.1*
%doc AUTHORS COPYING
#ChangeLog NEWS
%changelog
* Sat Apr 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2023.03-1mamba
- update to 2023.03
* Sat Jun 25 2022 Automatic Build System <autodist@mambasoft.it> 2022.06-1mamba
- automatic version update by autodist
* 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