]>
Commit | Line | Data |
---|---|---|
7c59da2c | 1 | # TODO: |
2 | # - requirements of pidgin needed (libs) | |
74cb6b31 ER |
3 | %define pidgin_ver %(pkg-config --modversion pidgin 2>/dev/null || echo ERROR) |
4 | Summary: Guifications Plugin for Pidgin | |
ef3e8085 | 5 | Summary(pl.UTF-8): Wtyczka Guifications dla Pidginaa |
7c59da2c | 6 | Name: pidgin-plugin-guifications |
7 | Version: 2.14 | |
a952d5de | 8 | Release: 4 |
367e1de8 | 9 | Epoch: 1 |
3b411690 ER |
10 | License: GPL |
11 | Group: Applications/Communications | |
7c59da2c | 12 | #Source0: http://dl.sourceforge.net/guifications/pidgin-guifications-%{version}.tar.bz2 |
74cb6b31 | 13 | Source0: http://downloads.guifications.org/plugins/Guifications2/pidgin-guifications-%{version}.tar.bz2 |
7c59da2c | 14 | # Source0-md5: 3c7b126d255d0c768a4af699c4454481 |
c6ca1080 | 15 | URL: http://plugins.guifications.org/trac/wiki/Guifications |
a952d5de ER |
16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
7e346f8c | 18 | BuildRequires: gettext-devel |
cd154ab8 | 19 | BuildRequires: gtk+2-devel >= 2.0.0 |
7e346f8c | 20 | BuildRequires: intltool |
cd154ab8 | 21 | BuildRequires: libtool |
a952d5de | 22 | BuildRequires: libtool |
fbe27a1b | 23 | BuildRequires: pidgin-devel >= 2.2 |
cd154ab8 | 24 | BuildRequires: pkgconfig |
a952d5de | 25 | BuildRequires: sed >= 4.0 |
74cb6b31 ER |
26 | Requires: pidgin >= %{pidgin_ver} |
27 | Obsoletes: gaim-plugin-guifications | |
3b411690 ER |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
7c59da2c | 31 | Guifications is a Pidgin plugin that adds notification windows styled |
3b411690 ER |
32 | after those found in MSN, deadaim, and newer versions of AIM, Yahoo |
33 | instant messenger, and a lot of other applications. | |
34 | ||
09baa026 | 35 | %description -l pl.UTF-8 |
7c59da2c | 36 | Guifications to wtyczka dla Pidgina dodająca okienka powiadomień |
09baa026 | 37 | stylizowane na takie, jakie można napotkać w MSN, deadaimie i nowszych |
cd154ab8 JB |
38 | wersjach AIM-a, Yahoo Instant Messengerze oraz wielu innych |
39 | aplikacjach. | |
40 | ||
3b411690 | 41 | %prep |
7c59da2c | 42 | %setup -q -n pidgin-guifications-%{version} |
a952d5de ER |
43 | mv po/{no,nb}.po |
44 | sed -i -e '/ALL_LINGUAS/s,no,nb,' configure.ac | |
3b411690 ER |
45 | |
46 | %build | |
a952d5de ER |
47 | %{__libtoolize} |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__automake} | |
3b411690 ER |
51 | %configure |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
7c59da2c | 60 | %find_lang guifications |
3b411690 | 61 | |
7c59da2c | 62 | rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/*.{la,a} |
3b411690 ER |
63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
7c59da2c | 67 | %files -f guifications.lang |
3b411690 ER |
68 | %defattr(644,root,root,755) |
69 | %doc AUTHORS ChangeLog COPYING README doc/flow.png doc/flow.dia doc/QUOTES | |
7c59da2c | 70 | %attr(755,root,root) %{_libdir}/pidgin/*.so |
74cb6b31 | 71 | %{_pixmapsdir}/pidgin/guifications |