Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 72a5597ad56fe10d36425b478ec08ede > files > 6

italc-1.0.13-1.mga1.src.rpm

%define name italc
%define libname %mklibname italc
%define version 1.0.13
%define release %mkrel 1

Name:		%name
Version:	%version
Release:	%release
Summary:	Intelligent Teaching And Learning with Computers
License:	GPLv2+
Group:		Networking/Remote access
URL:		http://italc.sourceforge.net/
Source:		%{name}-%{version}.tar.bz2
Patch0:		italc-1.0.13-detect-qt-libdir.patch
Patch1:		italc-1.0.9-fix-setup-build.patch
Patch2:		italc-1.0.9-fix-zh_cn_filename.patch
Patch4:		italc-1.0.13-fix-str-fmt.patch
BuildRequires:	qt4-devel
BuildRequires:  zlib-devel
BuildRequires:  jpeg-devel
BuildRequires:  qt4-linguist
BuildRequires:  libxtst-devel
BuildRequires:  openssl-devel

%description
iTALC is a use- and powerful didactical tool for teachers. It lets you
view and control other computers in your network in several ways. It
supports Linux and Windows 2000/XP/Vista and it even can be used
transparently in mixed environments!

iTALC has been designed for usage in school. Therefore it offers a lot
of possibilities to teachers, such as
    * see what's going on in computer-labs by using overview mode and
      make snapshots
    * remote-control computers to support and help other people
    * show a demo (either in fullscreen or in a window) - the teacher's
      screen is shown on all student's computers in realtime
    * lock workstations for moving undivided attention to teacher
    * send text-messages to students
    * powering on/off and rebooting computers per remote
    * remote logon and logoff and remote execution of arbitrary
      commands/scripts
    * home-schooling - iTALC's network-technology is not restricted to
      a subnet and therefore students at home can join lessons via
      VPN-connections just by installing iTALC client

Furthermore iTALC is optimized for usage on multi-core systems (by
making heavy use of threads). No matter how many cores you have, iTALC
can make use of all of them. 

%package client
Summary:	ITALC client
Group:		Networking/Remote access

%description client
iTALC is a use- and powerful didactical tool for teachers. It lets you
view and control other computers in your network in several ways. It
supports Linux and Windows 2000/XP/Vista and it even can be used
transparently in mixed environments!

iTALC has been designed for usage in school. Therefore it offers a lot
of possibilities to teachers, such as
    * see what's going on in computer-labs by using overview mode and
      make snapshots
    * remote-control computers to support and help other people
    * show a demo (either in fullscreen or in a window) - the teacher's
      screen is shown on all student's computers in realtime
    * lock workstations for moving undivided attention to teacher
    * send text-messages to students
    * powering on/off and rebooting computers per remote
    * remote logon and logoff and remote execution of arbitrary
      commands/scripts
    * home-schooling - iTALC's network-technology is not restricted to
      a subnet and therefore students at home can join lessons via
      VPN-connections just by installing iTALC client

Furthermore iTALC is optimized for usage on multi-core systems (by
making heavy use of threads). No matter how many cores you have, iTALC
can make use of all of them.

This package is the client that is run on each client on the network.

%package master
Summary:	Intelligent Teaching And Learning with Computers
Group:		Networking/Remote access
Requires:	%{libname} = %{version}-%{release}
Requires:	%{name}-client = %{version}
Requires(post):	%{name}-client = %{version}

%description master
iTALC is a use- and powerful didactical tool for teachers. It lets you
view and control other computers in your network in several ways. It
supports Linux and Windows 2000/XP/Vista and it even can be used
transparently in mixed environments!

