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