moved the main shared objects to the hawk-lib package in the rpm spec file
This commit is contained in:
parent
a2529272d7
commit
2a03c6f061
@ -19,7 +19,7 @@ Vendor: Chung, Hyung-Hwan
|
|||||||
URL: @PACKAGE_URL@
|
URL: @PACKAGE_URL@
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
#Requires:
|
Requires: %{name}-libs%{?_isa}
|
||||||
|
|
||||||
%if %{enable_mod_ffi}
|
%if %{enable_mod_ffi}
|
||||||
## prep_cif_var() available since 3.0.11
|
## prep_cif_var() available since 3.0.11
|
||||||
@ -40,11 +40,18 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
%description
|
%description
|
||||||
Hawk Interpreter
|
Hawk Interpreter
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Hawk runtime shared objects
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
This package contains runtime share object files for Hawk.
|
||||||
|
|
||||||
%if %{enable_mod_ffi}
|
%if %{enable_mod_ffi}
|
||||||
%package ffi
|
%package ffi
|
||||||
Summary: Hawk ffi module
|
Summary: Hawk ffi module
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
Requires: libffi%{?_isa} >= 3.0.11
|
Requires: libffi%{?_isa} >= 3.0.11
|
||||||
|
|
||||||
%description ffi
|
%description ffi
|
||||||
@ -55,7 +62,7 @@ This package contains the ffi module file for Hawk.
|
|||||||
%package memc
|
%package memc
|
||||||
Summary: Hawk memc module
|
Summary: Hawk memc module
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
Requires: libmemcached-libs%{?_isa} >= 1.0.18
|
Requires: libmemcached-libs%{?_isa} >= 1.0.18
|
||||||
|
|
||||||
%description memc
|
%description memc
|
||||||
@ -66,7 +73,7 @@ This package contains the memc module file for Hawk.
|
|||||||
%package mysql
|
%package mysql
|
||||||
Summary: Hawk mysql module
|
Summary: Hawk mysql module
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
## tricky to specify the right mysql/mariadb client library.
|
## tricky to specify the right mysql/mariadb client library.
|
||||||
Requires: mariadb-connector-c%{?_isa}
|
Requires: mariadb-connector-c%{?_isa}
|
||||||
|
|
||||||
@ -78,7 +85,7 @@ This package contains the mysql module file for Hawk.
|
|||||||
%package uci
|
%package uci
|
||||||
Summary: Hawk uci module
|
Summary: Hawk uci module
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
Requires: libuci%{?_isa}
|
Requires: libuci%{?_isa}
|
||||||
|
|
||||||
%description uci
|
%description uci
|
||||||
@ -88,7 +95,7 @@ This package contains the uci module file for Hawk.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for Hawk
|
Summary: Development files for Hawk
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The header files and libraries for developing applications with Hawk.
|
The header files and libraries for developing applications with Hawk.
|
||||||
@ -171,6 +178,9 @@ rm -rf "%{buildroot}"
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/hawk
|
%{_bindir}/hawk
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libhawk.so.*
|
%{_libdir}/libhawk.so.*
|
||||||
|
|
||||||
%if %{enable_mod_ffi}
|
%if %{enable_mod_ffi}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user