%define build_version 1.0.0.1041 Name: libinvm-cim Version: %{build_version} Release: 3%{?dist} Summary: Framework for Storage CIM Providers License: BSD Group: Development/Libraries URL: https://01.org/intel-nvm-cim-library Source: https://github.com/01org/libinvm-cim/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz ExclusiveArch: x86_64 %description Framework library supporting storage common information model (CIM) providers. %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-cim.so.* %license LICENSE %files -n %{name}-devel %doc README.md %{_libdir}/libinvm-cim.so %{_includedir}/libinvm-cim %license LICENSE %changelog * Fri Aug 12 2016 Jeff Moyer - 1.0.0.1041-3.el7 - Pull in real upstream source tarball. Resolves: rhbz#1326931 * Thu Aug 11 2016 Dave Anderson - 1.0.0.1041-2.el7 - Build for x86_64 only Resolves: rhbz#1326931 * Thu Aug 11 2016 Dave Anderson - 1.0.0.1041-1.el7 - Initial import for RHEL7 Resolves: rhbz#1326931 * Thu Dec 24 2015 Nicholas Moulin - 1.0.0.1041-1 - Initial rpm release