]> git.pld-linux.org Git - packages/xchat-gnome.git/blame - xchat-gnome.spec
- added.
[packages/xchat-gnome.git] / xchat-gnome.spec
CommitLineData
a8716e76 1Summary: Graphical IRC (chat) client
2Summary(fr): Client IRC (chat) avec interface graphique
3Summary(de): IRC-Client (Chat) mit grafischer Oberfläche
4Name: xchat-gnome
5Version: 0.3
6Release: 0
7Group: X11/Applications/Networking
8License: GPL
9URL: http://xchat.org
10Source0: http://navi.cx/releases/%{name}-%{version}.tar.bz2
11# Source0-md5: c057f7fc07c039e876f68529b9994352
12Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13BuildRequires: gettext-devel
14BuildRequires: gtk+2-devel
15Conflicts: xchat
16
17%description
18A GUI IRC client with DCC file transfers, C plugin interface, Perl and
19Python scripting capability, mIRC color, shaded transparency, tabbed
20channels and more.
21
22%package perl
23Summary: XChat Perl plugin
24Group: X11/Applications/Networking
25Requires: xchat-gnome = %{version}
26Requires: perl
27%description perl
28Provides Perl scripting capability to XChat.
29
30%package python
31Summary: XChat Python plugin
32Group: X11/Applications/Networking
33Requires: xchat-gnome = %{version}
34Requires: python2 >= 2.2.0
35%description python
36Provides Python scripting capability to XChat.
37
38%prep
39%setup -q -n %{name}-%{version}
40
41%build
42%configure --disable-dependency-tracking --enable-gnomefe --disable-tcl
43%{__make}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
48%makeinstall
49mv -f $RPM_BUILD_ROOT%{_bindir}/xchat-gnome $RPM_BUILD_ROOT%{_bindir}/xchat
50strip -R .note -R .comment $RPM_BUILD_ROOT%{_libdir}/perl.so
51strip -R .note -R .comment $RPM_BUILD_ROOT%{_libdir}/python.so
52mv $RPM_BUILD_ROOT%{_libdir}/perl.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
53mv $RPM_BUILD_ROOT%{_libdir}/python.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
54rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
55mv $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas.in.in \
56 $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
57
58%find_lang xchat-gnome
59
60%post
61export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
62gconftool-2 --makefile-install-rule \
63 %{_sysconfdir}/gconf/schemas/apps_xchat.schemas \
64 >/dev/null || :
65
66%files -f xchat-gnome.lang
67%defattr(644,root,root,755)
68%doc README ChangeLog faq.html COPYING plugins/plugin20.html plugins/perl/xchat2-perldocs.html
69%attr(755,root,root) %{_bindir}/xchat
70%{_datadir}/applications/xchat.desktop
71%{_datadir}/pixmaps/xchat.png
72%{_datadir}/xchat/*
73%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
74%{_datadir}/applications/xchat-gnome.desktop
75%{_datadir}/pixmaps/xchat-gnome.png
76
77%files perl
78%defattr(644,root,root,755)
79%{_libdir}/xchat/plugins/perl.so
80
81%files python
82%defattr(644,root,root,755)
83%{_libdir}/xchat/plugins/python.so
84
85%clean
86rm -rf $RPM_BUILD_ROOT
This page took 0.116691 seconds and 4 git commands to generate.