Group :: Sistema/Bibliotecas
RPM: libgflags
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libgflags
Summary: A commandline flags library that allows for distributed flags
Version: 2.1.2
Release: alt1
Group: System/Libraries
Url: http://code.google.com/p/gflags
License: BSD
Source: v%version.tar.gz
# Automatically added by buildreq on Wed Mar 30 2011
BuildRequires: gcc-c++ cmake
%description
The %name 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: A commandline flags library that allows for distributed flags
Group: Development/C++
Requires: %name = %version
%description devel
The %name-devel package contains static and debug libraries and header
files for developing applications that use the %name package.
%prep
%setup -n gflags-%version
%build
%cmake -DBUILD_SHARED_LIBS=True -DBUILD_gflags_nothreads_LIB=False
%cmake_build
%install
%cmakeinstall_std
%files
%doc *.txt
%_libdir/*.so.*
%_bindir/gflags_completions.sh
%files devel
%doc doc/*
%_includedir/gflags
%_libdir/*.so
%_libdir/cmake/*
##_libdir/pkgconfig/*.pc
%changelog
…
Todas as alterações você pod ver aqui
Summary: A commandline flags library that allows for distributed flags
Version: 2.1.2
Release: alt1
Group: System/Libraries
Url: http://code.google.com/p/gflags
License: BSD
Source: v%version.tar.gz
# Automatically added by buildreq on Wed Mar 30 2011
BuildRequires: gcc-c++ cmake
%description
The %name 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: A commandline flags library that allows for distributed flags
Group: Development/C++
Requires: %name = %version
%description devel
The %name-devel package contains static and debug libraries and header
files for developing applications that use the %name package.
%prep
%setup -n gflags-%version
%build
%cmake -DBUILD_SHARED_LIBS=True -DBUILD_gflags_nothreads_LIB=False
%cmake_build
%install
%cmakeinstall_std
%files
%doc *.txt
%_libdir/*.so.*
%_bindir/gflags_completions.sh
%files devel
%doc doc/*
%_includedir/gflags
%_libdir/*.so
%_libdir/cmake/*
##_libdir/pkgconfig/*.pc
%changelog
…
Todas as alterações você pod ver aqui