]> git.pld-linux.org Git - packages/xchat-gnome.git/blob - xchat-gnome.spec
- added xchat-gnome-makefile.patch - wrong chars in Makefile
[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.26.1
7 Release:        1
8 License:        GPL v2+
9 Group:          X11/Applications/Networking
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/xchat-gnome/0.26/%{name}-%{version}.tar.bz2
11 # Source0-md5:  c9ce3d6e549736edfc1a1dc0282fb363
12 Patch0:         %{name}-long-delimiter.patch
13 Patch1:         %{name}-notify.patch
14 Patch2:         %{name}-makefile.patch
15 URL:            http://xchat-gnome.navi.cx/
16 BuildRequires:  GConf2-devel >= 2.24.0
17 BuildRequires:  autoconf >= 2.60
18 BuildRequires:  automake >= 1:1.9
19 BuildRequires:  dbus-glib-devel >= 0.74
20 BuildRequires:  gettext-devel
21 BuildRequires:  glib2-devel >= 1:2.18.0
22 BuildRequires:  gnome-common >= 2.24.0
23 BuildRequires:  gnome-doc-utils >= 0.14.0
24 BuildRequires:  gtk+2-devel >= 2:2.14.0
25 BuildRequires:  intltool >= 0.40.0
26 BuildRequires:  libcanberra-gtk-devel >= 0.3
27 BuildRequires:  libglade2-devel >= 1:2.6.2
28 BuildRequires:  libgnomeui-devel >= 2.24.0
29 BuildRequires:  libnotify-devel >= 0.4.0
30 BuildRequires:  libsexy-devel >= 0.1.11
31 BuildRequires:  libtool
32 BuildRequires:  openssl-devel
33 BuildRequires:  perl-devel
34 BuildRequires:  pkgconfig
35 BuildRequires:  python-devel >= 2.2.0
36 BuildRequires:  rpmbuild(find_lang) >= 1.23
37 BuildRequires:  rpmbuild(macros) >= 1.311
38 BuildRequires:  scrollkeeper
39 Requires(post,postun):  gtk-update-icon-cache
40 Requires(post,postun):  scrollkeeper
41 Requires(post,preun):   GConf2
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 A GUI IRC client with DCC file transfers, C plugin interface, Perl and
46 Python scripting capability, mIRC color, shaded transparency, tabbed
47 channels and more.
48
49 %description -l pl.UTF-8
50 Klient IRC z graficznym interfejsem użytkownika, z przesyłaniem plików
51 DCC, interfejsem do wtyczek w C, możliwością uruchamiania skryptów w
52 Perlu i Pythonie, obsługą kolorów mIRC-a, cieniowaną
53 przezroczystością, zakładkami z kanałami itd.
54
55 %package perl
56 Summary:        XChat Perl plugin
57 Summary(pl.UTF-8):      Wtyczka Perla do XChata
58 Group:          X11/Applications/Networking
59 Requires:       %{name} = %{version}-%{release}
60 Requires:       perl-base
61
62 %description perl
63 Provides Perl scripting capability to XChat.
64
65 %description perl -l pl.UTF-8
66 Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu.
67
68 %package python
69 Summary:        XChat Python plugin
70 Summary(pl.UTF-8):      Wtyczka Pythona do XChata
71 Group:          X11/Applications/Networking
72 Requires:       %{name} = %{version}-%{release}
73 Requires:       python >= 2.2.0
74
75 %description python
76 Provides Python scripting capability to XChat.
77
78 %description python -l pl.UTF-8
79 Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Pythonie.
80
81 %prep
82 %setup -q
83 %patch0 -p1
84 %patch1 -p1
85 %patch2 -p1
86
87 %build
88 %{__libtoolize}
89 %{__intltoolize}
90 %{__aclocal} -I m4
91 %{__autoconf}
92 %{__autoheader}
93 %{__automake}
94 %configure \
95         --disable-static \
96         --disable-tcl
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la
106
107 %find_lang %{name} --with-gnome --with-omf
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post
113 %gconf_schema_install apps_xchat.schemas
114 %gconf_schema_install notification.schemas
115 %gconf_schema_install url_handler.schemas
116 %gconf_schema_install urlscraper.schemas
117 %scrollkeeper_update_post
118 %update_icon_cache hicolor
119
120 %preun
121 %gconf_schema_uninstall apps_xchat.schemas
122 %gconf_schema_uninstall notification.schemas
123 %gconf_schema_uninstall url_handler.schemas
124 %gconf_schema_uninstall urlscraper.schemas
125
126 %postun
127 %scrollkeeper_update_postun
128 %update_icon_cache hicolor
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc README ChangeLog
133 %attr(755,root,root) %{_bindir}/xchat-gnome
134 %dir %{_libdir}/xchat-gnome
135 %dir %{_libdir}/xchat-gnome/plugins
136 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so
137 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so
138 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so
139 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so
140 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so
141 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so
142 %{_iconsdir}/hicolor/*/apps/*
143 %{_datadir}/xchat-gnome
144 %{_desktopdir}/xchat-gnome.desktop
145 %{_sysconfdir}/gconf/schemas/apps_xchat.schemas
146 %{_sysconfdir}/gconf/schemas/notification.schemas
147 %{_sysconfdir}/gconf/schemas/url_handler.schemas
148 %{_sysconfdir}/gconf/schemas/urlscraper.schemas
149 %{_datadir}/dbus-1/services/org.gnome.Xchat.service
150 %{_mandir}/man1/xchat-gnome.1*
151
152 %files perl
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so
155
156 %files python
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so
This page took 0.069547 seconds and 3 git commands to generate.