diff --git a/dianara.spec b/dianara.spec index 5c3eb1d..97cefa3 100644 --- a/dianara.spec +++ b/dianara.spec @@ -1,55 +1,53 @@ Name: dianara -Version: 1.3.2 -Release: 2mamba +Version: 1.4.3 +Release: 1mamba Summary: A pump.io client Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino +Packager: Silvan Calarco URL: http://dianara.nongnu.org Source: http://download.savannah.gnu.org/releases/dianara/dianara-v%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc -BuildRequires: libqca-devel -BuildRequires: libqjson-devel +BuildRequires: libglvnd-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libqca-qt5-devel BuildRequires: libqoauth-devel -BuildRequires: libqt4-devel +BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: libqoauth-devel >= 2.0.0-1mamba BuildRequires: libmagic-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Dianara is a pump.io client, a desktop application for GNU/linux that allows users to manage their Pump.io social networking accounts without the need to use a web browser. +%debug_package + %prep %setup -q -n %{name}-v%{version} -sed -i 's,\(target.path = \).*$,\1%{buildroot}%{_bindir},' Dianara.pro +#sed -i 's,\(target.path = \).*$,\1%{buildroot}%{_bindir},' Dianara.pro %build -%{_qt4_qmake} +%{_qt5_qmake} + +# FIXME: why /usr/include5/QtOauth ? +sed -i "s|/usr/include5|/usr/include|" Makefile + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +make install INSTALL_ROOT=%{buildroot} STRIP=/bin/true # install i18n files install -d %{buildroot}%{_datadir}/dianara/locale install -m0644 translations/*.qm \ %{buildroot}%{_datadir}/dianara/locale/ - -# install icon -install -D -m0644 icon/64x64/dianara.png \ - %{buildroot}%{_datadir}/pixmaps/dianara.png - -# install desktop file -desktop-file-install \ - --dir=%{buildroot}%{_datadir}/applications \ - dianara.desktop %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -57,12 +55,17 @@ desktop-file-install \ %files %defattr(-,root,root) %{_bindir}/dianara +%{_datadir}/applications/org.nongnu.dianara.desktop +%{_datadir}/metainfo/org.nongnu.dianara.appdata.xml %{_datadir}/dianara/locale/*.qm -%{_datadir}/pixmaps/*.png -%{_datadir}/applications/*.desktop -%doc BUGS CHANGELOG LICENSE README TODO +%{_datadir}/icons/hicolor/*/apps/dianara.png +%{_mandir}/man1/dianara.1* +%doc LICENSE %changelog +* Thu Apr 21 2022 Automatic Build System 1.4.3-1mamba +- automatic version update by autodist + * Mon May 25 2020 Silvan Calarco 1.3.2-2mamba - rebuilt by autoport with build requirements: libqoauth-devel>=2.0.0-1mamba