]> git.pld-linux.org Git - packages/xchat-gnome.git/blame_incremental - xchat-gnome.spec
perl 5.38.0 rebuild
[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: 19
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
16Patch4: %{name}-openssl-1.1.patch
17URL: http://xchat-gnome.navi.cx/
18BuildRequires: GConf2-devel >= 2.24.0
19BuildRequires: autoconf >= 2.60
20BuildRequires: automake >= 1:1.9
21BuildRequires: dbus-glib-devel >= 0.74
22BuildRequires: gettext-tools
23BuildRequires: glib2-devel >= 1:2.18.0
24BuildRequires: gnome-common >= 2.24.0
25BuildRequires: gnome-doc-utils >= 0.14.0
26BuildRequires: gtk+2-devel >= 2:2.14.0
27BuildRequires: intltool >= 0.40.0
28BuildRequires: libcanberra-gtk-devel >= 0.3
29BuildRequires: libglade2-devel >= 1:2.6.2
30BuildRequires: libgnomeui-devel >= 2.24.0
31BuildRequires: libnotify-devel >= 0.4.0
32BuildRequires: libsexy-devel >= 0.1.11
33BuildRequires: libtool
34BuildRequires: openssl-devel
35BuildRequires: perl-devel
36BuildRequires: pkgconfig
37BuildRequires: python-devel >= 2.2.0
38BuildRequires: rpmbuild(find_lang) >= 1.23
39BuildRequires: rpmbuild(macros) >= 1.311
40BuildRequires: scrollkeeper
41Requires(post,postun): gtk-update-icon-cache
42Requires(post,postun): scrollkeeper
43Requires(post,preun): GConf2
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
47A GUI IRC client with DCC file transfers, C plugin interface, Perl and
48Python scripting capability, mIRC color, shaded transparency, tabbed
49channels and more.
50
51%description -l pl.UTF-8
52Klient IRC z graficznym interfejsem użytkownika, z przesyłaniem plików
53DCC, interfejsem do wtyczek w C, możliwością uruchamiania skryptów w
54Perlu i Pythonie, obsługą kolorów mIRC-a, cieniowaną
55przezroczystością, zakładkami z kanałami itd.
56
57%package perl
58Summary: XChat Perl plugin
59Summary(pl.UTF-8): Wtyczka Perla do XChata
60Group: X11/Applications/Networking
61Requires: %{name} = %{version}-%{release}
62Requires: perl-base
63
64%description perl
65Provides Perl scripting capability to XChat.
66
67%description perl -l pl.UTF-8
68Wtyczka dodająca do XChata możliwość uruchamiania skryptów w Perlu.
69
70%package python
71Summary: XChat Python plugin
72Summary(pl.UTF-8): Wtyczka Pythona do XChata
73Group: X11/Applications/Networking
74Requires: %{name} = %{version}-%{release}
75Requires: python >= 2.2.0
76
77%description python
78Provides Python scripting capability to XChat.
79
80%description python -l pl.UTF-8
81Wtyczka 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
106rm -rf $RPM_BUILD_ROOT
107
108%{__make} install \
109 DESTDIR=$RPM_BUILD_ROOT
110
111rm $RPM_BUILD_ROOT%{_libdir}/xchat-gnome/plugins/*.la
112
113%find_lang %{name} --with-gnome --with-omf
114
115%clean
116rm -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.027102 seconds and 5 git commands to generate.