generated from smedev/Template-for-SMEServer-Core-Perl
* Wed Nov 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.3.0.4-1.sme
- Initial code - create RPM
This commit is contained in:
parent
57d9ab5d82
commit
2f1de57522
@ -1,3 +1,4 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
%define name s6-portable-utils
|
%define name s6-portable-utils
|
||||||
%define version 2.3.0.4
|
%define version 2.3.0.4
|
||||||
%define release 1
|
%define release 1
|
||||||
@ -10,9 +11,8 @@ License: GNU GPL version 2
|
|||||||
Group: SMEserver/addon
|
Group: SMEserver/addon
|
||||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
BuildArchitectures: noarch
|
|
||||||
BuildRequires: e-smith-devtools
|
BuildRequires: e-smith-devtools
|
||||||
BuildRequires: skalibs
|
BuildRequires: skalibs-devel
|
||||||
Requires: e-smith-release >= 10.0
|
Requires: e-smith-release >= 10.0
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
|
|
||||||
@ -28,18 +28,17 @@ local build of https://github.com/skarnet/s6-portable-utils mainly for seekablep
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure
|
sed -e 's/(cat \$sysdeps\/target)/target/' -i configure
|
||||||
|
./configure --with-sysdeps=/usr/lib64/skalibs/sysdeps --target=x86_64-redhat-linux
|
||||||
|
#x86_64-generic-linux-gnu
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
make install DESTDIR="$RPM_BUILD_ROOT"
|
||||||
rm -f %{name}-%{version}-filelist
|
rm -f %{name}-%{version}-filelist
|
||||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||||
> %{name}-%{version}-filelist
|
> %{name}-%{version}-filelist
|
||||||
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
|
||||||
#--dir <dir> 'attr(755,user,grp)' \
|
|
||||||
#--file <file> 'attr(755,root,root)' \
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user