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