RSS Git Download  Clone
Raw Blame History
Summary:	BEAM and Alpha Data TMS System
Name:		tms
Version:	2.1.0
Release:	1.beam.el7
Epoch:		1
License:	GPL
Group:		Applications
Source0:	tms.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
Requires:	glibc(x86-32) libgcc(x86-32) libstdc++(x86-32) nss-softokn-freebl(x86-32) pciutils-libs(x86-32)
#BuildRequires:	da8150 fftw-devel pciutils-devel qt3-devel
BuildRequires:	fftw-devel pciutils-devel qt3-devel

%description
The BEAM TMS System implements the trajectory measurement system for the
CERN Proton Synchrotron.

%files -n tms
/etc/profile.d/tms.sh


%package -n tms-clients
Summary:	The TMS client applications
Group:		Applications
Requires:	tms fftw qt3

%description -n tms-clients
The BEAM and Alpha Data TMS System implements the trajectory measurement system for the
CERN Proton Synchrotron. The TMS client applications are for test and control of the TMS system.

%files -n tms-clients
%defattr(-,root,root,-)
%attr(0755,root,root)
/usr/tms/bin/tmsControl
/usr/tms/bin/tmsControlGui
/usr/tms/bin/tmsSigGenGui
/usr/tms/bin/tmsSigGen
/usr/tms/bin/tmsStateGen
/usr/tms/bin/tmsTestData
/usr/share/icons/tmsControlGui.png
/usr/share/icons/tmsSigGen.png
/usr/share/applications/tmsSigGen.desktop
/usr/share/applications/tmsControlGui.desktop


%package -n tms-server
Summary:	The TMS server applications
Group:		Applications
Requires:	tms tms-clients tms-fpga dhcp tftp-server telnet

%description -n tms-server
The BEAM and Alpha Data TMS System implements the trajectory measurement system for the
CERN Proton Synchrotron. The TMS server applications are the main operational system.

%files -n tms-server
%defattr(-,root,root,-)
%attr(0755,root,root)
/usr/tms/config
%attr(0755,root,root) /usr/tms/config/tmsInit
%attr(0755,root,root) /usr/tms/config/tmsSetup
%attr(0755,root,root) /usr/tms/config/tmsSetupModuleController
/usr/tms/bin/boapns
/usr/tms/bin/boapnsc
/usr/tms/bin/tmsPuServer
/usr/tms/bin/tmsServer
/usr/tms/bin/tmsWeb
/usr/tms/bin/tmsRestart
/usr/tms/bin/tmsBackup
/usr/tms/bin/tmsWatchdog
/usr/tms/stateTables
/usr/tms/data
/usr/tms/html
%config /etc/tmsPuServer.conf
%config /etc/tmsServer1.conf
%config /etc/tmsWeb.conf
/usr/lib/systemd/system/boapns-tms.service
/usr/lib/systemd/system/tmsServer@.service
/usr/lib/systemd/system/tmsWeb.service

%post -n tms-server
/usr/tms/config/tmsInit
systemctl daemon-reload

%package -n tms-devel
Summary:	The TMS development and examples
Group:		Applications
Requires:	tms

%description -n tms-devel
The BEAM and Alpha Data TMS System implements the trajectory measurement system for the
CERN Proton Synchrotron. The TMS devl packge provides development libraries and examples for the TMS system.

%files -n tms-devel
%defattr(-,root,root,-)
%attr(0755,root,root)
/usr/tms/Makefile
/usr/tms/Makefile.config
/usr/tms/include
/usr/tms/lib
/usr/tms/bin/bidl
/usr/tms/tmsExamples


%prep
%setup -q -n tms

%build
make DEST_DIR=%{buildroot} PREFIX=/usr/tms all

%install
make DEST_DIR=%{buildroot} PREFIX=/usr/tms install

%clean
rm -rf $RPM_BUILD_ROOT


%changelog
* Thu Feb 22 2007 BEAM Ltd
- Initial RPM release.