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