iTALC has been designed for usage in school. Therefore it offers a lot
of possibilities to teachers, such as
    * see what's going on in computer-labs by using overview mode and
      make snapshots
    * remote-control computers to support and help other people
    * show a demo (either in fullscreen or in a window) - the teacher's
      screen is shown on all student's computers in realtime
    * lock workstations for moving undivided attention to teacher
    * send text-messages to students
    * powering on/off and rebooting computers per remote
    * remote logon and logoff and remote execution of arbitrary
      commands/scripts
    * home-schooling - iTALC's network-technology is not restricted to
      a subnet and therefore students at home can join lessons via
      VPN-connections just by installing iTALC client

Furthermore iTALC is optimized for usage on multi-core systems (by
making heavy use of threads). No matter how many cores you have, iTALC
can make use of all of them.

%post master
if [ ! -d /etc/italc/keys ] ; then
	ica -role teacher -createkeypair ;
fi

%package -n %libname
Summary:	Library used by ITALC
Group:		Networking/Remote access

%description -n %libname
iTALC is a use- and powerful didactical tool for teachers. It lets you
view and control other computers in your network in several ways. It
supports Linux and Windows 2000/XP/Vista and it even can be used
transparently in mixed environments!

This is a library used by %{name}-master and %{name}-client.

%prep
%setup -q
%patch0 -p0
#%patch1 -p0
#%patch2 -p0 -b .zh
%patch4 -p0 -b .st4

#(
#mv lib/resources/zh.qm lib/resources/zh_cn.qm
#mv ima/resources/qt_zh_CN.qm ima/resources/qt_zh_cn.qm
#mv ima/resources/zh.qm ima/resources/zh_cn.qm
#mv ica/resources/zh.qm ica/resources/zh_cn.qm
#)

%build
%configure2_5x --with-qtdir=%{qt4dir} --disable-static
%make
%{__chmod} -x AUTHORS COPYING ChangeLog INSTALL README TODO

%install
rm -fr %buildroot
%makeinstall_std docdir=/tmp/doc
%{__rm} -Rf %{buildroot}/tmp/doc

%files client
%doc AUTHORS COPYING ChangeLog INSTALL README TODO
%{_bindir}/ica
%{_mandir}/man1/ica.1.*

%files master
%doc AUTHORS COPYING ChangeLog INSTALL README TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_datadir}/icons/%{name}.png
%{_datadir}/menu/%{name}
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/applications/%{name}.desktop

%files -n %libname
%doc AUTHORS COPYING ChangeLog INSTALL README TODO
%{_libdir}/%name




%changelog
* Sat May 14 2011 dmorgan <dmorgan> 1.0.13-1.mga1
+ Revision: 98418
- imported package italc


* Tue Apr 20 2010 Funda Wang <fwang@mandriva.org> 1.0.9-3mdv2010.1
+ Revision: 536984
- rebuild

* Sat Aug 22 2009 Funda Wang <fwang@mandriva.org> 1.0.9-2mdv2010.0
+ Revision: 419543
- fix str fmt
- fix build with gcc 4.4

* Mon Nov 03 2008 Funda Wang <fwang@mandriva.org> 1.0.9-2mdv2009.1
+ Revision: 299629
- add post requires
- more exact patch on translations
- generate keypair after installation
- fix zh_cn translation

* Wed Aug 06 2008 Funda Wang <fwang@mandriva.org> 1.0.9-1mdv2009.0
+ Revision: 264283
- New version 1.0.9
- fix qt4 detection
- fix setup subdir build

  + Thierry Vignaud <tv@mandriva.org>
    - rebuild

* Thu Feb 14 2008 Thierry Vignaud <tv@mandriva.org> 1.0.4-2mdv2008.1
+ Revision: 168504
- rebuild
- fix summary
- fix no-buildroot-tag

* Sat Dec 22 2007 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.0.4-1mdv2008.1
+ Revision: 137243
- Fix Build on x86_64
- Add openssl-devel as BuildRequire
- New version 1.0.4
  Remove patch0 : not needed anymore
  Do not export qt4 : already done by default
  Fix BuildRequires

  + Nicolas Vigier <nvigier@mandriva.com>
    - Import italc