From: Adam Dickmeiss Date: Tue, 30 Nov 1999 14:14:37 +0000 (+0000) Subject: Added RPM spec. X-Git-Tag: IRTCL.1.4~19 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=f1cd6a315b2a038f371c3cb5ab9a7e37598badd7;p=ir-tcl-moved-to-github.git Added RPM spec. --- diff --git a/ir-tcl.spec b/ir-tcl.spec new file mode 100644 index 0000000..73bfd04 --- /dev/null +++ b/ir-tcl.spec @@ -0,0 +1,40 @@ +Summary: IrTcl - Tcl module that implements the Z39.50 protocol. +Name: ir-tcl +Version: 1.5 +Release: 1 +Copyright: none +Group: Development/Libraries +Vendor: Index Data ApS +Url: http://www.indexdata.dk/irtcl/ +Source: ir-tcl-1.5.tar.gz +Requires: tcl +BuildRequires: yaz +BuildRequires: tcl +BuildRoot: /var/tmp/%{name}-%{version}-root +Packager: Adam Dickmeiss + +%description +The IrTcl is a Tcl/Tk extension that implements the Z39.50 information +retrieval protocol. The client (origin) is supported using a number +of Tcl commands. The toolkit is shipped with an 'example' client (irclient) +as well. + +%prep +%setup + +%build + +CFLAGS="$RPM_OPT_FLAGS" \ + ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr +make CFLAGS="$RPM_OPT_FLAGS" + +%install +rm -fr $RPM_BUILD_ROOT +make install + +%files +%defattr(-,root,root) +%doc README LICENSE CHANGELOG +/usr/bin/irclient +/usr/lib/irtcl +/usr/lib/libirtcl.a