bniemczyk / bnirc

IRC Client for POSIX systems

This URL has Read+Write access

bnirc / bnirc.spec.in
100644 48 lines (38 sloc) 0.978 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%define name @PACKAGE@
%define version @VERSION@
 
Summary: ncurses irc client with python scripting
Name: %{name}
Version: %{version}
Source: %{name}-%{version}.tar.gz
Release: 1
URL: http://sf.net/projects/bnirc
License: GPL version 2
Group: Network/Irc
Prefix: %{_prefix}
 
%description
bnIRC is a full IRC client and development framework. For development,
all major components are plugins, and many things can be done using
the python scripting interface
 
%prep
%setup -q
 
%build
if [ -x ./configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
else
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
make
 
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install
 
%clean
rm -rf "$RPM_BUILD_ROOT"
 
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
 
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog INSTALL COPYING README FAQ TODO NEWS
%{_prefix}/*
 
%changelog
* Tue Jan 1 2009 Brandon Niemczyk
- First draft of RPM spec file