Name: italc Version: 1.0.13 Release: 1%{?dist} Summary: Intelligent teaching and learning with computers Group: System Environment/Daemons License: GPLv2+ URL: http://italc.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 #both patches below fix wrong fsf address #https://sourceforge.net/tracker/?func=detail&aid=3343759&group_id=132465&atid=724375 Patch0: copying-fsf.patch Patch1: readme-fsf.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: qt4-devel BuildRequires: libXtst-devel BuildRequires: libjpeg-devel BuildRequires: zlib-devel BuildRequires: openssl-devel BuildRequires: desktop-file-utils Requires: xorg-x11-xinit %description iTALC is a useful and powerful didactic tool which lets you view and control computers in your labs and interact with students in a modern way. It supports Linux and Windows NT/2000/XP and it even can be used transparently in mixed environments. %prep %setup -q %patch0 -p0 -b copying-fsf %patch1 -p0 -b readme-fsf %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/ica %{_bindir}/italc %{_libdir}/italc/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/%{name}.png %{_datadir}/%{name}/ %{_mandir}/man1/ica.1* %{_mandir}/man1/%{name}.1* %{_datadir}/menu/%{name} %{_datadir}/pixmaps/%{name}.xpm %doc COPYING README AUTHORS ChangeLog %changelog * Tue Jun 28 2011 Nikos Roussos - 1.0.13-1 - Initial build