]> git.pld-linux.org Git - packages/ircii.git/blame - ircii.spec
rel 3; rediff patches
[packages/ircii.git] / ircii.spec
CommitLineData
912dda0c 1Summary: Popular Unix Irc client
b47df5f3
ER
2Summary(de.UTF-8): Beliebter Unix-IRC-Client
3Summary(fr.UTF-8): Client irc UNIX populaire
4Summary(pl.UTF-8): Popularny uniksowy klient IRC
5Summary(tr.UTF-8): Yaygın Unix Irc istemcisi
581e69b7 6Name: ircii
fd103870 7Version: 20111115
a81a54d5 8Release: 3
912dda0c 9License: BSD
126d259b 10Group: Applications/Networking
43ec408d 11Vendor: IRCII Bugs <ircii-bugs@ircii.eterna.com.au>
30f8c1a7 12Source0: ftp://ircii.warped.com/pub/ircII/%{name}-%{version}.tar.gz
fd103870 13# Source0-md5: 8e38ba5828c02fa44289ae3dcbccd04c
912dda0c 14Source1: %{name}.desktop
15Patch0: %{name}-config.patch
8d3a021d 16URL: http://www.eterna.com.au/ircii/
05427b54 17BuildRequires: autoconf
fcbade46 18BuildRequires: ncompress
5aa27a13 19BuildRequires: ncurses-devel >= 5.1
fcbade46 20Requires: ncompress
d198bbb6 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
fcbade46 22Obsoletes: ircii-help
581e69b7
AM
23
24%description
912dda0c 25This is a popular Internet Relay Chat (IRC) client. It is a program
26used to connect to IRC servers around the globe so that the user can
27``chat'' with others.
581e69b7 28
fd3756f4
JR
29%description -l de.UTF-8
30Dies ist ein beliebter IRC-Client (Internet Relay Chat). Sie können
912dda0c 31eine Verbindung zu einem beliebigen IRC-Server aufbauen und mit
32anderen Benutzern 'chatten'.
581e69b7 33
fd3756f4
JR
34%description -l fr.UTF-8
35Le très poulaire client Internet Relay Chat (IRC). C'est un programme
36utilisé pour se connecter aux serveurs IRC à travers le monde entier
912dda0c 37et ``bavarder'' avec les autres.
581e69b7 38
fd3756f4
JR
39%description -l pl.UTF-8
40Ircii to popularny klient IRC (Internet Relay Chat). Służy do łączenia
41się z serwerami IRC dookoła globu tak, by użytkownicy mogli ze sobą
42rozmawiać.
428e48c7 43
fd3756f4
JR
44%description -l tr.UTF-8
45Bu, yaygın kullanılan bir IRC (Internet Relay Chat) istemcisidir.
46Dünya üzerinde herhangi bir IRC sunucusuna bağlantı sağlar; bağlantı
47sağlandıktan sonra kullanıcı diğer insanlarla sohbet edebilir.
581e69b7
AM
48
49%prep
d5326811 50%setup -q
a63c1f28 51%patch0 -p1
581e69b7
AM
52
53%build
3888d855 54%configure2_13 \
912dda0c 55 --with-paranoid \
56 --enable-ipv6 \
7f8d8daf 57 --with-default-server="irc.pld-linux.org poznan.irc.pl wroclaw.irc.pl warszawa.irc.pl krakow.irc.pl lublin.irc.pl" \
912dda0c 58 --with-cast
04cc8b7c 59%{__make}
581e69b7
AM
60
61%install
62rm -rf $RPM_BUILD_ROOT
92bab04c 63install -d $RPM_BUILD_ROOT{%{_sysconfdir}/irc,%{_desktopdir}}
581e69b7 64
0858e7dd 65%{__make} -j1 install \
fcbade46 66 DESTDIR=$RPM_BUILD_ROOT
912dda0c 67
5aa27a13 68mv -f $RPM_BUILD_ROOT%{_bindir}/irc-%{version} $RPM_BUILD_ROOT%{_bindir}/ircii
92bab04c 69install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
3888d855 70chmod -R a=rX,u=rwX $RPM_BUILD_ROOT%{_datadir}/irc
912dda0c 71
dedcf1d4 72rm -f $RPM_BUILD_ROOT%{_mandir}/man1/irc.1
73echo ".so ircII.1" > $RPM_BUILD_ROOT%{_mandir}/man1/irc.1
74
75
581e69b7
AM
76%post
77if [ ! -f /etc/irc/ircII.servers ]; then
a63c1f28
AM
78 if [ ! -d /etc/irc ]; then
79 install -d /etc/irc
80 chmod 755 /etc/irc
81 fi
581e69b7 82cat << EOF > /etc/irc/ircII.servers
7f8d8daf 83irc.pld-linux.org:6667
581e69b7
AM
84warszawa.irc.pl:6667
85lublin.irc.pl:6667
86krakow.irc.pl:6667
87poznan.irc.pl:6667
7f8d8daf 88wroclaw.irc.pl:6667
581e69b7 89EOF
0379019a 90 chown root:root /etc/irc/ircII.servers
a63c1f28 91 chmod 644 /etc/irc/ircII.servers
581e69b7
AM
92fi
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%files
98%defattr(644,root,root,755)
7aa4ec99 99%doc NEWS README ChangeLog
5a0e96bd 100%attr(755,root,root) %{_bindir}/*ircii
912dda0c 101%attr(755,root,root) %dir %{_sysconfdir}/irc
3888d855 102%attr( - ,root,root) %{_datadir}/irc
7602acce 103%{_desktopdir}/*.desktop
7aa4ec99 104%{_mandir}/man*/*
This page took 0.158271 seconds and 4 git commands to generate.