File skype-call-recorder.spec of Package skype-call-recorder

Summary:	A tool that allows you to record your Skype calls on Linux
Name:		skype-call-recorder
Version:	0.8
Release:	1
License:	GPL
Group:		Communications
Source: 	http://atdot.ch/scr/files/0.8/skype-call-recorder-0.8.tar.gz
Patch1:         adymo-add-missing-link-libraries.diff
URL:		http://atdot.ch/scr/index.html
BuildRequires:  cmake libqt4-devel libmp3lame-devel id3lib-devel libvorbis-devel update-desktop-files
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Skype Call Recorder is an open source tool that allows you to record your Skype calls on Linux. Current features include:

    * Record calls to MP3, Ogg Vorbis or WAV files
    * Automatic and manual recording
    * Configure automatic recording on per-caller basis
    * Split stereo recording
    * Completely free, unlimited and open source, released under the GNU GPL


%prep
%setup -q -n %{name}-%{version}
%patch1

%build
cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%{_prefix}
%{__make} %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file -r skype-call-recorder Network Telephony

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/skype-call-recorder
%{_datadir}/applications/skype-call-recorder.desktop
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/128x128
%dir %{_datadir}/icons/hicolor/128x128/apps
%{_datadir}/icons/hicolor/128x128/apps/skype-call-recorder.png

%changelog
openSUSE Build Service is sponsored by