78 lines
2.1 KiB
RPMSpec
78 lines
2.1 KiB
RPMSpec
Name: libqoauth
|
|
Version: 2.0.0
|
|
Release: 2mamba
|
|
Summary: A Qt-based C++ library for OAuth authorization scheme
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/ayoy/qoauth
|
|
Source: https://github.com/ayoy/qoauth.git/v%{version}/qoauth-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqca-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n qoauth-%{version}
|
|
|
|
%build
|
|
%{_qt5_qmake}
|
|
%make \
|
|
STRIP=/bin/true \
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall \
|
|
STRIP=/bin/true \
|
|
INSTALL_ROOT=%{buildroot}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libqoauth.so.*
|
|
%doc LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/QtOAuth
|
|
%{_libdir}/libqoauth.so
|
|
%{_libdir}/*.prl
|
|
%{_libdir}/qt5/mkspecs/features/oauth.prf
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc doc/examples
|
|
%doc CHANGELOG README
|
|
|
|
%changelog
|
|
* Mon Apr 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
- specfile fixes, added debug package
|
|
|
|
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
- update to 2.0.0
|
|
|
|
* Mon Apr 04 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.0.1-1mamba
|
|
- package created by autospec
|