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