From 4c79e50ed5908c5a2b74367f2054a383f8624b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 00:52:57 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/gflags#6492ac3a1ee80dc0d9afea9da348e54547098527 --- .gitignore | 4 + gflags-fix_pkgconfig.patch | 12 +++ gflags.spec | 209 +++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 226 insertions(+) create mode 100644 gflags-fix_pkgconfig.patch create mode 100644 gflags.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..acb43b4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +/gflags-2.1.1.tar.gz +/gflags-2.1.2.tar.gz +/gflags-2.2.1.tar.gz +/gflags-2.2.2.tar.gz diff --git a/gflags-fix_pkgconfig.patch b/gflags-fix_pkgconfig.patch new file mode 100644 index 0000000..c0d33ec --- /dev/null +++ b/gflags-fix_pkgconfig.patch @@ -0,0 +1,12 @@ +diff -up gflags-2.2.2/cmake/package.pc.in.orig gflags-2.2.2/cmake/package.pc.in +--- gflags-2.2.2/cmake/package.pc.in.orig 2018-11-11 22:21:00.000000000 +0100 ++++ gflags-2.2.2/cmake/package.pc.in 2020-03-09 13:54:40.797884193 +0100 +@@ -1,7 +1,7 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} + bindir=${prefix}/@RUNTIME_INSTALL_DIR@ +-libdir=${prefix}/@LIBRARY_INSTALL_DIR@ ++libdir=@LIBRARY_INSTALL_DIR@ + includedir=${prefix}/@INCLUDE_INSTALL_DIR@ + + Name: @PACKAGE_NAME@ diff --git a/gflags.spec b/gflags.spec new file mode 100644 index 0000000..a5ba933 --- /dev/null +++ b/gflags.spec @@ -0,0 +1,209 @@ +Name: gflags +Version: 2.2.2 +Release: 6%{?dist} +Summary: Library for commandline flag processing + +License: BSD +URL: https://gflags.github.io/gflags/ +Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: gflags-fix_pkgconfig.patch +BuildRequires: gcc-c++ +BuildRequires: cmake + +%description +The gflags package contains a library that implements commandline +flags processing. As such it's a replacement for getopt(). It has +increased flexibility, including built-in support for C++ types like +string, and the ability to define flags in the source file in which +they're used. + +%package devel +Summary: Development files for %{name} + +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains development files for %{name}. + +%prep +%autosetup -p1 + +%build +%cmake -DBUILD_TESTING:BOOL=ON \ + -DINSTALL_HEADERS:BOOL=ON \ + -DREGISTER_BUILD_DIR:BOOL=OFF \ + -DREGISTER_INSTALL_PREFIX:BOOL=OFF +%cmake_build + +%install +%cmake_install + +%check +%ctest + +%ldconfig_scriptlets + +%files +%license COPYING.txt +%doc AUTHORS.txt ChangeLog.txt README.md +%{_bindir}/gflags_completions.sh +%{_libdir}/libgflags.so.* +%{_libdir}/libgflags_nothreads.so.* + +%files devel +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/*.h +%{_libdir}/libgflags.so +%{_libdir}/pkgconfig/gflags.pc +%{_libdir}/libgflags_nothreads.so +%{_libdir}/cmake/%{name} + +%changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +- Fix cmake build + +* Mon Mar 09 2020 Nicolas Chauvet - 2.2.2-5 +- Fix pkgconfig libdir value + +* Tue Jan 28 2020 Fedora Release Engineering - 2.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 29 2019 Sérgio Basto - 2.2.2-3 +- Drop BR python2-setuptools + +* Thu Jul 25 2019 Fedora Release Engineering - 2.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun May 12 2019 Sérgio Basto - 2.2.2-1 +- Update gflags to 2.2.2 + +* Thu Jan 31 2019 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 02 2018 Sérgio Basto - 2.2.1-1 +- Update to 2.2.1 +- Patch1 already upstreamed + +* Fri Jul 13 2018 Fedora Release Engineering - 2.1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Mar 15 2018 Iryna Shcherbina - 2.1.2-7 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Feb 07 2018 Fedora Release Engineering - 2.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Aug 07 2017 Björn Esser - 2.1.2-5 +- Rebuilt for AutoReq cmake-filesystem + +* Wed Aug 02 2017 Fedora Release Engineering - 2.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Feb 27 2016 Evan Klitzke - 2.1.2-1 +- Upgrade to the latest upstream release, 2.1.2 + +* Wed Feb 03 2016 Fedora Release Engineering - 2.1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 2.1.1-7 +- Rebuilt for GCC 5 C++11 ABI change + +* Sat Aug 16 2014 Fedora Release Engineering - 2.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Jun 30 2014 Toshio Kuratomi - 2.1.1-5 +- Replace python-setuptools-devel BR with python-setuptools + +* Sat Jun 07 2014 Fedora Release Engineering - 2.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 01 2014 John Khvatov - 2.1.1-3 +- Add patch (from upstream) for shared library versining. + +* Wed Apr 30 2014 John Khvatov - 2.1.1-2 +- Enable test suite +- Update SourceURL (upstream moved to github) +- Add patch to use LIB_SUFFIX in cmake configs +- Spec cleanup + +* Wed Apr 23 2014 Dan Fuhry - 2.1.1-1 +- Updated to 2.1.1 + +* Sat Aug 31 2013 Peter Lemenkov - 1.3-8 +- Use system-wide libtool +- Autoregen everything + +* Tue Aug 06 2013 Peter Lemenkov - 1.3-7 +- Cleanup spec-file (removed EL6/FC6 stuff) +- Fix doc-files installation + +* Sat Aug 03 2013 Fedora Release Engineering - 1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jan 30 2010 Rakesh Pandit - 1.3-1 +- Updated to 1.3 +- Removed python bindings (they are separate project now) + +* Fri Dec 04 2009 Rakesh Pandit - 1.2-1 +- Updated to 1.2 + +* Wed Aug 05 2009 Rakesh Pandit - 1.1-1 +- removed extra files included in %%files section and updated to 1.1 + +* Fri Jul 24 2009 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Feb 27 2009 Debarshi Ray - 1.0-3 +- Fixed build failure with gcc-4.4. + +* Tue Feb 24 2009 Fedora Release Engineering - 1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Jan 16 2009 Rakesh Pandit - 1.0-1 +- Updated to 1.0. + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.9-7 +- Rebuild for Python 2.6 + +* Thu Sep 04 2008 Rakesh Pandit 0.9-6 +- fixed for F-8 provide eggs for non setuptools package + +* Thu Sep 04 2008 Rakesh Pandit 0.9-5 +- disable test suite because it failed on x86_64 (2/17) + +* Tue Aug 26 2008 Rakesh Pandit 0.9-4 +- fixed %%{includedir} + +* Thu Aug 14 2008 Rakesh Pandit 0.9-3 +- fixed documentation, timestamp saving +- removed chrpath & cleaned some unwanted commands +- included python module + +* Sat Aug 09 2008 Rakesh Pandit 0.9-2 +- remove automake and corrected configure option + +* Thu Aug 07 2008 Rakesh Pandit 0.9-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..2d0fe08 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gflags-2.2.2.tar.gz) = 98c4703aab24e81fe551f7831ab797fb73d0f7dfc516addb34b9ff6d0914e5fd398207889b1ae555bac039537b1d4677067dae403b64903577078d99c1bdb447