parent
93754de145
commit
d650715338
@ -0,0 +1 @@
|
|||||||
|
/v1.12.1.tar.gz
|
@ -0,0 +1,67 @@
|
|||||||
|
Name: libjwt
|
||||||
|
Version: 1.12.1
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: A Javascript Web Token library in C
|
||||||
|
|
||||||
|
License: MPLv2.0
|
||||||
|
URL: https://github.com/benmcollins/libjwt
|
||||||
|
Source0: https://github.com/benmcollins/libjwt/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: jansson-devel
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
A Javascript Web Token library in C
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
autoreconf -i
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc *.md
|
||||||
|
%{_libdir}/*.so.1*
|
||||||
|
%{_bindir}/jwtauth
|
||||||
|
%{_bindir}/jwtgen
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc *.md
|
||||||
|
%{_includedir}/jwt.h
|
||||||
|
%{_libdir}/libjwt.so
|
||||||
|
%{_libdir}/pkgconfig/libjwt.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Nov 7 10:50:01 EST 2020 Jared K. Smith <jsmith@fedoraproject.org> - 1.12.1-3
|
||||||
|
- More minor fixes for package review
|
||||||
|
|
||||||
|
* Tue Nov 3 04:59:39 EST 2020 Jared K. Smith <jsmith@fedoraproject.org> - 1.12.1-2
|
||||||
|
- Update dependencies for package review
|
||||||
|
|
||||||
|
* Thu Oct 29 09:45:39 EDT 2020 Jared K. Smith <jsmith@fedoraproject.org> - 1.12.1-1
|
||||||
|
- Initial packaging
|
Loading…
Reference in new issue