From a47798f223c8f6c22e0083d4369e05fc4276497b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 22 2019 23:49:04 +0000 Subject: import libinvm-cli-1.0.0.1096-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..74788fe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libinvm-cli-1.0.0.1096.tar.gz diff --git a/.libinvm-cli.metadata b/.libinvm-cli.metadata new file mode 100644 index 0000000..e5f0dab --- /dev/null +++ b/.libinvm-cli.metadata @@ -0,0 +1 @@ +605ae050d40ec2bbbd52a0a9960b970e426750f9 SOURCES/libinvm-cli-1.0.0.1096.tar.gz diff --git a/SPECS/libinvm-cli.spec b/SPECS/libinvm-cli.spec new file mode 100644 index 0000000..ba702ff --- /dev/null +++ b/SPECS/libinvm-cli.spec @@ -0,0 +1,67 @@ +%define build_version 1.0.0.1096 + +Name: libinvm-cli +Version: %{build_version} +Release: 3%{?dist} +Summary: Framework for Storage CLI Applications +License: BSD +Group: Development/Libraries +URL: https://01.org/intel-nvm-cli-library +Source: https://github.com/01org/libinvm-cli/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +ExclusiveArch: x86_64 +BuildRequires: gettext +BuildRequires: libinvm-i18n-devel +Requires: libinvm-i18n >= 1.0.0.1015 + +%description +Framework library supporting storage command line interface(CLI) applications. + +%package -n %{name}-devel +Summary: Development files for %{name} +License: BSD +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description -n %{name}-devel +The %{name}-devel package contains header files for +developing applications that use %{name}. + +%prep +%setup -q -n %{name}-%{version} + +%build +make BUILDNUM=%{build_version} RELEASE=1 CFLAGS_EXTERNAL="%{?optflags}" %{?_smp_mflags} + +%install +make install RELEASE=1 RPM_ROOT=%{buildroot} LIB_DIR=%{_libdir} INCLUDE_DIR=%{_includedir} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc README.md +%{_libdir}/libinvm-cli.so.* +%license LICENSE + +%files -n %{name}-devel +%doc README.md +%{_libdir}/libinvm-cli.so +%{_includedir}/libinvm-cli +%license LICENSE + +%changelog +* Mon Aug 15 2016 Jeff Moyer 1.0.0.1096-3.el7 +- Fix broken import from fedora + Resolves: rhbz#1270998 + +* Thu Aug 11 2016 Dave Anderson - 1.0.0.1096-2.el7 +- Build for x86_64 only + Resolves: rhbz#1270998 + +* Thu Aug 11 2016 Dave Anderson - 1.0.0.1096-1.el7 +- Initial import for RHEL7 + Resolves: rhbz#1270998 + +* Thu Dec 24 2015 Nicholas Moulin - 1.0.0.1096-1 +- Initial rpm release