[packages/tinydir] - new

qboosh qboosh at pld-linux.org
Sun Nov 19 10:18:37 CET 2023


commit 262f13fbe67b1fd9b484eee05deacccfd5f36000
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 19 09:06:04 2023 +0100

    - new

 tinydir.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/tinydir.spec b/tinydir.spec
new file mode 100644
index 0000000..d250d4c
--- /dev/null
+++ b/tinydir.spec
@@ -0,0 +1,55 @@
+Summary:	Lightweight, portable and easy to integrate C directory and file reader
+Summary(pl.UTF-8):	Lekka, przenośna i łatwa w integracji biblioteka C do odczytu katalogów i plików
+Name:		tinydir
+Version:	1.2.5
+Release:	1
+License:	BSD
+Group:		Libraries
+#Source0Download: https://github.com/cxong/tinydir/releases
+Source0:	https://github.com/cxong/tinydir/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	bdb6716f92999fe6ddeaf0a3307b63b2
+URL:		https://github.com/cxong/tinydir
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Lightweight, portable and easy to integrate C directory and file
+reader. TinyDir wraps dirent for POSIX and FindFirstFile for Windows.
+
+%description -l pl.UTF-8
+Lekka, przenośna i łatwa w integracji biblioteka do odczytu katalogów
+i plików w C. TinyDir obudowuje API dirent dla systemów zgodnych z
+POSIX oraz FindFirstFile dla Windows.
+
+%package devel
+Summary:	Lightweight, portable and easy to integrate C directory and file reader
+Summary(pl.UTF-8):	Lekka, przenośna i łatwa w integracji biblioteka C do odczytu katalogów i plików
+Group:		Development/Libraries
+
+%description devel
+Lightweight, portable and easy to integrate C directory and file
+reader. TinyDir wraps dirent for POSIX and FindFirstFile for Windows.
+
+%description devel -l pl.UTF-8
+Lekka, przenośna i łatwa w integracji biblioteka do odczytu katalogów
+i plików w C. TinyDir obudowuje API dirent dla systemów zgodnych z
+POSIX oraz FindFirstFile dla Windows.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_examplesdir}/%{name}-%{version}}
+
+cp -p tinydir.h $RPM_BUILD_ROOT%{_includedir}
+cp -p samples/*.{c,cpp,txt} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc COPYING README.md
+%{_includedir}/tinydir.h
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tinydir.git/commitdiff/262f13fbe67b1fd9b484eee05deacccfd5f36000



More information about the pld-cvs-commit mailing list