7547bd
Name:           gflags
7547bd
Version:        2.1.2
7547bd
Release:        6%{?dist}
7547bd
Summary:        Library for commandline flag processing
7547bd
7547bd
Group:          Development/Tools
7547bd
License:        BSD
7547bd
URL:            https://gflags.github.io/gflags/
7547bd
Source0:	https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
7547bd
Patch1:         gflags-0001-Set-VERSION-property-of-library-targets-to-major.patch
Pablo Greco 5756de
BuildRequires:  python2-setuptools
7547bd
BuildRequires:  cmake
7547bd
7547bd
%description
7547bd
The gflags package contains a library that implements commandline
7547bd
flags processing. As such it's a replacement for getopt(). It has
7547bd
increased flexibility, including built-in support for C++ types like
7547bd
string, and the ability to define flags in the source file in which
7547bd
they're used.
7547bd
7547bd
%package devel
7547bd
Summary:        Development files for %{name}
7547bd
Group:          Development/Libraries
7547bd
7547bd
Requires:       %{name}%{?_isa} = %{version}-%{release}
7547bd
7547bd
%description devel
7547bd
This package contains development files for %{name}.
7547bd
7547bd
%prep
7547bd
%setup -q
7547bd
%patch1 -p1 -b .lib_version
7547bd
7547bd
%build
7547bd
%cmake -DBUILD_TESTING:BOOL=ON .
7547bd
make %{?_smp_mflags}
7547bd
7547bd
%install
7547bd
make install DESTDIR=%{buildroot} INSTALL="install -p"
7547bd
7547bd
%check
7547bd
ctest
7547bd
7547bd
%post -p /sbin/ldconfig
7547bd
7547bd
%postun -p /sbin/ldconfig
7547bd
7547bd
%files
7547bd
%license COPYING.txt
7547bd
%doc AUTHORS.txt ChangeLog.txt README.md
7547bd
%{_bindir}/gflags_completions.sh
7547bd
%{_libdir}/libgflags.so.*
7547bd
%{_libdir}/libgflags_nothreads.so.*
7547bd
7547bd
%files devel
7547bd
%doc doc/designstyle.css doc/index.html
7547bd
%dir %{_includedir}/%{name}
7547bd
%{_includedir}/%{name}/*.h
7547bd
%{_libdir}/libgflags.so
7547bd
%{_libdir}/libgflags_nothreads.so
7547bd
%{_libdir}/cmake/%{name}
7547bd
7547bd
%changelog
Pablo Greco 5756de
* Mon May 20 2019 Pablo Greco <pgreco@centosproject.org> - 2.1.2-6
Pablo Greco 5756de
- Fix pytyon-setuptools BR
Pablo Greco 5756de
7547bd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7547bd
7547bd
* Mon Aug 07 2017 Björn Esser <besser82@fedoraproject.org> - 2.1.2-5
7547bd
- Rebuilt for AutoReq cmake-filesystem
7547bd
7547bd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7547bd
7547bd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7547bd
7547bd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7547bd
7547bd
* Sat Feb 27 2016 Evan Klitzke - 2.1.2-1
7547bd
- Upgrade to the latest upstream release, 2.1.2
7547bd
7547bd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-9
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7547bd
7547bd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-8
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7547bd
7547bd
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.1.1-7
7547bd
- Rebuilt for GCC 5 C++11 ABI change
7547bd
7547bd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-6
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7547bd
7547bd
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.1.1-5
7547bd
- Replace python-setuptools-devel BR with python-setuptools
7547bd
7547bd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-4
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7547bd
7547bd
* Thu May 01 2014 John Khvatov <ivaxer@fedoraproject.org> - 2.1.1-3
7547bd
- Add patch (from upstream) for shared library versining.
7547bd
7547bd
* Wed Apr 30 2014 John Khvatov <ivaxer@fedoraproject.org> - 2.1.1-2
7547bd
- Enable test suite
7547bd
- Update SourceURL (upstream moved to github)
7547bd
- Add patch to use LIB_SUFFIX in cmake configs
7547bd
- Spec cleanup
7547bd
7547bd
* Wed Apr 23 2014 Dan Fuhry <dfuhry@dattobackup.com> - 2.1.1-1
7547bd
- Updated to 2.1.1
7547bd
7547bd
* Sat Aug 31 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.3-8
7547bd
- Use system-wide libtool
7547bd
- Autoregen everything
7547bd
7547bd
* Tue Aug 06 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.3-7
7547bd
- Cleanup spec-file (removed EL6/FC6 stuff)
7547bd
- Fix doc-files installation
7547bd
7547bd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7547bd
7547bd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7547bd
7547bd
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7547bd
7547bd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7547bd
7547bd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7547bd
7547bd
* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.3-1
7547bd
- Updated to 1.3
7547bd
- Removed python bindings (they are separate project now)
7547bd
7547bd
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2-1
7547bd
- Updated to 1.2
7547bd
7547bd
* Wed Aug 05 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.1-1
7547bd
- removed extra files included in %%files section and updated to 1.1
7547bd
7547bd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7547bd
7547bd
* Fri Feb 27 2009 Debarshi Ray <rishi@fedoraproject.org> - 1.0-3
7547bd
- Fixed build failure with gcc-4.4.
7547bd
7547bd
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
7547bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7547bd
7547bd
* Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.0-1
7547bd
- Updated to 1.0.
7547bd
7547bd
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9-7
7547bd
- Rebuild for Python 2.6
7547bd
7547bd
* Thu Sep 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-6
7547bd
- fixed for F-8 provide eggs for non setuptools package
7547bd
7547bd
* Thu Sep 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-5
7547bd
- disable test suite because it failed on x86_64 (2/17)
7547bd
7547bd
* Tue Aug 26 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-4
7547bd
- fixed %%{includedir}
7547bd
7547bd
* Thu Aug 14 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-3
7547bd
- fixed documentation, timestamp saving
7547bd
- removed chrpath & cleaned some unwanted commands
7547bd
- included python module
7547bd
7547bd
* Sat Aug 09 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-2
7547bd
- remove automake and corrected configure option
7547bd
7547bd
* Thu Aug 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-1
7547bd
- Initial build