Blame SPECS/eglexternalplatform.spec

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