From 16460218218d1c3b05f46c0dfc0fa9f59493e5c9 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Fri, 5 Jan 2024 21:46:37 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1beta1-1mamba;Tue Jan 07 2014] --- README.md | 2 ++ dianara.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 dianara.spec diff --git a/README.md b/README.md index 3cf123d..1439607 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # dianara +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. + diff --git a/dianara.spec b/dianara.spec new file mode 100644 index 0000000..ba559a6 --- /dev/null +++ b/dianara.spec @@ -0,0 +1,65 @@ +Name: dianara +Version: 1.1beta1 +Release: 1mamba +Summary: A pump.io client +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +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: libqoauth-devel +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +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. + +%prep +%setup -q -n %{name}-v%{version} +sed -i 's,\(target.path = \).*$,\1%{buildroot}%{_bindir},' Dianara.pro + +%build +%{_qt4_qmake} +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +# 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}" + +%files +%defattr(-,root,root) +%{_bindir}/dianara +%{_datadir}/dianara/locale/*.qm +%{_datadir}/pixmaps/*.png +%{_datadir}/applications/*.desktop +%doc BUGS CHANGELOG LICENSE README TODO + +%changelog +* Tue Jan 07 2014 Stefano Cotta Ramusino 1.1beta1-1mamba +- package created using the webbuild interface