projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added include of string.h.
[yaz-moved-to-github.git]
/
yaz.spec
diff --git
a/yaz.spec
b/yaz.spec
index
7d4a5fb
..
ffc5458
100644
(file)
--- a/
yaz.spec
+++ b/
yaz.spec
@@
-1,19
+1,18
@@
-Summary: YAZ - A Z39.50 Library
Name: yaz
Name: yaz
-Version: 1.5
-Release: 1
-Copyright: GPL
+Version: 1.7
+Release: 3
+Copyright: YAZ License
Group: Development/Libraries
Vendor: Index Data ApS <info@indexdata.dk>
Group: Development/Libraries
Vendor: Index Data ApS <info@indexdata.dk>
-Url: http://www.indexdata.dk/yaz/
-Source: yaz-1.5.tar.gz
+Source: yaz-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Packager: Adam Dickmeiss <adam@indexdata.dk>
BuildRoot: /var/tmp/%{name}-%{version}-root
Packager: Adam Dickmeiss <adam@indexdata.dk>
+URL: http://www.indexdata.dk/yaz/
+Summary: Z39.50 Library
%description
%description
-The YAZ package is a developers' library for developing client - and
-server application using the ANSI/NISO Z39.50 protocol for Information
-Retrieval.
+YAZ is a C library for developing client - and server applications
+using the ANSI/NISO Z39.50 protocol for Information Retrieval.
%prep
%setup
%prep
%setup
@@
-21,20
+20,33
@@
Retrieval.
%build
CFLAGS="$RPM_OPT_FLAGS" \
%build
CFLAGS="$RPM_OPT_FLAGS" \
- ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr --enable-yc --enable-tcpd
+ ./configure --prefix=/usr --enable-shared --enable-tcpd
make CFLAGS="$RPM_OPT_FLAGS"
%install
rm -fr $RPM_BUILD_ROOT
make CFLAGS="$RPM_OPT_FLAGS"
%install
rm -fr $RPM_BUILD_ROOT
-make install
+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
%files
%defattr(-,root,root)
%doc README LICENSE CHANGELOG TODO
-%config /usr/lib/yaz/tab
+%config /usr/share/yaz/tab
/usr/bin/yaz-client
/usr/bin/yaz-ztest
/usr/bin/yaz-config
/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.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/include/yaz
/usr/include/yaz
-%dir /usr/lib/yaz
+/usr/share/yaz/z39.50
+/usr/share/yaz/ill
+/usr/share/yaz/doc
+/usr/share/aclocal/yaz.m4