]> git.pld-linux.org Git - packages/xchat-gnome.git/blob - xchat-gnome.spec
- up to 0.6
[packages/xchat-gnome.git] / xchat-gnome.spec
1 Summary:        Graphical IRC (chat) client
2 Summary(de):    IRC-Client (Chat) mit grafischer Oberfläche
3 Summary(fr):    Client IRC (chat) avec interface graphique
4 Summary(pl):    Graficzny klient IRC (chat)
5 Name:           xchat-gnome
6 Version:        0.6
7 Release:        0.1
8 Group:          X11/Applications/Networking
9 License:        GPL
10 Source0:        http://flapjack.navi.cx/releases/%{name}/%{name}-%{version}.tar.bz2
11 # Source0-md5:  ef76823773da1e216c580cc0e289d2b4
12 Patch0: xchat-long-delimiter.patch
13 URL:            http://xchat.org/
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2.0.0
16 BuildRequires:  python-devel
17 Requires(post): GConf2
18 Conflicts:      xchat
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 A GUI IRC client with DCC file transfers, C plugin interface, Perl and
23 Python scripting capability, mIRC color, shaded transparency, tabbed
24 channels and more.
25
26 %description -l pl
27 Klient IRC z graficznym interfejsem u¿ytkownika, z przesy³aniem plików
28 DCC, interfejsem do wtyczek w C, mo¿liwo¶ci± uruchamiania skryptów w
29 Perlu i Pythonie, obs³ug± kolorów mIRC-a, cieniowan±
30 przezroczysto¶ci±, zak³adkami z kana³ami itd.
31
32 %package perl
33 Summary:        XChat Perl plugin
34 Summary(pl):    Wtyczka Perla do XChata
35 Group:          X11/Applications/Networking
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       perl
38
39 %description perl
40 Provides Perl scripting capability to XChat.
41
42 %description perl -l pl
43 Wtyczka dodaj±ca do XChata mo¿liwo¶æ uruchamiania skryptów w Perlu.
44
45 %package python
46 Summary:        XChat Python plugin
47 Summary(pl):    Wtyczka Pythona do XChata
48 Group:          X11/Applications/Networking
49 Requires:       %{name} = %{version}-%{release}
50 Requires:       python >= 2.2.0
51
52 %description python
53 Provides Python scripting capability to XChat.
54
55 %description python -l pl
56 Wtyczka dodaj±ca do XChata mo¿liwo¶æ uruchamiania skryptów w Pythonie.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61
62 %build
63 %configure \
64         --disable-dependency-tracking \
65         --enable-gnomefe \
66         --enable-ipv6 \
67         --disable-tcl
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_desktopdir} \
73         $RPM_BUILD_ROOT%{_pixmapsdir} \
74         $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
75
76 %makeinstall
77 mv -f $RPM_BUILD_ROOT%{_libdir}/dbus.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
78 mv -f $RPM_BUILD_ROOT%{_libdir}/perl.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
79 mv -f $RPM_BUILD_ROOT%{_libdir}/python.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
80 mv -f $RPM_BUILD_ROOT%{_libdir}/notification.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
81 mv -f $RPM_BUILD_ROOT%{_libdir}/urlscraper.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
82 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
83
84 %find_lang xchat-gnome
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post
90 %gconf_schema_install
91
92 %files -f xchat-gnome.lang
93 %defattr(644,root,root,755)
94 %doc README ChangeLog faq.html plugins/plugin20.html
95 %attr(755,root,root) %{_bindir}/xchat-gnome
96 %attr(755,root,root) %{_bindir}/xchat-remote
97 %attr(755,root,root) %{_bindir}/xchat
98 %dir %{_libdir}/xchat
99 %dir %{_libdir}/xchat/plugins
100 %attr(755,root,root) %{_libdir}/xchat/plugins/dbus.so
101 %attr(755,root,root) %{_libdir}/xchat/plugins/notification.so
102 %attr(755,root,root) %{_libdir}/xchat/plugins/urlscraper.so
103 %{_datadir}/xchat
104 %{_desktopdir}/xchat.desktop
105 %{_desktopdir}/xchat-gnome.desktop
106 %{_pixmapsdir}/xchat.png
107 %{_pixmapsdir}/xchat-gnome.png
108 %{_sysconfdir}/gconf/schemas/*.schemas
109
110 %files perl
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/xchat/plugins/perl.so
113
114 %files python
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/xchat/plugins/python.so
This page took 0.091201 seconds and 4 git commands to generate.