Last active
December 17, 2015 05:39
-
-
Save CapnKernel/5559383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%global srcname pidgin-lwqq | |
Name: %{srcname} | |
Version: 0.1d | |
Release: 5%{?dist} | |
Summary: QQ plugin for Pidgin | |
Group: Applications/Communications | |
License: GPLv3+ | |
URL: https://github.com/xiehuc/pidgin-lwqq | |
Source0: https://github.com/xiehuc/%{srcname}/archive/master.zip | |
BuildRequires: libpurple-devel >= 2.8.0 | |
BuildRequires: glib2-devel >= 2 | |
BuildRequires: cmake pkgconfig | |
BuildRequires: libcurl-devel >= 7.22 | |
BuildRequires: sqlite-devel | |
BuildRequires: gettext-devel | |
BuildRequires: libev-devel | |
Requires: pidgin | |
Requires: libpurple >= 2.8.0 | |
Requires: glib2 >= 2 | |
Requires: libcurl >= 7.22 | |
Requires: sqlite | |
Requires: gettext-libs | |
Requires: libev | |
%description | |
pidgin-lwqq is an open source plugin for the Pidgin IM client | |
which allows you to connect to the QQ network. | |
Features: | |
* send / recv buddy|group|discu messages | |
* send / recv picture messages | |
* send / recv qq face (you should use webqq faces theme in settings) | |
* send / recv input notify | shake message | |
* change buddy|group|discu markname | |
* avatar | |
* change buddy category | |
* confirm buddy added request | |
* visit buddy qzone | |
* group whisper message | |
* change status/business card | |
* support multi webqq account | |
* support send/recv offline file | |
* support font style | |
* support block group message | |
* support recv file trans | |
* support local qqnumber cache | |
* support add friend/group | |
* support import online chat log | |
%prep | |
# %setup -q -n %{srcname}-0.1-d | |
%setup -q -n %{srcname}-master | |
%build | |
(cd src && cmake -DVERBOSE=3 ..) | |
make -C src %{?_smp_mflags} | |
%install | |
[ "%{buildroot}" = "" ] || rm -rf "%{buildroot}" | |
make -C src DESTDIR="%{buildroot}" install | |
%files | |
%{_libdir}/purple-2/*.so | |
%{_datadir}/pixmaps/pidgin/*/*/*.png | |
%{_datadir}/pixmaps/pidgin/*/*/*.gif | |
%{_datadir}/pixmaps/pidgin/*/*/*.svg | |
%{_datadir}/empathy/icons/hicolor/*/apps/im-webqq.* | |
%{_datadir}/icons/hicolor/*/apps/webqq.* | |
%{_datadir}/pixmaps/pidgin/emotes/*/theme | |
%changelog | |
* Mon Apr 4 2013 Mitch Davis <mjd@afork.com> - 0.1d | |
- Bumped to 0.1d | |
* Mon Mar 11 2013 Mitch Davis <mjd@afork.com> - 0.1c | |
- First cut of spec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
悲惨 居然在仓库的版本为libpurple-devel 2.7.9