[packages/stb] - new
qboosh
qboosh at pld-linux.org
Fri Mar 28 07:42:43 CET 2025
commit b2ff09a83931e7e4615367bbc002b2af0632402c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 28 06:21:34 2025 +0100
- new
stb.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 96 insertions(+)
---
diff --git a/stb.spec b/stb.spec
new file mode 100644
index 0000000..bd1e8ac
--- /dev/null
+++ b/stb.spec
@@ -0,0 +1,96 @@
+Summary: Single file public domain libraries for C/C++
+Summary(pl.UTF-8): Składające się z pojedynczego pliku biblioteki public domain dla C/C++
+Name: stb
+Version: 0
+%define gitref f0569113c93ad095470c54bf34a17b36646bbbb5
+%define snap 20250315
+%define rel 1
+Release: 0.%{snap}.%{rel}
+License: MIT or Public Domain
+Group: Development/Libraries
+Source0: https://github.com/nothings/stb/archive/%{gitref}/%{name}-%{snap}.tar.gz
+# Source0-md5: 5e1a85189b0a2321dc86793c08c5d3dc
+URL: https://github.com/nothings/stb
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+single-file public domain (or MIT licensed) libraries for C/C++
+
+%description -l pl.UTF-8
+Jednoplikowe biblioteki C/C++ wydane jako domena publiczna (lub na
+licencji MIT).
+
+%package devel
+Summary: Single file public domain libraries for C/C++
+Summary(pl.UTF-8): Składające się z pojedynczego pliku biblioteki public domain dla C/C++
+Group: Development/Libraries
+# versions from individual files (see first lines to update)
+Provides: stb_c_lexer-devel = 0.12-%{release}
+Provides: stb_connected_components-devel = 0.96-%{release}
+Provides: stb_divide-devel = 0.94-%{release}
+Provides: stb_ds-devel = 0.67-%{release}
+Provides: stb_dxt-devel = 1.12-%{release}
+Provides: stb_easy_font-devel = 1.1-%{release}
+Provides: stb_herringbone_wang_tile-devel = 0.7-%{release}
+Provides: stb_hexwave-devel = 0.5-%{release}
+Provides: stb_image-devel = 2.30-%{release}
+Provides: stb_image_resize-devel = 0.97-%{release}
+Provides: stb_image_resize2-devel = 2.13-%{release}
+Provides: stb_image_write-devel = 1.16-%{release}
+Provides: stb_include-devel = 0.02-%{release}
+Provides: stb_leakcheck-devel = 0.6-%{release}
+Provides: stb_perlin-devel = 0.5-%{release}
+Provides: stb_rect_pack-devel = 1.01-%{release}
+Provides: stb_sprintf-devel = 1.10-%{release}
+Provides: stb_textedit-devel = 1.14-%{release}
+Provides: stb_tilemap_editor-devel = 0.42-%{release}
+Provides: stb_truetype-devel = 1.26-%{release}
+Provides: stb_vorbis = 1.22-%{release}
+Provides: stb_voxel_render = 0.89-%{release}
+
+%description devel
+single-file public domain (or MIT licensed) libraries for C/C++
+
+%description devel -l pl.UTF-8
+Jednoplikowe biblioteki C/C++ wydane jako domena publiczna (lub na
+licencji MIT).
+
+%prep
+%setup -q -n %{name}-%{gitref}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_includedir}
+
+cp -p stb*.[ch] $RPM_BUILD_ROOT%{_includedir}
+cp -p deprecated/stb_image_resize.h $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{_includedir}/stb_vorbis.c
+%{_includedir}/stb_c_lexer.h
+%{_includedir}/stb_connected_components.h
+%{_includedir}/stb_divide.h
+%{_includedir}/stb_ds.h
+%{_includedir}/stb_dxt.h
+%{_includedir}/stb_easy_font.h
+%{_includedir}/stb_herringbone_wang_tile.h
+%{_includedir}/stb_hexwave.h
+%{_includedir}/stb_image.h
+%{_includedir}/stb_image_resize.h
+%{_includedir}/stb_image_resize2.h
+%{_includedir}/stb_image_write.h
+%{_includedir}/stb_include.h
+%{_includedir}/stb_leakcheck.h
+%{_includedir}/stb_perlin.h
+%{_includedir}/stb_rect_pack.h
+%{_includedir}/stb_sprintf.h
+%{_includedir}/stb_textedit.h
+%{_includedir}/stb_tilemap_editor.h
+%{_includedir}/stb_truetype.h
+%{_includedir}/stb_voxel_render.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/stb.git/commitdiff/b2ff09a83931e7e4615367bbc002b2af0632402c
More information about the pld-cvs-commit
mailing list