]>
Commit | Line | Data |
---|---|---|
ae5f5f06 JB |
1 | Summary: Tool to generate C# binding project |
2 | Summary(pl.UTF-8): Narzędzie do generowania projektu z wiązaniami C# | |
3 | Name: bindinator | |
4 | Version: 1.0 | |
5 | %define gitref c29b965e5ee4a9bd7fcf6b8f4d78dba6c9cbe6ac | |
6 | %define snap 20201020 | |
7 | Release: 0.%{snap}.1 | |
8 | License: MIT | |
9 | Group: Development/Tools | |
10 | Source0: https://github.com/GLibSharp/bindinator/archive/%{gitref}/%{name}-%{snap}.tar.gz | |
11 | # Source0-md5: 940e8b3f838000e7b428f01a7e47dec0 | |
12 | URL: https://github.com/GLibSharp/bindinator | |
13 | BuildRequires: autoconf >= 2.50 | |
14 | BuildRequires: automake | |
15 | # gapi3-fixup | |
16 | BuildRequires: dotnet-gtk-sharp3-devel | |
17 | BuildRequires: gobject-introspection-devel | |
18 | # uuidgen | |
19 | BuildRequires: libuuid | |
20 | BuildRequires: libxml2-progs | |
21 | BuildRequires: libxslt-progs | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: unix2dos | |
24 | Requires: dotnet-gtk-sharp3-devel | |
25 | Requires: libuuid | |
26 | Requires: libxml2-progs | |
27 | Requires: libxslt-progs | |
28 | Requires: pkgconfig | |
29 | Requires: unix2dos | |
30 | BuildArch: noarch | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | The bindinator installs a tool called bindinate, which can be called | |
35 | with the name of a gir file to generate a C# binding project. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Pakiet bindinator zawiera narzędzie o nazwie bindinate, które po | |
39 | wywołaniu z nazwą pliku gir generuje projekt z wiązaniami C#. | |
40 | ||
41 | %prep | |
42 | %setup -q -n %{name}-%{gitref} | |
43 | ||
44 | %build | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
2235f3e7 | 48 | # provide libdir consistent with .xslt files paths defined in configure |
ae5f5f06 JB |
49 | %configure \ |
50 | %if "%{_host_cpu}" != "x32" | |
51 | --host=%{_host} \ | |
2235f3e7 | 52 | --build=%{_host} \ |
ae5f5f06 | 53 | %endif |
2235f3e7 | 54 | --libdir=%{_prefix}/lib |
ae5f5f06 JB |
55 | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS LICENSE README.md | |
70 | %attr(755,root,root) %{_bindir}/bindinate | |
71 | %{_prefix}/lib/bindinator |