Blame SPECS/libinvm-cli.spec

a47798
%define build_version 1.0.0.1096
a47798
a47798
Name:           libinvm-cli
a47798
Version:        %{build_version}
a47798
Release:        3%{?dist}
a47798
Summary:        Framework for Storage CLI Applications
a47798
License:        BSD
a47798
Group:          Development/Libraries
a47798
URL:            https://01.org/intel-nvm-cli-library
a47798
Source:         https://github.com/01org/libinvm-cli/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
a47798
ExclusiveArch:  x86_64
a47798
BuildRequires:  gettext
a47798
BuildRequires:  libinvm-i18n-devel
a47798
Requires:       libinvm-i18n >= 1.0.0.1015
a47798
a47798
%description
a47798
Framework library supporting storage command line interface(CLI) applications.
a47798
a47798
%package -n %{name}-devel
a47798
Summary:        Development files for %{name}
a47798
License:        BSD
a47798
Group:          Development/Libraries
a47798
Requires:       %{name}%{?_isa} = %{version}-%{release}
a47798
a47798
%description -n %{name}-devel
a47798
The %{name}-devel package contains header files for
a47798
developing applications that use %{name}.
a47798
a47798
%prep
a47798
%setup -q -n %{name}-%{version}
a47798
a47798
%build
a47798
make BUILDNUM=%{build_version} RELEASE=1 CFLAGS_EXTERNAL="%{?optflags}" %{?_smp_mflags}
a47798
a47798
%install
a47798
make install RELEASE=1 RPM_ROOT=%{buildroot} LIB_DIR=%{_libdir} INCLUDE_DIR=%{_includedir}
a47798
a47798
%post -p /sbin/ldconfig
a47798
a47798
%postun -p /sbin/ldconfig
a47798
a47798
%files
a47798
%doc README.md
a47798
%{_libdir}/libinvm-cli.so.*
a47798
%license LICENSE
a47798
a47798
%files -n %{name}-devel
a47798
%doc README.md
a47798
%{_libdir}/libinvm-cli.so
a47798
%{_includedir}/libinvm-cli
a47798
%license LICENSE
a47798
a47798
%changelog
a47798
* Mon Aug 15 2016 Jeff Moyer <jmoyer@redhat.com> 1.0.0.1096-3.el7
a47798
- Fix broken import from fedora
a47798
  Resolves: rhbz#1270998
a47798
a47798
* Thu Aug 11 2016 Dave Anderson <anderson@redhat.com> - 1.0.0.1096-2.el7
a47798
- Build for x86_64 only
a47798
  Resolves: rhbz#1270998
a47798
a47798
* Thu Aug 11 2016 Dave Anderson <anderson@redhat.com> - 1.0.0.1096-1.el7
a47798
- Initial import for RHEL7
a47798
  Resolves: rhbz#1270998
a47798
a47798
* Thu Dec 24 2015 Nicholas Moulin <nicholas.w.moulin@intel.com> - 1.0.0.1096-1
a47798
- Initial rpm release