mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-14 23:50:38 +00:00
add argagg, fix libappimageupdate
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project "pkg" {
|
||||
rpm {
|
||||
spec = "argagg.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: argagg
|
||||
Version: 0.4.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple C++ command line argument/option parser
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/vietjtnguyen/argagg/
|
||||
Source0: https://github.com/vietjtnguyen/argagg/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
|
||||
%description
|
||||
This is yet another C++ command line argument/option parser. It was written as
|
||||
a simple and idiomatic alternative to other frameworks like getopt, Boost
|
||||
program options, TCLAP, and others. The goal is to achieve the majority of
|
||||
argument parsing needs in a simple manner with an easy to use API. It operates
|
||||
as a single pass over all arguments, recognizing flags prefixed by - (short) or
|
||||
-- (long) and aggregating them into easy to access structures with lots of
|
||||
convenience functions. It defers processing types until you access them, so the
|
||||
result structures end up just being pointers into the original command line
|
||||
argument C-strings. argagg supports POSIX recommended argument syntax
|
||||
conventions.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains the header files for developing applications
|
||||
that use %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: Developer documentation for %{name}
|
||||
|
||||
%description doc
|
||||
The %{name}-doc package contains the documentation for developing applications
|
||||
that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# ignore doctest warnings
|
||||
%cmake -DOXYGEN=ON
|
||||
# enter cmake build directory
|
||||
pushd redhat-linux-build
|
||||
mkdir share
|
||||
popd
|
||||
%cmake_build -t docs
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
ls -la redhat-linux-build/share
|
||||
|
||||
%files
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
|
||||
%files doc
|
||||
%doc %{_datadir}/doc/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri May 26 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated version to 0.4.6
|
||||
|
||||
* Fri Apr 28 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated version to 0.4.5
|
||||
|
||||
* Tue Apr 25 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated version to 0.4.4
|
||||
|
||||
* Tue Apr 25 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated version to 0.4.3
|
||||
|
||||
* Tue Apr 25 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated version to 0.4.2
|
||||
|
||||
* Sun Mar 05 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated description
|
||||
- Remove dependence on empty root package
|
||||
|
||||
* Sun Feb 19 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Disabled creation of debuginfo package
|
||||
|
||||
* Mon Feb 13 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Fixed License field and doc subpackage description typo
|
||||
|
||||
* Sat Feb 11 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Updated version to 0.2.2
|
||||
|
||||
* Fri Feb 10 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Separated documentation into a separate package
|
||||
|
||||
* Fri Feb 10 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Packaged version 0.2.1
|
||||
|
||||
* Mon Jan 30 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Added missing files specification for empty parent package
|
||||
|
||||
* Sun Jan 29 2017 Viet The Nguyen <vietjtnguyen@gmail.com>
|
||||
- Initial packaging
|
||||
@@ -23,6 +23,12 @@ BuildRequires: cmake3
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libappimage-devel curl-devel libX11-devel zlib-devel fuse-devel librsvg2-devel cairo-devel git-core
|
||||
BuildRequires: nlohmann-json-devel
|
||||
BuildRequires: pkgconfig(libgcrypt)
|
||||
BuildRequires: pkgconfig(gpgme)
|
||||
BuildRequires: pkgconfig(Qt5)
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: inotify-tools-devel
|
||||
BuildRequires: argagg-devel
|
||||
|
||||
%description
|
||||
Implements functionality for dealing with AppImage files. It is written in C++ and is using Boost.
|
||||
|
||||
Reference in New Issue
Block a user