[packages/c-stdaux] new

atler atler at pld-linux.org
Tue Jan 9 23:01:56 CET 2024


commit 10d311db9f5d9c38ae7fb116842c51d96c4f9f91
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jan 9 22:58:45 2024 +0100

    new

 c-stdaux.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
---
diff --git a/c-stdaux.spec b/c-stdaux.spec
new file mode 100644
index 0000000..8c79220
--- /dev/null
+++ b/c-stdaux.spec
@@ -0,0 +1,59 @@
+Summary:	Auxiliary macros and functions for the C standard library
+Name:		c-stdaux
+Version:	1.5.0
+Release:	1
+License:	Apache 2.0 or LGPL v2.1+
+Group:		Libraries
+Source0:	https://github.com/c-util/c-stdaux/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	c2694ec5ecf3097facbf7be734bea519
+URL:		https://c-util.github.io/c-stdaux/
+BuildRequires:	meson >= 0.60.0
+BuildRequires:	ninja
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The c-stdaux project contains support macros and auxiliary functions
+around the functionality of common C standard libraries. This includes
+helpers for the ISO C Standard Library, but also other common
+specifications like POSIX or common extended features of widespread
+compilers like gcc and clang.
+
+%package devel
+Summary:	Auxiliary macros and functions for the C standard library
+Group:		Development/Libraries
+
+%description devel
+The c-stdaux project contains support macros and auxiliary functions
+around the functionality of common C standard libraries. This includes
+helpers for the ISO C Standard Library, but also other common
+specifications like POSIX or common extended features of widespread
+compilers like gcc and clang.
+
+%prep
+%setup -q
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_npkgconfigdir}
+
+%ninja_install -C build
+
+%{__mv} $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc $RPM_BUILD_ROOT%{_npkgconfigdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS.md README.md
+%{_includedir}/c-stdaux*.h
+%{_npkgconfigdir}/libcstdaux-1.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/c-stdaux.git/commitdiff/10d311db9f5d9c38ae7fb116842c51d96c4f9f91



More information about the pld-cvs-commit mailing list