]> git.pld-linux.org Git - packages/bindinator.git/blob - bindinator.spec
- initial
[packages/bindinator.git] / bindinator.spec
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}
48 %configure \
49 %if "%{_host_cpu}" != "x32"
50         --host=%{_host} \
51         --build=%{_host}
52 %endif
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc AUTHORS LICENSE README.md
68 %attr(755,root,root) %{_bindir}/bindinate
69 %{_prefix}/lib/bindinator
This page took 0.086877 seconds and 3 git commands to generate.