Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
gflags
gflags.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gflags.spec of Package gflags
# # spec file for package gflags # # Copyright (c) 2012-2018 Wojciech Kazubski, wk@ire.pw.edu.pl # Name: gflags Version: 2.2.2 Release: 5.1 Summary: Commandline flags processing License: BSD-3-Clause Group: Development/Libraries/C and C++ Source: http://gflags.googlecode.com/files/%{name}-%{version}.tar.gz URL: https://code.google.com/p/gflags/ BuildRequires: cmake gcc-c++ pkg-config %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 -n libgflags2 Summary: Library for commandline flags processing Group: Development/Libraries/C and C++ Requires: %{name} %description -n libgflags2 Library that implements commandline flags processing. %package devel Summary: Development files for libgflags Group: Development/Libraries/C and C++ Requires: libgflags2 = %{version}-%{release} AutoReq: on %description devel Library headers for libgflag library. %prep %setup -q %build mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=ON \ %ifarch x86_64 -DLIB_SUFFIX=64 \ %endif make %{?_smp_mflags} %install cd build make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_datadir}/doc # odd file installed rm -rf %{buildroot}/home %post -n libgflags2 -p /sbin/ldconfig %postun -n libgflags2 -p /sbin/ldconfig %files %{_bindir}/gflags_completions.sh %doc AUTHORS.txt ChangeLog.txt COPYING.txt README.md %files -n libgflags2 %{_libdir}/libgflags*.so.* %files devel %{_libdir}/libgflags*.so %{_includedir}/gflags %{_libdir}/cmake/gflags %{_libdir}/pkgconfig/gflags.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor