|
|
e8fea25 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
e8fea25 |
|
|
|
e8fea25 |
Name: gflags
|
|
|
6d530a9 |
Version: 1.3
|
|
|
53a40fa |
Release: 5%{?dist}
|
|
|
e8fea25 |
Summary: Library for commandline flag processing
|
|
|
e8fea25 |
|
|
|
e8fea25 |
Group: Development/Tools
|
|
|
e8fea25 |
License: BSD
|
|
|
e8fea25 |
URL: http://code.google.com/p/google-%{name}/
|
|
|
e8fea25 |
Source0: http://google-%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
e8fea25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e8fea25 |
BuildRequires: python-setuptools-devel
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%description
|
|
|
e8fea25 |
The gflags package contains a library that implements commandline
|
|
|
e8fea25 |
flags processing. As such it's a replacement for getopt(). It has
|
|
|
e8fea25 |
increased flexibility, including built-in support for C++ types like
|
|
|
e8fea25 |
string, and the ability to define flags in the source file in which
|
|
|
e8fea25 |
they're used.
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%package devel
|
|
|
e8fea25 |
Summary: Development files for %{name}
|
|
|
e8fea25 |
Group: Development/Libraries
|
|
|
e8fea25 |
|
|
|
e8fea25 |
Requires: %{name} = %{version}-%{release}
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%description devel
|
|
|
e8fea25 |
This package contains development files for %{name}.
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%prep
|
|
|
e8fea25 |
%setup -q -n %{name}-%{version}
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%build
|
|
|
e8fea25 |
%configure --disable-static
|
|
|
e8fea25 |
|
|
|
e8fea25 |
# Omit unused direct shared library dependencies.
|
|
|
e8fea25 |
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
e8fea25 |
|
|
|
e8fea25 |
make %{?_smp_mflags}
|
|
|
e8fea25 |
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%install
|
|
|
e8fea25 |
rm -rf $RPM_BUILD_ROOT
|
|
|
e8fea25 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
e8fea25 |
|
|
|
e8fea25 |
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
|
e8fea25 |
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%check
|
|
|
e8fea25 |
# 2 out of 17 tests fail on x86_64
|
|
|
e8fea25 |
# disable test suite
|
|
|
6d530a9 |
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%clean
|
|
|
e8fea25 |
rm -rf $RPM_BUILD_ROOT
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%post -p /sbin/ldconfig
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%postun -p /sbin/ldconfig
|
|
|
e8fea25 |
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%files
|
|
|
e8fea25 |
%defattr(-,root,root,-)
|
|
|
e8fea25 |
%doc ChangeLog README COPYING
|
|
|
e8fea25 |
%{_bindir}/gflags_completions.sh
|
|
|
e8fea25 |
%{_libdir}/libgflags.so.*
|
|
|
0f97337 |
%{_libdir}/libgflags_nothreads.so.*
|
|
|
e8fea25 |
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%files devel
|
|
|
e8fea25 |
%defattr(-,root,root,-)
|
|
|
e8fea25 |
%doc doc/designstyle.css doc/gflags.html
|
|
|
e8fea25 |
%{_libdir}/libgflags.so
|
|
|
0f97337 |
%{_libdir}/libgflags_nothreads.so
|
|
|
6bb79d4 |
%dir %{_includedir}/%{name}
|
|
|
6bb79d4 |
%{_includedir}/%{name}/*.h
|
|
|
e8fea25 |
%dir %{_includedir}/google
|
|
|
e8fea25 |
%{_includedir}/google/*.h
|
|
|
e8fea25 |
|
|
|
e8fea25 |
%changelog
|
|
|
53a40fa |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
|
|
|
53a40fa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
53a40fa |
|
|
|
15b16e6 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
|
|
|
15b16e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
15b16e6 |
|
|
|
c6d112a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
|
|
|
c6d112a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c6d112a |
|
|
|
2952385 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
2952385 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2952385 |
|
|
|
6d530a9 |
* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.3-1
|
|
|
6d530a9 |
- Updated to 1.3
|
|
|
6d530a9 |
- Removed python bindings (they are separate project now)
|
|
|
6d530a9 |
|
|
|
2e77956 |
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2-1
|
|
|
2e77956 |
- Updated to 1.2
|
|
|
2e77956 |
|
|
|
0f97337 |
* Wed Aug 05 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.1-1
|
|
|
0f97337 |
- removed extra files included in %%files section and updated to 1.1
|
|
|
0f97337 |
|
|
|
5745337 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
|
|
5745337 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5745337 |
|
|
|
9e7377f |
* Fri Feb 27 2009 Debarshi Ray <rishi@fedoraproject.org> - 1.0-3
|
|
|
9e7377f |
- Fixed build failure with gcc-4.4.
|
|
|
9e7377f |
|
|
|
cb8767f |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
cb8767f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
cb8767f |
|
|
|
6bb79d4 |
* Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.0-1
|
|
|
6bb79d4 |
- Updated to 1.0.
|
|
|
6bb79d4 |
|
|
|
1501590 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9-7
|
|
|
1501590 |
- Rebuild for Python 2.6
|
|
|
1501590 |
|
|
|
e8fea25 |
* Thu Sep 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-6
|
|
|
e8fea25 |
- fixed for F-8 provide eggs for non setuptools package
|
|
|
e8fea25 |
|
|
|
e8fea25 |
* Thu Sep 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-5
|
|
|
e8fea25 |
- disable test suite because it failed on x86_64 (2/17)
|
|
|
e8fea25 |
|
|
|
e8fea25 |
* Thu Aug 26 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-4
|
|
|
e8fea25 |
- fixed %%{includedir}
|
|
|
e8fea25 |
|
|
|
e8fea25 |
* Thu Aug 14 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-3
|
|
|
e8fea25 |
- fixed documentation, timestamp saving
|
|
|
e8fea25 |
- removed chrpath & cleaned some unwanted commands
|
|
|
e8fea25 |
- included python module
|
|
|
e8fea25 |
|
|
|
e8fea25 |
* Sat Aug 09 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-2
|
|
|
e8fea25 |
- remove automake and corrected configure option
|
|
|
e8fea25 |
|
|
|
e8fea25 |
* Thu Aug 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.9-1
|
|
|
e8fea25 |
- Initial build
|