Accepting request 348186 from home:lee_duncan:branches:Base:System
- Updated spec file to install hdrs and library file as development package OBS-URL: https://build.opensuse.org/request/show/348186 OBS-URL: https://build.opensuse.org/package/show/Base:System/open-isns?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
e3e4226f5f
commit
c5959c54d0
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 9 23:05:00 UTC 2015 - lduncan@suse.com
|
||||||
|
|
||||||
|
- Updated spec file to install hdrs and library file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 9 02:56:43 UTC 2015 - lduncan@suse.com
|
Wed Dec 9 02:56:43 UTC 2015 - lduncan@suse.com
|
||||||
|
|
||||||
|
@@ -29,8 +29,8 @@ Patch1: %{name}-Install-isns_config.5.patch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -44,6 +44,14 @@ iSNS, iSCSI targets can be registered to a central iSNS server and
|
|||||||
initiators can be configured to discover the targets by asking the
|
initiators can be configured to discover the targets by asking the
|
||||||
iSNS server.
|
iSNS server.
|
||||||
|
|
||||||
|
%package -n open-isns-devel
|
||||||
|
Summary: Development files for open-isns
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: open-isns = %{version}
|
||||||
|
|
||||||
|
%description -n open-isns-devel
|
||||||
|
Files to develop an application using the open-isns library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{version}
|
%setup -n %{name}-%{version}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@@ -61,6 +69,8 @@ if [ ! -d ${RPM_BUILD_ROOT}/usr/sbin ] ; then
|
|||||||
fi
|
fi
|
||||||
ln -sf /usr/sbin/service ${RPM_BUILD_ROOT}/usr/sbin/rcisnsd
|
ln -sf /usr/sbin/service ${RPM_BUILD_ROOT}/usr/sbin/rcisnsd
|
||||||
install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
|
install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
|
||||||
|
%{__make} DESTDIR=${RPM_BUILD_ROOT} install_hdrs
|
||||||
|
%{__make} DESTDIR=${RPM_BUILD_ROOT} install_lib
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{service_add_post isnsd.socket isnsd.service}
|
%{service_add_post isnsd.socket isnsd.service}
|
||||||
@@ -93,4 +103,18 @@ install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
|
|||||||
%{_unitdir}/isnsd.service
|
%{_unitdir}/isnsd.service
|
||||||
%{_unitdir}/isnsd.socket
|
%{_unitdir}/isnsd.socket
|
||||||
|
|
||||||
|
%files -n open-isns-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/libisns
|
||||||
|
%{_includedir}/libisns/attrs.h
|
||||||
|
%{_includedir}/libisns/buffer.h
|
||||||
|
%{_includedir}/libisns/isns.h
|
||||||
|
%{_includedir}/libisns/isns-proto.h
|
||||||
|
%{_includedir}/libisns/message.h
|
||||||
|
%{_includedir}/libisns/paths.h
|
||||||
|
%{_includedir}/libisns/source.h
|
||||||
|
%{_includedir}/libisns/types.h
|
||||||
|
%{_includedir}/libisns/util.h
|
||||||
|
%{_libdir}/libisns.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user