61 lines
1.4 KiB
RPMSpec
Executable File
61 lines
1.4 KiB
RPMSpec
Executable File
# $Id$
|
|
# $HeadURL$
|
|
#
|
|
# installieren laut wiki und make.py
|
|
# dst_dir=/usr/src/packages/BUILDROOT/ctc_ngs_tes_uae_apache-4.3-2.x86_64/opt/NGS (opensuse < 12)
|
|
# dst_dir=${HOME}/rpmbuild/BUILDROOT/ctc_ngs_tes_uae_apache-4.3-2.x86_64/opt/NGS (opensuse >= 12.x)
|
|
# mkdir -p $dst_dir
|
|
# cp -r /opt/NGS/* $dst_dir
|
|
# rpmbuild -bb ctc_ngs_tes_uae_apache.spec
|
|
#
|
|
Summary: CTC Office Integration
|
|
Name: ctc_libre_office_integration
|
|
#Version: @VERSION@
|
|
#Release: @RELEASE@
|
|
Version: 1
|
|
Release: 10
|
|
License: proprietary
|
|
Group: Applications/Communications
|
|
Prefix: /
|
|
Vendor: Rheinmetall Electronics GmbH
|
|
URL: http://www.rheinmetall-electronics.de
|
|
Packager: ctc
|
|
Provides: ctc_libre_office_integration
|
|
AutoReqProv: no
|
|
Requires: java-1_8_0-openjdk
|
|
Requires: libreoffice-base
|
|
Requires: libreoffice-calc
|
|
Requires: libreoffice-impress
|
|
Requires: libreoffice-writer
|
|
|
|
|
|
%description
|
|
CTC Libre Office Integration
|
|
|
|
%changelog
|
|
#* date +"%a %b %d %Y" text
|
|
* Mon Aug 23 2021 PK
|
|
- fixed missing shortcut actions
|
|
* Wed Feb 19 2020 PK
|
|
- update requirements and add unopkg actions
|
|
* Mon Feb 17 2020 PK
|
|
- initial
|
|
|
|
%files
|
|
%defattr(-,ctc,ctc)
|
|
"%{prefix}//opt/libreOfficeAddin/"
|
|
|
|
%pre
|
|
%post
|
|
# add plugin
|
|
unopkg add --force --shared %{prefix}//opt/libreOfficeAddin/RmeOfficeInt.oxt
|
|
|
|
|
|
%preun
|
|
# nur im uninstall-Fall
|
|
if [ $1 -eq 0 ]; then
|
|
unopkg remove --force --shared %{prefix}//opt/libreOfficeAddin/RmeOfficeInt.oxt
|
|
# rm -f $RPM_INSTALL_PREFIX//opt/libreOfficeAddin/
|
|
fi
|
|
%postun
|