Blame SPECS/eglexternalplatform.spec

9bfaff
%global commit 7c8f8e2218e46b1a4aa9538520919747f1184d86
9bfaff
%global date 20180916
9bfaff
%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
9bfaff
%global debug_package %{nil}
9bfaff
9bfaff
Name:           eglexternalplatform
9bfaff
Version:        1.1
9bfaff
Release:        0.1%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
9bfaff
Summary:        EGL External Platform Interface headers
9bfaff
9bfaff
License:        MIT
9bfaff
URL:            https://github.com/NVIDIA
9bfaff
Source0:        %url/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
9bfaff
9bfaff
BuildArch:      noarch
9bfaff
9bfaff
%description
9bfaff
%summary
9bfaff
9bfaff
%package        devel
9bfaff
Summary:        Development files for %{name}
9bfaff
9bfaff
%description    devel
9bfaff
The %{name}-devel package contains the header files for
9bfaff
developing applications that use %{name}.
9bfaff
9bfaff
9bfaff
%prep
9bfaff
%autosetup -n %{name}-%{commit}
9bfaff
9bfaff
%build
9bfaff
9bfaff
%install
9bfaff
mkdir -p %{buildroot}%{_includedir}/
9bfaff
install -p -m 0644 interface/eglexternalplatform.h %{buildroot}%{_includedir}/
9bfaff
install -p -m 0644 interface/eglexternalplatformversion.h %{buildroot}%{_includedir}/
9bfaff
mkdir -p %{buildroot}%{_datadir}/pkgconfig/
9bfaff
install -p -m 0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/
9bfaff
9bfaff
%files devel
9bfaff
%doc README.md samples
9bfaff
%license COPYING
9bfaff
%{_includedir}/*
9bfaff
%{_datadir}/pkgconfig/eglexternalplatform.pc
9bfaff
9bfaff
9bfaff
%changelog
9bfaff
* Mon Aug 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1-0.1.20180916git7c8f8e2
9bfaff
- Update snapshot
9bfaff
9bfaff
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.7.20170201git76e2948
9bfaff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9bfaff
9bfaff
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.6.20170201git76e2948
9bfaff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9bfaff
9bfaff
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.5.20170201git76e2948
9bfaff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9bfaff
9bfaff
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.4.20170201git76e2948
9bfaff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9bfaff
9bfaff
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0-0.3.20170201git76e2948
9bfaff
- Update snapshot
9bfaff
- Change to noarch
9bfaff
- Add license file
9bfaff
9bfaff
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0-0.2.20170120git53bf47c
9bfaff
- Add date to release
9bfaff
9bfaff
* Thu Jan 19 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0-0.1.git53bf47c
9bfaff
- First build
9bfaff