/[packages]/cauldron/irssi/current/SPECS/irssi.spec
ViewVC logotype

Annotation of /cauldron/irssi/current/SPECS/irssi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60374 - (hide annotations) (download)
Sat Feb 26 11:28:10 2011 UTC (13 years, 1 month ago) by jquelin
File size: 2464 byte(s)
rebuild
1 kharec 2025 %define name irssi
2     %define version 0.8.15
3 jquelin 60374 %define rel 6
4 kharec 2025
5     Name: %{name}
6     Version: %{version}
7     Release: %mkrel %{rel}
8     Summary: IRC client
9     License: GPLv2+
10     Group: Networking/IRC
11     BuildRequires: glib2-devel ncurses-devel perl-devel openssl-devel
12     URL: http://irssi.org/
13     Source0: http://irssi.org/files/%{name}-%{version}.tar.gz
14     Suggests: irssi-perl
15     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16    
17     %description
18     Irssi is a modular and flexible IRC client for UNIX that has only a text mode
19     user interface (but as 80-90% of the code isn't text mode specific, other UIs
20     could be created pretty easily). Also, Irssi isn't really even IRC specific
21     anymore, there are already working SILC and ICB modules available. Support for
22     other protocols like ICQ and Jabber could be created some day too.
23    
24     Irssi is one of the most popular IRC clients at the moment.
25    
26     %package devel
27     Group: Development/C
28     Summary: Static libraries for the development of irssi applications
29     Requires: %{name} = %{version}
30    
31     %description devel
32     Static libraries for the development of irssi applications.
33    
34     %package perl
35     Group: Networking/IRC
36     Summary: Perl plugin for irssi
37     Requires: %{name} = %{version}
38     Conflicts: perl-silc
39    
40     %description perl
41     Perl plugin for irssi.
42    
43     %prep
44     %setup -q
45    
46     %build
47     %configure2_5x --with-plugins \
48     --enable-ipv6 \
49     --with-proxy \
50     --with-socks \
51     --with-bot \
52     --with-perl=module \
53     --with-perl-lib=%{perl_vendorlib}
54    
55     %make
56    
57     %install
58     rm -rf %{buildroot}
59     %makeinstall_std
60    
61     # Files that should not be installed:
62     rm -f %{buildroot}%{perl_vendorarch}/perllocal.pod
63     rm -rf %{buildroot}%{_docdir}/%{name}
64    
65     %clean
66     rm -rf %{buildroot}
67    
68     %files
69     %defattr (-,root,root)
70     %doc AUTHORS README TODO NEWS docs/*
71     %attr(755,root,root) %{_bindir}/*
72     %{_datadir}/%{name}
73     %exclude %{_datadir}/%{name}/scripts
74     %dir %{_libdir}/%{name}
75     %dir %{_libdir}/%{name}/modules
76     %exclude %{_libdir}/%{name}/modules/libfe_perl.*
77     %exclude %{_libdir}/%{name}/modules/libperl_core.*
78     %{_libdir}/%{name}/modules/*.so
79     %{_libdir}/%{name}/modules/*.la
80     %config(noreplace) %{_sysconfdir}/%{name}.conf
81     %{_mandir}/man1/%{name}.1*
82    
83     %files devel
84     %defattr(-,root,root)
85     %{_libdir}/%{name}/modules/*.a
86     %{_includedir}/%{name}
87    
88     %files perl
89     %defattr(-,root,root)
90     %{_libdir}/%{name}/modules/libfe_perl.so
91     %{_libdir}/%{name}/modules/libfe_perl.la
92     %{_libdir}/%{name}/modules/libperl_core.so
93     %{_libdir}/%{name}/modules/libperl_core.la
94     %{perl_vendorarch}/Irssi*
95     %{perl_vendorarch}/auto/*
96     %{_datadir}/%{name}/scripts
97    
98    
99    

  ViewVC Help
Powered by ViewVC 1.1.30