From 9bab7f42a3b098a5f0ee90850d81386afc86bd59 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:30:06 +0100 Subject: [PATCH] specfile fixes, added debug package [release 2.0.0-2mamba;Mon Apr 18 2022] --- libqoauth.spec | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/libqoauth.spec b/libqoauth.spec index 5a05b33..728df88 100644 --- a/libqoauth.spec +++ b/libqoauth.spec @@ -1,14 +1,13 @@ Name: libqoauth Version: 2.0.0 -Release: 1mamba +Release: 2mamba Summary: A Qt-based C++ library for OAuth authorization scheme Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino -URL: http://github.com/ayoy/qoauth -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 +Packager: Silvan Calarco +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 @@ -17,7 +16,6 @@ BuildRequires: libqca-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description 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 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 %setup -q -n qoauth-%{version} %build %{_qt5_qmake} -%make +%make \ + STRIP=/bin/true \ %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ + STRIP=/bin/true \ INSTALL_ROOT=%{buildroot} %clean @@ -52,8 +53,8 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_libdir}/*.so.* -%doc CHANGELOG LICENSE README +%{_libdir}/libqoauth.so.* +%doc LICENSE %files devel %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}/pkgconfig/*.pc %doc doc/examples +%doc CHANGELOG README %changelog +* Mon Apr 18 2022 Silvan Calarco 2.0.0-2mamba +- specfile fixes, added debug package + * Wed Dec 14 2016 Silvan Calarco 2.0.0-1mamba - update to 2.0.0