-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1774 from amaslenn/fed-pkg-review
rpm: apply changes to comply Fedora guidelines
- Loading branch information
Showing
1 changed file
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,10 @@ License: BSD | |
URL: http://www.openucx.org | ||
Source: https://github.com/openucx/%{name}/archive/v@MAJOR_VERSION@.@MINOR_VERSION@.@[email protected] | ||
|
||
# UCX currently supports only the following architectures | ||
ExclusiveArch: aarch64 ppc64le x86_64 | ||
|
||
BuildRequires: numactl-devel | ||
BuildRequires: numactl-devel libibverbs-devel | ||
BuildRequires: automake autoconf libtool | ||
|
||
%description | ||
|
@@ -25,12 +26,19 @@ the following shared memory mechanisms: posix. sysv, cma, knem, xpmem. | |
|
||
%package devel | ||
Requires: %{name}%{?_isa} = %{version}-%{release} | ||
Provides: %{name}-static = %{version}-%{release} | ||
Summary: Header files and libraries required to develop with ucx | ||
Summary: Header files required to develop with UCX | ||
Group: Development/Libraries | ||
|
||
%package static | ||
Requires: %{name}-devel = %{version}-%{release} | ||
Summary: Static libraries required to develop with UCX | ||
Group: Development/Libraries | ||
|
||
%description devel | ||
Provides header files, static libraries and examples for developing with UCX. | ||
Provides header files and examples for developing with UCX. | ||
|
||
%description static | ||
Provides static libraries required for development with UCX. | ||
|
||
%prep | ||
%setup -q | ||
|
@@ -50,22 +58,26 @@ make DESTDIR=%{buildroot} install | |
rm -f %{buildroot}%{_libdir}/*.la | ||
|
||
%files | ||
%{_libdir}/lib*.so* | ||
%{_libdir}/lib*.so.* | ||
%{_bindir}/uc* | ||
%{_datadir}/ucx/perftest/* | ||
%{_datadir}/ucx | ||
%exclude %{_datadir}/ucx/examples | ||
%doc README AUTHORS NEWS | ||
%{!?_licensedir:%global license %%doc} | ||
%license LICENSE | ||
|
||
%files devel | ||
%{_includedir}/uc* | ||
%{_libdir}/lib*.a | ||
%{_libdir}/lib*.so | ||
%{_libdir}/pkgconfig/ucx.pc | ||
%{_datadir}/ucx/examples | ||
|
||
%files static | ||
%{_libdir}/lib*.a | ||
|
||
%post -p /sbin/ldconfig | ||
%postun -p /sbin/ldconfig | ||
|
||
%changelog | ||
* Mon Jul 3 2017 Andrey Maslennikov <[email protected]> 1.3 | ||
* Mon Jul 3 2017 Andrey Maslennikov <[email protected]> 1.2.0-1 | ||
- Fedora package created |