Blame gdalcpp.spec

4b948a2
%global commit 225b97cdcfb95290f08b87be46e7021248bfa6d1
c6a4c78
%global shortcommit %(c=%{commit}; echo ${c:0:7})
c6a4c78
c6a4c78
%global debug_package %{nil}
c6a4c78
c6a4c78
Name:           gdalcpp
2cb5ded
Version:        1.1.1
ada68fc
Release:        4.20160601git%{shortcommit}%{?dist}
c6a4c78
Summary:        C++11 wrapper classes for GDAL/OGR
c6a4c78
c6a4c78
License:        Boost
c6a4c78
URL:            https://github.com/joto/gdalcpp
c6a4c78
Source0:        https://github.com/joto/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
c6a4c78
c6a4c78
%description
c6a4c78
These are some small wrapper classes for GDAL offering:
c6a4c78
c6a4c78
* classes with RAII instead of the arcane cleanup functions in stock GDAL
c6a4c78
* works with GDAL 1 and 2
c6a4c78
* allows you to write less boilerplate code
c6a4c78
c6a4c78
The classes are not very complete, they just have the code I needed for
c6a4c78
various programs.
c6a4c78
c6a4c78
c6a4c78
%package        devel
c6a4c78
Summary:        Development files for %{name}
c6a4c78
Provides:       %{name}-static = %{version}-%{release}
c6a4c78
c6a4c78
%description    devel
c6a4c78
These are some small wrapper classes for GDAL offering:
c6a4c78
c6a4c78
* classes with RAII instead of the arcane cleanup functions in stock GDAL
c6a4c78
* works with GDAL 1 and 2
c6a4c78
* allows you to write less boilerplate code
c6a4c78
c6a4c78
The classes are not very complete, they just have the code I needed for
c6a4c78
various programs.
c6a4c78
c6a4c78
c6a4c78
%prep
c6a4c78
%setup -q -n %{name}-%{commit}
c6a4c78
c6a4c78
c6a4c78
%build
c6a4c78
c6a4c78
c6a4c78
%install
c6a4c78
mkdir -p %{buildroot}%{_includedir}
c6a4c78
cp -p *.hpp  %{buildroot}%{_includedir}
c6a4c78
c6a4c78
c6a4c78
%files devel
c6a4c78
%doc README.md
c6a4c78
%license LICENSE.txt
c6a4c78
%{_includedir}/*.hpp
c6a4c78
c6a4c78
c6a4c78
%changelog
ada68fc
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4.20160601git225b97c
ada68fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ada68fc
4b948a2
* Wed Jun  1 2016 Tom Hughes <tom@compton.nu> - 1.1.1-3.20160601git225b97c
4b948a2
- Update to upstream snapshot
4b948a2
4d89f52
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
4d89f52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d89f52
2cb5ded
* Fri Dec  4 2015 Tom Hughes <tom@compton.nu> - 1.1.1-1
2cb5ded
- Update to 1.1.1 upstream release
2cb5ded
00bbd67
* Tue Dec  1 2015 Tom Hughes <tom@compton.nu> - 1.1.0-1
00bbd67
- Restore dist tag
00bbd67
2cd2e14
* Mon Nov 23 2015 Tom Hughes <tom@compton.nu> - 1.1.0-1
2cd2e14
- Update to 1.1.0 upstream release
2cd2e14
c6a4c78
* Tue Aug 25 2015 Tom Hughes <tom@compton.nu> - 0-0.1.20150825git75c0ac4
c6a4c78
- Initial build