specfile fixes, added debug package [release 2.0.0-2mamba;Mon Apr 18 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:30:06 +01:00
parent 6289764e5b
commit 9bab7f42a3

View File

@ -1,14 +1,13 @@
Name: libqoauth Name: libqoauth
Version: 2.0.0 Version: 2.0.0
Release: 1mamba Release: 2mamba
Summary: A Qt-based C++ library for OAuth authorization scheme Summary: A Qt-based C++ library for OAuth authorization scheme
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://github.com/ayoy/qoauth URL: https://github.com/ayoy/qoauth
Source: https://github.com/ayoy/qoauth.git/v%{version}/qoauth-%{version}.tar.bz2 Source: https://github.com/ayoy/qoauth.git/v%{version}/qoauth-%{version}.tar.bz2
#Source: http://files.ayoy.net/qoauth/release/%{version}/src/qoauth-%{version}-src.tar.bz2
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -17,7 +16,6 @@ BuildRequires: libqca-devel
BuildRequires: libqt5-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently. QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently.
@ -29,19 +27,22 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently. 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.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q -n qoauth-%{version} %setup -q -n qoauth-%{version}
%build %build
%{_qt5_qmake} %{_qt5_qmake}
%make %make \
STRIP=/bin/true \
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \ %makeinstall \
STRIP=/bin/true \
INSTALL_ROOT=%{buildroot} INSTALL_ROOT=%{buildroot}
%clean %clean
@ -52,8 +53,8 @@ This package contains static libraries and header files need for development.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libqoauth.so.*
%doc CHANGELOG LICENSE README %doc LICENSE
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -63,8 +64,12 @@ This package contains static libraries and header files need for development.
%{_libdir}/qt5/mkspecs/features/oauth.prf %{_libdir}/qt5/mkspecs/features/oauth.prf
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%doc doc/examples %doc doc/examples
%doc CHANGELOG README
%changelog %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 * Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0 - update to 2.0.0