YAZ version auto-set in yaz.spec
authorAdam Dickmeiss <adam@indexdata.dk>
Sat, 16 Mar 2002 11:45:00 +0000 (11:45 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sat, 16 Mar 2002 11:45:00 +0000 (11:45 +0000)
TODO
configure.in
yaz.spec [deleted file]
yaz.spec.in [new file with mode: 0644]

diff --git a/TODO b/TODO
index bd09279..f1159ce 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-YAZ TODO $Id: TODO,v 1.4 2002-03-15 23:03:33 adam Exp $
+YAZ TODO $Id: TODO,v 1.5 2002-03-16 11:45:00 adam Exp $
 
 Complete Unicode support.
 
@@ -7,8 +7,6 @@ Complete EXPLAIN support in retrieval module.
 Versions to be put automatically in
    configure.in
    yaz/include/yaz-version.h
-   doc/yaz.xml
-   yaz.spec
    debian/rules
    CHANGELOG
    win/yaz.rc (4 places)
index 1f4a941..6985638 100644 (file)
@@ -1,6 +1,6 @@
 dnl YAZ Toolkit, Index Data 1994-2001
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.61 2002-02-20 14:47:05 adam Exp $
+dnl $Id: configure.in,v 1.62 2002-03-16 11:45:00 adam Exp $
 AC_INIT(include/yaz/yaz-version.h)
 AM_INIT_AUTOMAKE(yaz, 1.8.6)
 dnl
@@ -203,6 +203,7 @@ dnl ------ Makefiles
 dnl
 AC_OUTPUT([
 Makefile
+yaz.spec
 util/Makefile
 odr/Makefile
 z39.50/Makefile
@@ -220,6 +221,7 @@ zoom/Makefile
 client/Makefile
 ztest/Makefile
 doc/Makefile
+doc/yaz.xml
 yaz-config
 lib/yaz-config
 ],[chmod +x yaz-config lib/yaz-config])
diff --git a/yaz.spec b/yaz.spec
deleted file mode 100644 (file)
index 99a847a..0000000
--- a/yaz.spec
+++ /dev/null
@@ -1,56 +0,0 @@
-Name: yaz
-Version: 1.8.6
-Release: 1
-Copyright: YAZ License
-Group: Development/Libraries
-Vendor: Index Data ApS <info@indexdata.dk>
-Source: yaz-%{version}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{version}-root
-Packager: Adam Dickmeiss <adam@indexdata.dk>
-URL: http://www.indexdata.dk/yaz/
-Summary: Z39.50 Library
-
-%description
-YAZ is a C library for developing client - and server applications
-using the ANSI/NISO Z39.50 protocol for Information Retrieval. 
-
-%prep
-%setup
-
-%build
-
-CFLAGS="$RPM_OPT_FLAGS" \
- ./configure --prefix=/usr --enable-shared --enable-tcpd
-make CFLAGS="$RPM_OPT_FLAGS"
-
-%install
-rm -fr $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
-cd doc; make prefix=$RPM_BUILD_ROOT/usr install
-
-%files
-%defattr(-,root,root)
-%doc README LICENSE CHANGELOG TODO
-%config /usr/share/yaz/tab
-/usr/bin/yaz-client
-/usr/bin/yaz-ztest
-/usr/bin/yaz-config
-/usr/bin/yaz-comp
-/usr/bin/zoomsh
-/usr/lib/libyaz.a
-/usr/lib/libyaz.so
-/usr/lib/libyaz.so.1
-/usr/lib/libyaz.so.1.0.0
-/usr/lib/libyazthread.a
-/usr/lib/libyazthread.so
-/usr/lib/libyazthread.so.1
-/usr/lib/libyazthread.so.1.0.0
-/usr/lib/libyazmalloc.a
-/usr/lib/libyazmalloc.so
-/usr/lib/libyazmalloc.so.1
-/usr/lib/libyazmalloc.so.1.0.0
-/usr/include/yaz
-/usr/share/yaz/z39.50
-/usr/share/yaz/ill
-/usr/share/yaz/doc
-/usr/share/aclocal/yaz.m4
diff --git a/yaz.spec.in b/yaz.spec.in
new file mode 100644 (file)
index 0000000..21ff98b
--- /dev/null
@@ -0,0 +1,56 @@
+Name: yaz
+Version: @VERSION@
+Release: 1
+Copyright: YAZ License
+Group: Development/Libraries
+Vendor: Index Data ApS <info@indexdata.dk>
+Source: yaz-%{version}.tar.gz
+BuildRoot: /var/tmp/%{name}-%{version}-root
+Packager: Adam Dickmeiss <adam@indexdata.dk>
+URL: http://www.indexdata.dk/yaz/
+Summary: Z39.50 Library
+
+%description
+YAZ is a C library for developing client - and server applications
+using the ANSI/NISO Z39.50 protocol for Information Retrieval. 
+
+%prep
+%setup
+
+%build
+
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure --prefix=/usr --enable-shared --enable-tcpd
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -fr $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT/usr install
+cd doc; make prefix=$RPM_BUILD_ROOT/usr install
+
+%files
+%defattr(-,root,root)
+%doc README LICENSE CHANGELOG TODO
+%config /usr/share/yaz/tab
+/usr/bin/yaz-client
+/usr/bin/yaz-ztest
+/usr/bin/yaz-config
+/usr/bin/yaz-comp
+/usr/bin/zoomsh
+/usr/lib/libyaz.a
+/usr/lib/libyaz.so
+/usr/lib/libyaz.so.1
+/usr/lib/libyaz.so.1.0.0
+/usr/lib/libyazthread.a
+/usr/lib/libyazthread.so
+/usr/lib/libyazthread.so.1
+/usr/lib/libyazthread.so.1.0.0
+/usr/lib/libyazmalloc.a
+/usr/lib/libyazmalloc.so
+/usr/lib/libyazmalloc.so.1
+/usr/lib/libyazmalloc.so.1.0.0
+/usr/include/yaz
+/usr/share/yaz/z39.50
+/usr/share/yaz/ill
+/usr/share/yaz/doc
+/usr/share/aclocal/yaz.m4