pitivi/pitivi.spec

101 lines
2.9 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
Name: pitivi
Version: 0.96
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: http://www.pitivi.org
Source: http://ftp.gnome.org/pub/GNOME/sources/pitivi/%{majver}/pitivi-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-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
Requires: python-gst
#Requires: libgnonlin
#Requires: libgstreamer
#Requires: python-goocanvas
#Requires: python-setuptools
#Requires: python-zopeinterface
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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...
%prep
%setup -q
#for f in `find . -name \*.py`; do
# sed -e '/^#!/,1d' < $f > $f.tmp && mv $f.tmp $f
#done
%build
%configure --libdir=%{_datadir}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/pitivi
%{_datadir}/applications/pitivi.desktop
%{_datadir}/appdata/pitivi.appdata.xml
%{_datadir}/mime/packages/pitivi.xml
%dir %{_datadir}/pitivi
%{_datadir}/pitivi/*
%lang(C) %{_datadir}/help/C/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
* 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