Name: fdesktoprecorder Version: 20121213 Release: %mkrel 5 License: GPLv2 Summary: A program to record the screen Url: http://kde-apps.org/content/show.php/FDesktopRecorder?content=147844&PHPSESSID=57d37aac96e72e09176982eea7020ac6 Group: Graphics/Utilities Source0: https://github.com/froksen/FDesktopRecorder/zipball/master/FDesktopRecorder-master.zip Source1: icon.png BuildRequires: qt4-devel BuildRequires: cmake BuildRequires: kdelibs4-devel BuildRequires: imagemagick Requires: ffmpeg Requires: xwininfo %description A program that can record a single window or your entire desktop using ffmpeq. Based on a script by Peter Lyberth from the danish GNU/Linux show "Kanal Tux" http://www.kanaltux.dk %prep %setup -q -n froksen-FDesktopRecorder-c71ef87 rm -rf 'RPM (buildservice)' rm -rf 'Desktop' rm -rf abandoned chmod 755 src %build %cmake_kde4 %make %install # icons install -d -m755 %{buildroot}{%{_miconsdir},%{_iconsdir},%{_liconsdir}} convert %{SOURCE1} -size 48x48 %{buildroot}%{_liconsdir}/%{name}.png convert %{SOURCE1} -size 32x32 %{buildroot}%{_iconsdir}/%{name}.png convert %{SOURCE1} -size 16x16 %{buildroot}%{_miconsdir}/%{name}.png mkdir -p %{buildroot}%{_datadir}/pixmaps install -p %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png #knotify install -d -m755 %{buildroot}%_kde_datadir/apps/%{name} install -p -m755 knotification/FDesktopRecorder.notifyrc %{buildroot}%_kde_datadir/apps/%{name} # biaries mkdir -p %{buildroot}%{_bindir} install -p -m 755 build/FDesktopRecorder %{buildroot}%{_bindir} # menu entry install -d -m 0755 %{buildroot}%{_datadir}/applications cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop [Desktop Entry] Type=Application Categories=AudioVideo; Name=FDesktopRecorder Comment=A program to record the screen Exec=FDesktopRecorder Icon=FDesktopRecorder StartupNotify=true Terminal=false EOF # lang %find_lang %{name} %files -f %{name}.lang %doc CHANGELOG README.md TODO %{_bindir}/FDesktopRecorder* %{_datadir}/applications/%{name}.desktop %{_liconsdir}/%{name}.png %{_iconsdir}/%{name}.png %{_miconsdir}/%{name}.png %{_datadir}/pixmaps/%{name}.png %_kde_datadir/apps/%{name}/FDesktopRecorder.notifyrc %changelog * Wed Oct 15 2014 umeabot <umeabot> 20121213-5.mga5 + Revision: 743334 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 20121213-3.mga4 + Revision: 504394 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 20121213-2.mga3 + Revision: 350080 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild + boklm <boklm> - Update group: Graphics/Other -> Graphics/Utilities * Sun Dec 16 2012 kamil <kamil> 20121213-1.mga3 + Revision: 331782 - update %%setup - new version 20121113 - add xwininfo as a requirement * Sun Dec 16 2012 kamil <kamil> 20121115-3.mga3 + Revision: 331772 - cleaning of the package * Sun Dec 16 2012 kamil <kamil> 20121115-2.mga3 + Revision: 331766 - update group -> Graphics/Other - adapt .spec for Mageia - rename to fdesktoprecorder - imported package FDesktopRecorder