2008-09-29 08:05:21 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
Name: gflags
|
2014-04-30 22:43:17 +00:00
|
|
|
Version: 2.1.1
|
2014-08-16 14:23:09 +00:00
|
|
|
Release: 6%{?dist}
|
2008-09-29 08:05:21 +00:00
|
|
|
Summary: Library for commandline flag processing
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
License: BSD
|
2014-04-30 22:43:17 +00:00
|
|
|
URL: http://code.google.com/p/%{name}
|
2014-04-30 23:45:15 +00:00
|
|
|
Source0: http://github.com/schuhschuh/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
2014-04-30 22:43:17 +00:00
|
|
|
Patch0: gflags-0001-cmake-append-LIB_SUFFIX-to-LIBRARY_INSTALL_DIR.patch
|
2014-05-01 02:26:11 +00:00
|
|
|
Patch1: gflags-0001-Set-VERSION-property-of-library-targets-to-major.patch
|
2014-06-30 20:22:36 +00:00
|
|
|
BuildRequires: python-setuptools
|
2014-04-30 22:43:17 +00:00
|
|
|
BuildRequires: cmake
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%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}
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
2013-08-06 12:24:37 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2013-08-31 13:39:56 +00:00
|
|
|
%setup -q
|
2014-04-30 22:43:17 +00:00
|
|
|
%patch0 -p1 -b .lib_suffix
|
2014-05-01 02:26:11 +00:00
|
|
|
%patch1 -p1 -b .lib_version
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%build
|
2014-04-30 22:43:17 +00:00
|
|
|
%cmake -DBUILD_TESTING:BOOL=ON .
|
2008-09-29 08:05:21 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-08-06 12:24:37 +00:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%check
|
2014-04-30 22:43:17 +00:00
|
|
|
ctest
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2014-04-30 22:43:17 +00:00
|
|
|
%doc ChangeLog.txt README.txt COPYING.txt AUTHORS.txt
|
2008-09-29 08:05:21 +00:00
|
|
|
%{_bindir}/gflags_completions.sh
|
2014-05-01 02:26:11 +00:00
|
|
|
%{_libdir}/libgflags.so.*
|
|
|
|
%{_libdir}/libgflags_nothreads.so.*
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc doc/designstyle.css doc/gflags.html
|
2009-01-15 21:55:15 +00:00
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}/*.h
|
2014-05-01 02:26:11 +00:00
|
|
|
%{_libdir}/libgflags.so
|
|
|
|
%{_libdir}/libgflags_nothreads.so
|
2014-04-30 22:43:17 +00:00
|
|
|
%dir %{_libdir}/cmake
|
|
|
|
%{_libdir}/cmake/%{name}
|
2008-09-29 08:05:21 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-08-16 14:23:09 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-30 20:22:36 +00:00
|
|
|
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.1.1-5
|
|
|
|
- Replace python-setuptools-devel BR with python-setuptools
|
|
|
|
|
2014-06-07 14:08:45 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-01 02:37:08 +00:00
|
|
|
* Thu May 01 2014 John Khvatov <ivaxer@fedoraproject.org> - 2.1.1-3
|
2014-05-01 02:26:11 +00:00
|
|
|
- Add patch (from upstream) for shared library versining.
|
|
|
|
|
2014-04-30 22:43:17 +00:00
|
|
|
* Wed Apr 30 2014 John Khvatov <ivaxer@fedoraproject.org> - 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 <dfuhry@dattobackup.com> - 2.1.1-1
|
|
|
|
- Updated to 2.1.1
|
|
|
|
|
2013-08-31 13:39:56 +00:00
|
|
|
* Sat Aug 31 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.3-8
|
|
|
|
- Use system-wide libtool
|
|
|
|
- Autoregen everything
|
|
|
|
|
2013-08-06 12:24:37 +00:00
|
|
|
* Tue Aug 06 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.3-7
|
|
|
|
- Cleanup spec-file (removed EL6/FC6 stuff)
|
|
|
|
- Fix doc-files installation
|
|
|
|
|
2013-08-03 13:05:11 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-13 22:43:22 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 04:54:10 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 03:13:54 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 00:13:54 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-01-30 07:04:07 +00:00
|
|
|
* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.3-1
|
|
|
|
- Updated to 1.3
|
|
|
|
- Removed python bindings (they are separate project now)
|
|
|
|
|
2009-12-03 23:19:45 +00:00
|
|
|
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2-1
|
|
|
|
- Updated to 1.2
|
|
|
|
|
2009-08-05 06:53:30 +00:00
|
|
|
* Wed Aug 05 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.1-1
|
|
|
|
- removed extra files included in %%files section and updated to 1.1
|
|
|
|
|
2009-07-24 23:55:39 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 22:02:52 +00:00
|
|
|
* Fri Feb 27 2009 Debarshi Ray <rishi@fedoraproject.org> - 1.0-3
|
|
|
|
- Fixed build failure with gcc-4.4.
|
|
|
|
|
2009-02-24 20:48:46 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-15 21:55:15 +00:00
|
|
|
* Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.0-1
|
|
|
|
- Updated to 1.0.
|
|
|
|
|
2008-11-29 16:37:01 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9-7
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-29 08:05:21 +00:00
|
|
|
* Thu Sep 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-6
|
|
|
|
- fixed for F-8 provide eggs for non setuptools package
|
|
|
|
|
|
|
|
* Thu Sep 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-5
|
|
|
|
- disable test suite because it failed on x86_64 (2/17)
|
|
|
|
|
2013-08-31 13:39:56 +00:00
|
|
|
* Tue Aug 26 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-4
|
2008-09-29 08:05:21 +00:00
|
|
|
- fixed %%{includedir}
|
|
|
|
|
|
|
|
* Thu Aug 14 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-3
|
|
|
|
- fixed documentation, timestamp saving
|
|
|
|
- removed chrpath & cleaned some unwanted commands
|
|
|
|
- included python module
|
|
|
|
|
|
|
|
* Sat Aug 09 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-2
|
|
|
|
- remove automake and corrected configure option
|
|
|
|
|
|
|
|
* Thu Aug 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-1
|
|
|
|
- Initial build
|