Added RPM spec.
[ir-tcl-moved-to-github.git] / ir-tcl.spec
1 Summary: IrTcl - Tcl module that implements the Z39.50 protocol.
2 Name: ir-tcl
3 Version: 1.5
4 Release: 1
5 Copyright: none
6 Group: Development/Libraries
7 Vendor: Index Data ApS <info@indexdata.dk>
8 Url: http://www.indexdata.dk/irtcl/
9 Source: ir-tcl-1.5.tar.gz
10 Requires: tcl
11 BuildRequires: yaz
12 BuildRequires: tcl
13 BuildRoot: /var/tmp/%{name}-%{version}-root
14 Packager: Adam Dickmeiss <adam@indexdata.dk>
15
16 %description
17 The IrTcl is a Tcl/Tk extension that implements the Z39.50 information
18 retrieval protocol. The client (origin) is supported using a number
19 of Tcl commands. The toolkit is shipped with an 'example' client (irclient)
20 as well.
21
22 %prep
23 %setup
24
25 %build
26
27 CFLAGS="$RPM_OPT_FLAGS" \
28  ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr 
29 make CFLAGS="$RPM_OPT_FLAGS"
30
31 %install
32 rm -fr $RPM_BUILD_ROOT
33 make install
34
35 %files
36 %defattr(-,root,root)
37 %doc README LICENSE CHANGELOG
38 /usr/bin/irclient
39 /usr/lib/irtcl
40 /usr/lib/libirtcl.a