Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37755405
en ru br
ALT Linux repos
S:2.2.2-alt3

Group :: System/Libraries
RPM: libgflags

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin