Commit 619d4bff authored by Claes's avatar Claes Committed by Esteban Blanc

Build for opensuse

parent 1cf27b3c
#!/bin/bash
aroot="/usr/pwrp/adm"
hw="suse"
# Get version
if [ -e $pwr_inc/pwr_version.h ]; then
......@@ -196,5 +197,5 @@ echo "-- Building package"
--define "pwre_target $pwre_target" \
--buildroot $pkgroot $pkgsrc/pwr.spec > /dev/null 2>&1
mv $pkgroot/rpm/RPMS/i386/*.rpm $pwre_broot/$pwre_target/bld/pkg/.
mv $pkgroot/rpm/RPMS/x86_64/*.rpm $pwre_broot/$pwre_target/bld/pkg/.
rm -r $pkgroot
......@@ -7,16 +7,16 @@
# See www.rpm.org.
#
Name: pwr46
Name: pwr57
Summary: Proview/R development and runtime environment
Version: 4.6.1
Version: 5.7.2
Release: 1
License: GPL
BuildArch: i386
BuildArch: x86_64
Packager: claes.sjofors@proview.se
Requires: gcc, gcc-c++, xorg-x11-fonts, xterm
Group: Development/Tools/Other
Url: http://www.proview.se
URL: http://www.proview.se
%description
For more information please see www.proview.se.
......@@ -77,7 +77,7 @@ co_convert -t -d %{buildroot}/usr/pwr%{ver}/%{pwre_target}/exp/doc %{buildroot}/
echo "</head></html>"
} > %{buildroot}/usr/pwr%{ver}/%{pwre_target}/exp/doc/en_us/package_version.html
#%clean
%clean
%files
%defattr(-,root,root)
......@@ -199,5 +199,5 @@ fi
#%postun
%changelog
* Thu May 28 2009 Claes Sjofors <claes.sjofors@proview.se> 4.6.1-1
* Fri Nov 13 2020 Claes Sjofors <claes.sjofors@proview.se> 5.7.2-1
- Base release.
......@@ -7,14 +7,14 @@
# See www.rpm.org.
#
Name: pwrdemo46
Name: pwrdemo57
Summary: Proview/R demo project
Version: 4.6.1
Version: 5.7.2
Release: 1
License: GPL
BuildArch: i386
BuildArch: x86_64
Packager: claes.sjofors@proview.se
Requires: pwr46
Requires: pwr57
Group: Development/Tools/Other
Url: http://www.proview.se
......@@ -27,7 +27,7 @@ For more information please see www.proview.se.
#%install
#%clean
%clean
%files
%defattr(-,root,root)
......@@ -127,5 +127,5 @@ fi
#%postun
%changelog
* Thu May 28 2009 Claes Sjofors <claes.sjofors@proview.se> 4.6.1-1
* Fri Nov 13 2020 Claes Sjofors <claes.sjofors@proview.se> 5.7.2-1
- Base release
......@@ -184,5 +184,5 @@ echo "-- Building package"
--define "_topdir $pkgroot/rpm" \
--buildroot $pkgroot $pkgsrc/pwrrt.spec > /dev/null 2>&1
mv $pkgroot/rpm/RPMS/i386/*.rpm $pwre_broot/$pwre_target/bld/pkg/.
mv $pkgroot/rpm/RPMS/x86_64/*.rpm $pwre_broot/$pwre_target/bld/pkg/.
rm -r $pkgroot
......@@ -9,10 +9,10 @@
Name: pwrrt
Summary: Proview/R runtime environment
Version: 4.6.1
Version: 5.7.2
Release: 1
License: GPL
BuildArch: i386
BuildArch: x86_64
Packager: claes.sjofors@proview.se
Requires: xorg-x11-fonts
Group: Applications/System
......@@ -78,7 +78,7 @@ co_convert -t -d %{buildroot}/usr/pwrrt/doc %{buildroot}/usr/pwrrt/exe/xtt_versi
# Print rt version file
echo "Version: %{version}-%{release}" > %{buildroot}/usr/pwrrt/exe/rt_version.dat
#%clean
%clean
%files
%defattr(-,root,root)
......@@ -488,5 +488,5 @@ fi
#%postun
%changelog
* Thu May 28 2009 Claes Sjofors <claes.sjofors@proview.se> 4.6.1-1
* Fri Nov 13 2020 Claes Sjofors <claes.sjofors@proview.se> 5.7.2-1
- Base release.
......@@ -180,5 +180,5 @@ echo "-- Building package"
--define "_topdir $pkgroot/rpm" \
--buildroot $pkgroot $pkgsrc/pwrsev.spec > /dev/null 2>&1
mv $pkgroot/rpm/RPMS/i386/*.rpm $pwre_broot/$pwre_target/bld/pkg/.
mv $pkgroot/rpm/RPMS/x86_64/*.rpm $pwre_broot/$pwre_target/bld/pkg/.
rm -r $pkgroot
......@@ -9,10 +9,10 @@
Name: pwrsev
Summary: Proview/R storage environment
Version: 4.6.1
Version: 5.7.2
Release: 1
License: GPL
BuildArch: i386
BuildArch: x86_64
Packager: claes.sjofors@proview.se
Requires: xorg-x11-fonts
Group: Applications/System
......@@ -75,7 +75,7 @@ co_convert -t -d %{buildroot}/usr/pwrsev/doc %{buildroot}/usr/pwrsev/exe/sev_xtt
echo "</head></html>"
} > %{buildroot}/usr/pwrsev/doc/en_us/package_version.html
#%clean
%clean
%files
%defattr(-,root,root)
......@@ -414,5 +414,5 @@ fi
#%postun
%changelog
* Thu May 28 2009 Claes Sjofors <claes.sjofors@proview.se> 4.6.1-1
* Fri Nov 31 2020 Claes Sjofors <claes.sjofors@proview.se> 5.7.2-1
- Beta release.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment