]> git.pld-linux.org Git - packages/xchat-gnome.git/blob - xchat-gnome.spec
d0df96e5503146865713b6b41faf3b9507e1f430
[packages/xchat-gnome.git] / xchat-gnome.spec
1 Summary:        Graphical IRC (chat) client
2 Summary(de.UTF-8):      IRC-Client (Chat) mit grafischer Oberfläche
3 Summary(fr.UTF-8):      Client IRC (chat) avec interface graphique
4 Summary(pl.UTF-8):      Graficzny klient IRC (chat)
5 Name:           xchat-gnome
6 Version:        0.18
7 Release:        1
8 License:        GPL
9 Group:          X11/Applications/Networking
10 Source0:        http://flapjack.navi.cx/releases/xchat-gnome/%{name}-%{version}.tar.bz2
11 # Source0-md5:  4976cd34a0e9115c800b5d317e121182
12 Patch0:         %{name}-long-delimiter.patch
13 URL:            http://xchat-gnome.navi.cx/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  enchant-devel
17 BuildRequires:  gettext-devel
18 BuildRequires:  GConf2-devel
19 BuildRequires:  gtk+2-devel >= 2.0.0
20 BuildRequires:  gnome-common
21 BuildRequires:  gnome-doc-tools
22 BuildRequires:  gnome-doc-utils
23 BuildRequires:  libnotify-devel
24 BuildRequires:  libsexy-devel >= 0.1.11
25 BuildRequires:  libglade2-devel
26 BuildRequires:  gnome-vfs2-devel
27 BuildRequires:  libgnome-devel
28 BuildRequires:  libgnomeui-devel
29 BuildRequires:  libtool
30 BuildRequires:  perl-devel
31 BuildRequires:  pkgconfig
32 BuildRequires:  python-devel
33 BuildRequires:  scrollkeeper >= 0.3.11
34 Requires(post): GConf2
35 Requires(post,postun):  scrollkeeper
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 A GUI IRC client with DCC file transfers, C plugin interface, Perl and
40 Python scripting capability, mIRC color, shaded transparency, tabbed
41 channels and more.
42
43 %description -l pl.UTF-8
44 Klient IRC z graficznym interfejsem użytkownika, z przesyłaniem plików
45 DCC, interfejsem do wtyczek w C, możliwością uruchamiania skryptów w
46 Perlu i Pythonie, obsługą kolorów mIRC-a, cieniowaną
47 przezroczystością, zakładkami z kanałami itd.
48
49 %package perl
50 Summary:        XChat Perl plugin
51 Summary(pl.UTF-8):      Wtyczka Perla do XChata
52 Group:          X11/Applications/Networking
53 Requires:       %{name} = %{version}-%{release}
54 Requires:       perl
55
56 %description perl
57 Provides Perl scripting capability to XChat.
58
59 %description perl -l pl.UTF-8
60 Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu.
61
62 %package python
63 Summary:        XChat Python plugin
64 Summary(pl.UTF-8):      Wtyczka Pythona do XChata
65 Group:          X11/Applications/Networking
66 Requires:       %{name} = %{version}-%{release}
67 Requires:       python >= 2.2.0
68
69 %description python
70 Provides Python scripting capability to XChat.
71
72 %description python -l pl.UTF-8
73 Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie.
74
75 %prep
76 %setup -q
77 %patch0 -p1
78
79 %build
80 %{__aclocal} -I m4
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure \
85         --disable-dependency-tracking \
86         --enable-gnomefe \
87         --enable-ipv6 \
88         --disable-tcl
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT%{_desktopdir} \
94         $RPM_BUILD_ROOT%{_pixmapsdir}
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.a
100 rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la
101
102 %find_lang xchat-gnome --with-gnome
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post
108 %gconf_schema_install
109 %scrollkeeper_update_post
110
111 %postun
112 %scrollkeeper_update_postun
113
114 %files -f xchat-gnome.lang
115 %defattr(644,root,root,755)
116 %doc README ChangeLog
117 %attr(755,root,root) %{_bindir}/xchat-gnome
118 %dir %{_libdir}/xchat-gnome
119 %dir %{_libdir}/xchat-gnome/plugins
120 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so
121 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so
122 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so
123 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so
124 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so
125 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so
126 %dir %{_datadir}/omf/xchat-gnome
127 %{_iconsdir}/hicolor/*/apps/*
128 %{_datadir}/xchat-gnome
129 %{_desktopdir}/xchat-gnome.desktop
130 #%{_pixmapsdir}/xchat-gnome.png
131 %{_sysconfdir}/gconf/schemas/*.schemas
132 %{_omf_dest_dir}/%{name}/xchat-gnome-C.omf
133 %{_datadir}/dbus-1/services/org.gnome.Xchat.service
134 %{_mandir}/man1/xchat-gnome.1*
135
136 %files perl
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so
139
140 %files python
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so
This page took 0.058921 seconds and 2 git commands to generate.