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