Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 584f20363e55a2f60e852093b785d399 > files > 1

cutegram-2.0.0-1.mga5.src.rpm

Name:		cutegram
Version:	2.0.0
Release:	%mkrel 1
Summary:	A different telegram client from Aseman team

Group:		Networking/Instant messaging
License:	GPLv3
URL:		http://aseman.co/en/products/cutegram/
Source:		https://github.com/Aseman-Land/Cutegram/archive/v%{version}-stable.tar.gz

BuildRequires:	pkgconfig(Qt5Quick)
BuildRequires:	pkgconfig(qtelegram)
BuildRequires:	qtbase5-devel
BuildRequires:	qttools5

Requires:	gstreamer0.10-plugins-good
Requires:	qtbase5-database-plugin-sqlite
Requires:	qtdeclarative5
Requires:	qtgraphicaleffects5
Requires:	qtmultimedia5
Requires:	qtquickcontrols5

%description
Cutegram is created to make a better client for telegram on GNU/Linux
desktops. It has smart and beautiful user interface that supports drag
and drop to send files and delete or forward messages.


%prep
%autosetup -n Cutegram-%{version}-stable

# Add Estonian translation
lrelease Cutegram/translations_sources/lang-et.ts -qm Cutegram/translations/lang-et.qm

%build
%qmake_qt5

%make


%install
%qmakeinstall_std

# not needed
rm -rf %{buildroot}%{_datadir}/%{name}/icons


%files
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/Cutegram.desktop
%{_datadir}/%{name}
%{_iconsdir}/%{name}.png
%{_datadir}/pixmaps/%{name}.png
%{_iconsdir}/hicolor/*/apps/%{name}.png


%changelog
* Sat Feb 21 2015 sander85 <sander85> 2.0.0-1.mga5
+ Revision: 816249
- New version: 2.0.0

* Wed Jan 21 2015 sander85 <sander85> 1.0.1-4.mga5
+ Revision: 811700
- qtbase5-database-plugin-sqlite is also needed to work properly

* Fri Jan 16 2015 sander85 <sander85> 1.0.1-3.mga5
+ Revision: 810960
- Add Estonian translation

* Fri Jan 16 2015 sander85 <sander85> 1.0.1-2.mga5
+ Revision: 810955
- Minor fixes from upstream

* Thu Jan 15 2015 sander85 <sander85> 1.0.1-1.mga5
+ Revision: 810789
- New version: 1.0.1

* Thu Jan 15 2015 sander85 <sander85> 1.0.0-3.mga5
+ Revision: 810773
- Requires gstreamer0.10-plugins-good to play notification sounds

* Thu Jan 15 2015 sander85 <sander85> 1.0.0-2.mga5
+ Revision: 810760
- Use upstream patch to fix install location and add .desktop file

* Wed Jan 14 2015 sander85 <sander85> 1.0.0-1.mga5
+ Revision: 810674
- imported package cutegram