Summary: A whiteboard tool built on top of TGIF: TGWB (Tangram Whiteboard) Name: tgwb Version: 4.2.2 Release: 5%{?dist} License: GPL QPL Group: Applications/Multimedia Source: ftp://bourbon.usc.edu/pub/tgif/tgif-%{version}.tar.gz URL: http://bourbon.usc.edu:8001/tgif/ BuildRequires: libXmu-devel libX11-devel imake BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} Requires: tgif = %{version} %description The tgwb allows simultaneous modifications in drawings by users in a group. It is a versatile multicast distributed tool. TGWB is a module of the Tangram2, developed at LAND (http://www.land.ufrj.br). %prep %setup -q -n tgif-%{version} %build # turn tabs into spaces expand Tgif.tmpl > /tmp/Tgif.tmpl mv /tmp/Tgif.tmpl Tgif.tmpl # fix installation directories sed -i -e 's,XCOMM BINDIR = /u/halfmoon/bin, BINDIR = %{_bindir},g' Tgif.tmpl sed -i -e 's,XCOMM MANPATH = /u/halfmoon/man, MANPATH = %{_mandir},g' Tgif.tmpl sed -i -e 's,XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif, TGIFDIR = %{_datadir}/%{name},g' Tgif.tmpl xmkmf make make install DESTDIR=%{buildroot} #./rmcast/tgif/tgif_tgwb.sh $RPM_BUILD_DIR/tgif-%{version} pushd rmcast ./configure make make install DESTDIR=%{buildroot} popd %install rm -rf %{buildroot} make install-tgwb DESTDIR=%{buildroot} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/pixmaps mkdir -p %{buildroot}%{_datadir}/%{name} #install -s tgwb-bin %{buildroot}%{_bindir}/tgwb-bin #install -c -m 0444 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Copyright HISTORY %exclude %{_datadir}/%{name} %{_bindir}/tgif %{_bindir}/%{name} %{_bindir}/mcastproxy #{_mandir}/man1/%{name}.1.gz %changelog * Wed Mar 03 2010 Paulo Roma 4.2.2-5 - Updated to 4.2.2 * Mon Apr 30 2007 Paulo Roma 4.1.45-5 - Fixed installation directories without patches. - Added BRs. * Thu Apr 05 2007 Paulo Roma 4.1.45-4 - Moved /usr/lib to /usr/lib64 for x86_64 * Fri Feb 16 2007 Paulo Roma 4.1.45-3 - Rebuilt for Fedora 6 - Rewriten spec file. * Sun Jun 19 2006 Paulo Roma 4.1.45-2 - Build tgwb. * Sun Jun 18 2006 Paulo Roma 4.1.45-1 - Update to 4.1.45. * Fri Jan 20 2006 Paulo Roma 4.1.44-1 - Fedora 4 build of tgif. - tgif.desktop and icon.