[packages/bindinator] - initial
qboosh
qboosh at pld-linux.org
Fri Apr 22 19:43:40 CEST 2022
commit ae5f5f065c26977e5c045f0997d715037918f99b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Apr 22 19:43:47 2022 +0200
- initial
bindinator.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
---
diff --git a/bindinator.spec b/bindinator.spec
new file mode 100644
index 0000000..88e45c8
--- /dev/null
+++ b/bindinator.spec
@@ -0,0 +1,69 @@
+Summary: Tool to generate C# binding project
+Summary(pl.UTF-8): Narzędzie do generowania projektu z wiązaniami C#
+Name: bindinator
+Version: 1.0
+%define gitref c29b965e5ee4a9bd7fcf6b8f4d78dba6c9cbe6ac
+%define snap 20201020
+Release: 0.%{snap}.1
+License: MIT
+Group: Development/Tools
+Source0: https://github.com/GLibSharp/bindinator/archive/%{gitref}/%{name}-%{snap}.tar.gz
+# Source0-md5: 940e8b3f838000e7b428f01a7e47dec0
+URL: https://github.com/GLibSharp/bindinator
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+# gapi3-fixup
+BuildRequires: dotnet-gtk-sharp3-devel
+BuildRequires: gobject-introspection-devel
+# uuidgen
+BuildRequires: libuuid
+BuildRequires: libxml2-progs
+BuildRequires: libxslt-progs
+BuildRequires: pkgconfig
+BuildRequires: unix2dos
+Requires: dotnet-gtk-sharp3-devel
+Requires: libuuid
+Requires: libxml2-progs
+Requires: libxslt-progs
+Requires: pkgconfig
+Requires: unix2dos
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The bindinator installs a tool called bindinate, which can be called
+with the name of a gir file to generate a C# binding project.
+
+%description -l pl.UTF-8
+Pakiet bindinator zawiera narzędzie o nazwie bindinate, które po
+wywołaniu z nazwą pliku gir generuje projekt z wiązaniami C#.
+
+%prep
+%setup -q -n %{name}-%{gitref}
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+%if "%{_host_cpu}" != "x32"
+ --host=%{_host} \
+ --build=%{_host}
+%endif
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE README.md
+%attr(755,root,root) %{_bindir}/bindinate
+%{_prefix}/lib/bindinator
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bindinator.git/commitdiff/ae5f5f065c26977e5c045f0997d715037918f99b
More information about the pld-cvs-commit
mailing list