# This file is part of the YAZ toolkit
-# Copyright (C) 1995-2011 Index Data
+# Copyright (C) 1995-2013 Index Data
#
# spec file for YAZ
+%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n')
Name: yaz
Summary: Z39.50 Programs
-Version: 4.2.10
+Version: %{idmetaversion}
Release: 1indexdata
# determine system
%install
rm -fr ${RPM_BUILD_ROOT}
-make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
- libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+make install DESTDIR=${RPM_BUILD_ROOT}
rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
%clean