summaryrefslogtreecommitdiff
path: root/libpurple-protocol-msn-pecan.spec
blob: 2606cd32462d51d0f148867c239a2f329f6947f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Conditional build:
%bcond_without	tests		# build without tests

%define		realname msn-pecan
Summary:	Alternative MSN protocol plugin for libpurple
Name:		libpurple-protocol-%{realname}
Version:	0.1.2
Release:	1
License:	GPL v2+
Group:		Applications/Networking
URL:		http://code.google.com/p/msn-pecan/
Source0:	http://msn-pecan.googlecode.com/files/%{realname}-%{version}.tar.bz2
# Source0-md5:	e426455fa45b98edb86fb0d801eccdf9
%{?with_tests:BuildRequires:	check-devel >= 0.9.6}
BuildRequires:	gettext-devel
BuildRequires:	libpurple-devel
BuildRequires:	pkgconfig
Provides:	libpurple-protocol
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
The project aims to have a much faster development process, low
barrier for contributions, and close contact with the user-base.

Compared to Pidgin's official MSN plug-in:
 - Faster log-in
 - Fewer connection issues
 - Fewer crashes
 - Experimental direct connection support (fast file transfers)
 - Server-side storage for display names (private alias)
 - Support for handwritten messages (read-only)
 - Support for voice clips (receive-only)
 - Support for Plus! sounds (receive-only)
 - Option to hide Plus! tags

Other features:
 - Support for personal status messages
 - Support for offline messaging (read-only)
 - Send custom emoticons (Pidgin >= 2.5)

%prep
%setup -q -n %{realname}-%{version}

%build
%{__make} \
	CFLAGS="%{rpmcflags}" \
	Q=""

%install
rm -rf $RPM_BUILD_ROOT
install -Dp libmsn-pecan.so $RPM_BUILD_ROOT%{_libdir}/purple-2/libmsn-pecan.so
%{__make} install_locales \
	Q="" \
	DESTDIR=$RPM_BUILD_ROOT

%find_lang libmsn-pecan

%if %{with tests}
%{__make} -C tests clean
%{__make} -C tests
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files -f libmsn-pecan.lang
%defattr(644,root,root,755)
%doc AUTHORS TODO README pidgin-copyright ChangeLog
%attr(755,root,root) %{_libdir}/purple-2/libmsn-pecan.so