mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
45 lines
1.0 KiB
RPMSpec
45 lines
1.0 KiB
RPMSpec
Name: workflow
|
|
Summary: action for workflow
|
|
Version: @VERSION@
|
|
Release: 1
|
|
Epoch: 0
|
|
License: LGPL
|
|
Group: Applications
|
|
URL: http://www.unirel.com
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
Provides: action
|
|
Packager: Stefano Casazza <stefano.casazza@unirel.com>
|
|
Requires: ULib
|
|
@RPM_REQUIRE@
|
|
|
|
%description
|
|
This package provides the action for workflow
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
%configure @RPM_CONFIGURE@
|
|
cd src/ulib
|
|
make LDFLAGS="-s"
|
|
cd ../../examples/workflow
|
|
make LDFLAGS="-s"
|
|
cd ../..
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
mkdir -p %{buildroot}/workflow/action/bin
|
|
autoconf/install-sh -c -m 755 examples/workflow/.libs/error %{buildroot}/workflow/action/bin
|
|
autoconf/install-sh -c -m 755 examples/workflow/.libs/validation %{buildroot}/workflow/action/bin
|
|
autoconf/install-sh -c -m 755 examples/workflow/.libs/production %{buildroot}/workflow/action/bin
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
/workflow/action/bin/error
|
|
/workflow/action/bin/validation
|
|
/workflow/action/bin/production
|