| 1 |
Summary: pump.io social network client |
| 2 |
Name: dianara |
| 3 |
Version: 0.9 |
| 4 |
Release: %mkrel 1 |
| 5 |
License: GPLv2+ |
| 6 |
Group: Networking/News |
| 7 |
URL: http://jancoding.wordpress.com/dianara/ |
| 8 |
Source0: http://qt-apps.org/CONTENT/content-files/148103-dianara-v%{version}.tar.gz |
| 9 |
BuildRequires: libqt4-devel |
| 10 |
BuildRequires: qjson-devel |
| 11 |
BuildRequires: libqoauth-devel |
| 12 |
BuildRequires: imagemagick |
| 13 |
Requires: qt4-common |
| 14 |
Requires: libqjson |
| 15 |
Requires: libqoauth |
| 16 |
Requires: qca2-plugin-openssl |
| 17 |
|
| 18 |
%description |
| 19 |
Dianara is a pump.io client, a desktop application for GNU/linux |
| 20 |
that allows users to manage their Pump.io social networking |
| 21 |
accounts without the need to use a web browser. |
| 22 |
|
| 23 |
%prep |
| 24 |
%setup -qn %{name}-v%{version} |
| 25 |
|
| 26 |
%build |
| 27 |
qmake |
| 28 |
%make |
| 29 |
|
| 30 |
%install |
| 31 |
%define apps %{_datadir}/applications/ |
| 32 |
%define pixmaps %{_datadir}/pixmaps/ |
| 33 |
%define locale %{_datadir}/%{name}/locale/ |
| 34 |
|
| 35 |
rm -rf %{buildroot} |
| 36 |
|
| 37 |
mkdir -p %{buildroot}%{_bindir}/ |
| 38 |
cp -p %{name} %{buildroot}%{_bindir}/ |
| 39 |
|
| 40 |
mkdir -p %{buildroot}%{apps} |
| 41 |
cp -p %{name}.desktop %{buildroot}%{apps} |
| 42 |
|
| 43 |
mkdir -p %{buildroot}%{pixmaps} |
| 44 |
cp -p icon/64x64/%{name}.png %{buildroot}%{pixmaps}%{name}.png |
| 45 |
|
| 46 |
mkdir -p %{buildroot}%{locale} |
| 47 |
cp -p translations/*.qm %{buildroot}%{locale} |
| 48 |
|
| 49 |
%files |
| 50 |
%doc CHANGELOG LICENSE README INSTALL BUGS TODO |
| 51 |
%{_bindir}/%{name} |
| 52 |
%{apps}%{name}.desktop |
| 53 |
%{pixmaps}%{name}.png |
| 54 |
%{locale}*.qm |
| 55 |
|