Adds rpm specs to migration repo
This commit is contained in:
1 parent
acee7b8766
commit
7f035543e2
145 files changed
+13982
No files matched your search
+117
@@ -0,0 +1,117 @@
|
||||
# $Id$
|
||||
# $HeadURL$
|
||||
#
|
||||
# Von Hand auszufuellen - Version und Release anpassen!
|
||||
# tar cvzf /home/chehrlic/rpmbuild/SOURCES/ctc_rti-6.0.1.tar.gz rti_connext_dds-6.0.1/
|
||||
# rpmbuild -bb ctc_rti-6.0.1-1.spec
|
||||
#
|
||||
%define real_name rti_connext_dds-6.0.1
|
||||
%define ndds_name rti_connext_dds-6.0.1
|
||||
|
||||
Summary: RTI 6.0.1 (DDS) runtime libraries
|
||||
Name: ctc_rti
|
||||
Version: 6.0.1
|
||||
Release: 1
|
||||
License: proprietary
|
||||
Group: Applications/Communications
|
||||
Source: ctc_rti-%{version}.tar.gz
|
||||
Prefix: /
|
||||
Vendor: Real-Time Innovations
|
||||
URL: http://www.life-maps.com
|
||||
Packager: ctc
|
||||
Provides: ctc_rti
|
||||
AutoReqProv: no
|
||||
|
||||
%description
|
||||
Runtime libraries for DDS infrastructure
|
||||
|
||||
%package devel
|
||||
Summary: RTI 6.0.1 (DDS) runtime libraries (development files)
|
||||
Provides: ctc_rti-devel
|
||||
License: -
|
||||
Group: Development/Libraries
|
||||
|
||||
%description devel
|
||||
Development headers for DDS
|
||||
|
||||
%changelog
|
||||
#* date +"%a %b %d %Y" text
|
||||
* Mon Dec 16 2019 CE
|
||||
- update to 6.0.1
|
||||
* Fri Apr 06 2018 CE
|
||||
- update to 5.3.1
|
||||
* Thu Aug 10 2017 CE
|
||||
- update to 5.3.0
|
||||
* Mon Oct 31 2016 CE
|
||||
- update to 5.2.3 Patch 6
|
||||
* Tue May 10 2016 CE
|
||||
- update to 5.2.3
|
||||
* Tue Jul 21 2015 CE
|
||||
- update to 5.2.0
|
||||
* Wed May 6 2015 CE
|
||||
- initial
|
||||
|
||||
%prep
|
||||
%setup -q -n %{real_name}
|
||||
echo "prep done"
|
||||
|
||||
%build
|
||||
echo "nothing to build"
|
||||
# nothing to do here
|
||||
|
||||
%install
|
||||
mkdir -p "$RPM_BUILD_ROOT/opt/"
|
||||
cp -r "%{_builddir}/%{buildsubdir}/" "$RPM_BUILD_ROOT/opt/"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/opt/%{real_name}/rtilauncher.desktop
|
||||
/opt/%{real_name}/RTI_License_Agreement.pdf
|
||||
/opt/%{real_name}/rti_versions.xml
|
||||
/opt/%{ndds_name}/bin/
|
||||
/opt/%{ndds_name}/lib/
|
||||
/opt/%{ndds_name}/README.html
|
||||
/opt/%{ndds_name}/resource/
|
||||
/opt/%{ndds_name}/uninstall/
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%exclude /opt/%{ndds_name}/lib/x64Linux4gcc7.3.0/*.a
|
||||
%exclude /opt/%{ndds_name}/lib/x64Linux3gcc4.8.2
|
||||
%else
|
||||
%exclude /opt/%{ndds_name}/lib/x64Linux4gcc7.3.0
|
||||
%exclude /opt/%{ndds_name}/lib/x64Linux3gcc4.8.2/*.a
|
||||
%endif
|
||||
%exclude /opt/%{ndds_name}/rti_license.dat
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/opt/%{ndds_name}/doc/
|
||||
/opt/%{ndds_name}/include/
|
||||
%if 0%{?suse_version} >= 1500
|
||||
/opt/%{ndds_name}/lib/x64Linux4gcc7.3.0/*.a
|
||||
%else
|
||||
/opt/%{ndds_name}/lib/x64Linux3gcc4.8.2/*.a
|
||||
%endif
|
||||
|
||||
%pre
|
||||
%post
|
||||
if [ -e /opt/RTI ]; then
|
||||
rm /opt/RTI
|
||||
fi
|
||||
ln -sf /opt/%{real_name} /opt/RTI
|
||||
%if 0%{?suse_version} >= 1500
|
||||
echo "/opt/RTI/lib/x64Linux4gcc7.3.0/" > /etc/ld.so.conf.d/rti.conf
|
||||
%else
|
||||
echo "/opt/RTI/lib/x64Linux3gcc4.8.2/" > /etc/ld.so.conf.d/rti.conf
|
||||
%endif
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
if [ -e /opt/RTI ]; then
|
||||
rm /opt/RTI
|
||||
fi
|
||||
rm /etc/ld.so.conf.d/rti.conf
|
||||
fi
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
Reference in new issue
Block a user