]>
Commit | Line | Data |
---|---|---|
912dda0c | 1 | Summary: Popular Unix Irc client |
b47df5f3 ER |
2 | Summary(de.UTF-8): Beliebter Unix-IRC-Client |
3 | Summary(fr.UTF-8): Client irc UNIX populaire | |
4 | Summary(pl.UTF-8): Popularny uniksowy klient IRC | |
5 | Summary(tr.UTF-8): Yaygın Unix Irc istemcisi | |
581e69b7 | 6 | Name: ircii |
fd103870 | 7 | Version: 20111115 |
a81a54d5 | 8 | Release: 3 |
912dda0c | 9 | License: BSD |
126d259b | 10 | Group: Applications/Networking |
43ec408d | 11 | Vendor: IRCII Bugs <ircii-bugs@ircii.eterna.com.au> |
30f8c1a7 | 12 | Source0: ftp://ircii.warped.com/pub/ircII/%{name}-%{version}.tar.gz |
fd103870 | 13 | # Source0-md5: 8e38ba5828c02fa44289ae3dcbccd04c |
912dda0c | 14 | Source1: %{name}.desktop |
15 | Patch0: %{name}-config.patch | |
8d3a021d | 16 | URL: http://www.eterna.com.au/ircii/ |
05427b54 | 17 | BuildRequires: autoconf |
fcbade46 | 18 | BuildRequires: ncompress |
5aa27a13 | 19 | BuildRequires: ncurses-devel >= 5.1 |
fcbade46 | 20 | Requires: ncompress |
d198bbb6 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
fcbade46 | 22 | Obsoletes: ircii-help |
581e69b7 AM |
23 | |
24 | %description | |
912dda0c | 25 | This is a popular Internet Relay Chat (IRC) client. It is a program |
26 | used 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 |
30 | Dies ist ein beliebter IRC-Client (Internet Relay Chat). Sie können | |
912dda0c | 31 | eine Verbindung zu einem beliebigen IRC-Server aufbauen und mit |
32 | anderen Benutzern 'chatten'. | |
581e69b7 | 33 | |
fd3756f4 JR |
34 | %description -l fr.UTF-8 |
35 | Le très poulaire client Internet Relay Chat (IRC). C'est un programme | |
36 | utilisé pour se connecter aux serveurs IRC à travers le monde entier | |
912dda0c | 37 | et ``bavarder'' avec les autres. |
581e69b7 | 38 | |
fd3756f4 JR |
39 | %description -l pl.UTF-8 |
40 | Ircii to popularny klient IRC (Internet Relay Chat). Służy do łączenia | |
41 | się z serwerami IRC dookoła globu tak, by użytkownicy mogli ze sobą | |
42 | rozmawiać. | |
428e48c7 | 43 | |
fd3756f4 JR |
44 | %description -l tr.UTF-8 |
45 | Bu, yaygın kullanılan bir IRC (Internet Relay Chat) istemcisidir. | |
46 | Dünya üzerinde herhangi bir IRC sunucusuna bağlantı sağlar; bağlantı | |
47 | sağ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 | |
62 | rm -rf $RPM_BUILD_ROOT | |
92bab04c | 63 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/irc,%{_desktopdir}} |
581e69b7 | 64 | |
0858e7dd | 65 | %{__make} -j1 install \ |
fcbade46 | 66 | DESTDIR=$RPM_BUILD_ROOT |
912dda0c | 67 | |
5aa27a13 | 68 | mv -f $RPM_BUILD_ROOT%{_bindir}/irc-%{version} $RPM_BUILD_ROOT%{_bindir}/ircii |
92bab04c | 69 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
3888d855 | 70 | chmod -R a=rX,u=rwX $RPM_BUILD_ROOT%{_datadir}/irc |
912dda0c | 71 | |
dedcf1d4 | 72 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/irc.1 |
73 | echo ".so ircII.1" > $RPM_BUILD_ROOT%{_mandir}/man1/irc.1 | |
74 | ||
75 | ||
581e69b7 AM |
76 | %post |
77 | if [ ! -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 | 82 | cat << EOF > /etc/irc/ircII.servers |
7f8d8daf | 83 | irc.pld-linux.org:6667 |
581e69b7 AM |
84 | warszawa.irc.pl:6667 |
85 | lublin.irc.pl:6667 | |
86 | krakow.irc.pl:6667 | |
87 | poznan.irc.pl:6667 | |
7f8d8daf | 88 | wroclaw.irc.pl:6667 |
581e69b7 | 89 | EOF |
0379019a | 90 | chown root:root /etc/irc/ircII.servers |
a63c1f28 | 91 | chmod 644 /etc/irc/ircII.servers |
581e69b7 AM |
92 | fi |
93 | ||
94 | %clean | |
95 | rm -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*/* |