kamoso/kamoso.spec

127 lines
4.2 KiB
RPMSpec

%define majversion %(echo %version | cut -d. -f 1-2)
Name: kamoso
Version: 18.12.0
Release: 1mamba
Summary: An application to take pictures and videos out of your webcam
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kde-apps.org/content/show.php/Kamoso?content=111750
Source: https://download.kde.org/stable/applications/%{version}/src/kamoso-%{version}.tar.xz
Patch0: kamoso-2.0.2-libkipi-4.9.1.patch
Patch1: kamoso-2.0.2-libkipi-4.10.0-0.patch
Patch2: kamoso-2.0.2-libkipi-4.10.0.patch
Patch3: kamoso-2.0.2-libqt-gstreamer-1.2.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5GStreamer-devel
BuildRequires: libgcc
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdeclarative-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkpackage-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libpurpose-devel
Requires: purpose
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
Kamoso is an application to take pictures and videos out of your webcam.
It also lets you to push the media to some web 2.0 services such as facebook and youtube.
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}
rm -f %{buildroot}%{_kde5_icondir}/hicolor/*/actions/youtube.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde5_bindir}/kamoso
%{_datadir}/metainfo/org.kde.kamoso.appdata.xml
%{_libdir}/gstreamer-1.0/gstkamosoqt5videosink.so
%{_datadir}/applications/org.kde.kamoso.desktop
%{_datadir}/doc/HTML/*/kamoso/*
%{_datadir}/icons/hicolor/scalable/actions/*
%{_kde5_icondir}/hicolor/*/apps/kamoso.png
%{_kde5_icondir}/hicolor/scalable/apps/kamoso.svgz
%doc AUTHORS COPYING
%changelog
* Fri Dec 14 2018 Automatic Build System <autodist@mambasoft.it> 18.12.0-1mamba
- automatic version update by autodist
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 18.08.3-1mamba
- automatic version update by autodist
* Thu Oct 11 2018 Automatic Build System <autodist@mambasoft.it> 18.08.2-1mamba
- automatic version update by autodist
* Thu Sep 06 2018 Automatic Build System <autodist@mambasoft.it> 18.08.1-1mamba
- automatic version update by autodist
* Sat Aug 18 2018 Automatic Build System <autodist@mambasoft.it> 18.08.0-1mamba
- automatic version update by autodist
* Fri Jul 13 2018 Automatic Build System <autodist@mambasoft.it> 18.04.3-1mamba
- automatic version update by autodist
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 18.04.2-1mamba
- automatic version update by autodist
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Sun Apr 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 18.04.0-1mamba
- update to 18.04.0
* Sun Jun 25 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.2.4-1mamba
- update to 3.2.4
* Sat Jul 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
- update to 3.2
* Mon Oct 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-6mamba
- rebuilt with libqt-gstreamer 1.2.0
* Wed Aug 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-5mamba
- rebuilt with libkipi 4.11
* Mon Feb 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-4mamba
- rebuilt with libkipi 4.10.0 (added upstream patch from git)
* Thu Oct 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-3mamba
- remove icon conflicting with kdeplasma-addons >= 4.9.2
* Wed Sep 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-2mamba
- rebuild with libkipi 4.9
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
- package created by autospec