%define debug_package %{nil} Name: kdb+ Version: 2.4 Release: 3%{?dist} Summary: kdb+ Developer Edition Group: Development/Languages License: Proprietary URL: http://kx.com/ Source0: http://kx.com/developers/software/linux.zip # links -dump http://kx.com/developers/software/noncomlicense.php > LICENSE Source1: LICENSE BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: i386 i486 i586 i686 x86_64 %description Kdb+, introduced in 2003, is the new generation of the kdb database. Like kdb, kdb+ is designed to capture, analyze, compare, and store data -- all at high speeds and on high volumes of data. But more than that, kdb+ was architected specifically to meet the emerging needs of leading-edge, real-time business. %prep %setup -q -n linux echo "QHOME=%{_datadir}/%{name}" > q.sh echo "export QHOME" >> q.sh echo "setenv QHOME %{_datadir}/%{name}" > q.csh install -D -p -m 0644 sp.q examples/sp.q install -D -p -m 0644 trade.q examples/trade.q install -m 644 %{SOURCE1} . %build %install rm -rf $RPM_BUILD_ROOT install -D -p -m 0755 ./l32/q %{buildroot}%{_bindir}/q install -D -p -m 0644 q.sh %{buildroot}%{_sysconfdir}/profile.d/q.sh install -D -p -m 0644 q.csh %{buildroot}%{_sysconfdir}/profile.d/q.csh install -D -p -m 0644 q.k %{buildroot}%{_datadir}/%{name}/q.k install -D -p -m 0644 s.k %{buildroot}%{_datadir}/%{name}/s.k %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE README.txt examples %{_sysconfdir}/profile.d/q.sh %{_sysconfdir}/profile.d/q.csh %{_bindir}/q %{_datadir}/%{name}/q.k %{_datadir}/%{name}/s.k %changelog * Fri Nov 7 2008 Peter Lemenkov 2.4-3 - Added profile files for bash and csh * Tue Oct 28 2008 Peter Lemenkov 2.4-2 - Added LICENSE * Fri Aug 22 2008 Peter Lemenkov 2.4-1 - Initial package