[packages/blueprint-compiler] - new
qboosh
qboosh at pld-linux.org
Sun May 4 21:56:52 CEST 2025
commit d564c861d7a1dc271de9cc25caea6db930c718b1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 4 21:51:59 2025 +0200
- new
blueprint-compiler.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
---
diff --git a/blueprint-compiler.spec b/blueprint-compiler.spec
new file mode 100644
index 0000000..e1353c7
--- /dev/null
+++ b/blueprint-compiler.spec
@@ -0,0 +1,69 @@
+Summary: Markup language for GTK user interface files
+Summary(pl.UTF-8): Język znaczników dla plików interfejsów użytkownika GTK
+Name: blueprint-compiler
+Version: 0.16.0
+Release: 1
+License: LGPL v3+
+Group: Development/Tools
+#Source0Download: https://gitlab.gnome.org/GNOME/blueprint-compiler/-/releases
+Source0: https://gitlab.gnome.org/GNOME/blueprint-compiler/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# Source0-md5: 1980201be2c6b7575ba414db0ecddc01
+URL: https://gnome.pages.gitlab.gnome.org/blueprint-compiler/
+BuildRequires: meson
+BuildRequires: ninja >= 1.5
+BuildRequires: python3 >= 1:3
+BuildRequires: rpmbuild(macros) >= 2.042
+Requires: gobject-introspection
+Requires: python3-pygobject3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GtkBuilder XML format is quite verbose, and many app developers don't
+like using WYSIWYG editors for creating UIs. Blueprint files are
+intended to be a concise, easy-to-read format that makes it easier to
+create and edit GTK UIs.
+
+Internally, it compiles to GtkBuilder XML as part of an app's build
+system. It adds no new features, just makes the features that exist
+more accessible.
+
+%description -l pl.UTF-8
+Format GtkBuilder XML jest dosyć szczegółowy, a programiści wielu
+aplikacji nie lubią korzystać z edytorów WYSIWYG do tworzenia
+interfejsów użytkownika. Pliki Blueprint są z założenia zwięzłym,
+łatwym do czytania formatem, ułatwiającym tworzenie i edycję
+interfejsów użytkownika GTK.
+
+Wewnętrznie program kompiluje do formatu GtkBuilderXML XML jako część
+systemu budowania aplikacji. Nie dodaje nowych możliwości, po prostu
+ułatwia dostęp do istniejących.
+
+%prep
+%setup -q -n %{name}-v%{version}
+
+%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' blueprint-compiler.py
+
+%build
+%meson \
+ -Ddocs=true
+
+%meson_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%meson_install
+
+%py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
+%py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS.md README.md
+%attr(755,root,root) %{_bindir}/blueprint-compiler
+%{py3_sitescriptdir}/blueprintcompiler
+%{_npkgconfigdir}/blueprint-compiler.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/blueprint-compiler.git/commitdiff/d564c861d7a1dc271de9cc25caea6db930c718b1
More information about the pld-cvs-commit
mailing list