Compare commits

..

No commits in common. "rawhide" and "f24" have entirely different histories.

4 changed files with 72 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/valabind-0.9.2-cd4051f.tar.gz
/valabind-0.10.0.tar.gz

View file

@ -1 +0,0 @@
valabind fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676180

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (valabind-0.10.0.tar.gz) = 8a1cb5d9c0960df0832d7c72a5204a24ec56f7ced9defe80636670502d6807db63af31fb3d0b0970bb35e27c907455270aa1b898ab1a8818373a271849fb388d

69
valabind.spec Normal file
View file

@ -0,0 +1,69 @@
%global gituser radare
%global gitname valabind
#%global commit cd4051f6a7f63b297f3950c11a30f468351cbd69
#%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: valabind
Version: 0.10.0
Release: 1%{?dist}
Summary: Transform vala or vapi files into swig, C++, NodeJS-ffi, or GIR
Group: Applications/Engineering
License: GPLv3+
URL: https://github.com/radare/valabind
#Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}.tar.gz
BuildRequires: vala-devel
#Original package was planned to possibly co-exist in multiple versions
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%description
Valabind is a tool to parse vala[1] or vapi files to transform them
into swig[2] interface files, C++, NodeJS-ffi or GIR. With swig, you
can create language bindings for any API written in vala or C with a
vapi interface. It can also generate bindings for C++.
%prep
#%setup -qn %{gitname}-%{commit}
%setup -qn %{name}-%{version}
%build
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
%install
make install DESTDIR="%{buildroot}"
%files
%doc AUTHORS NOTES README.md TODO.md THANKS
%license LICENSE
%{_bindir}/%{name}
%{_bindir}/%{name}-cc
%{_mandir}/man1/*.1*
%changelog
* Fri Dec 09 2016 Filipe Rosset <rosset.filipe@gmail.com> - 0.10.0-1
- Rebuilt for new upstream release 0.10.0, fixes rhbz #1310921
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.9.2-5
- Rebuilt for vala 0.34
* Mon Mar 07 2016 Kalev Lember <klember@redhat.com> - 0.9.2-4
- Rebuilt for vala 0.32
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Oct 18 2015 Michal Ambroz <rebus AT_ seznam.cz> - 0.9.2-2
- move the license to the new directory
* Sun Oct 11 2015 Michal Ambroz <rebus AT_ seznam.cz> - 0.9.2-1
- bump to 0.9.2
* Mon May 25 2015 Michal Ambroz <rebus AT_ seznam.cz> - 0.9.0-1
- bump to 0.9.0
* Tue Dec 17 2013 Eric Smith <spacewar@gmail.com> - 0.7.4-2
- Pass global_ldflags to make.
* Sat Nov 30 2013 Eric Smith <spacewar@gmail.com> - 0.7.4-1
- Initial version.