Allow YAZ 2 series only
[ir-tcl-moved-to-github.git] / ir-tcl.spec
1 Summary: IrTcl - Tcl extension that implements the Z39.50 protocol.
2 Name: ir-tcl
3 Version: 1.4.2
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-%{version}.tar.gz
10 Requires: tcl
11 BuildRoot: /var/tmp/%{name}-%{version}-root
12 Packager: Adam Dickmeiss <adam@indexdata.dk>
13
14 %description
15 The IrTcl is a Tcl/Tk extension that implements the Z39.50 information
16 retrieval protocol. The client (origin) is supported using a number
17 of Tcl commands. The toolkit is shipped with an 'example' client (irclient)
18 as well.
19
20 %prep
21 %setup
22
23 %build
24
25 CFLAGS="$RPM_OPT_FLAGS" \
26  ./configure --prefix=/usr 
27 make CFLAGS="$RPM_OPT_FLAGS"
28
29 %install
30 rm -fr $RPM_BUILD_ROOT
31 make install DESTDIR=$RPM_BUILD_ROOT
32
33 %files
34 %defattr(-,root,root)
35 %doc README LICENSE NEWS
36 /usr/bin/irclient
37 /usr/lib/irtcl
38 /usr/lib/libirtcl.a