- remove reference to libdir in dap-config
This commit is contained in:
parent
2d18fc6b32
commit
63c2ce5a83
33
libdap.spec
33
libdap.spec
|
@ -1,15 +1,17 @@
|
||||||
Name: libdap
|
Name: libdap
|
||||||
Summary: The C++ DAP2 library from OPeNDAP
|
Summary: The C++ DAP2 library from OPeNDAP
|
||||||
Version: 3.7.8
|
Version: 3.7.8
|
||||||
Release: 2%{?dist}.1
|
Release: 3%{?dist}
|
||||||
|
|
||||||
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
|
||||||
URL: http://www.opendap.org/
|
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
# the deflate program is covered by the W3C license
|
# the deflate program is covered by the W3C license
|
||||||
License: LGPLv2+ and W3C
|
License: LGPLv2+ and W3C
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://www.opendap.org/
|
||||||
|
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: libdap-3.7.8-nolibdir.patch
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# Mandrake
|
# Mandrake
|
||||||
# BuildRequires: libcurl3-devel >= 7.10.6 libxml2-devel >= 2.5.7
|
# BuildRequires: libcurl3-devel >= 7.10.6 libxml2-devel >= 2.5.7
|
||||||
|
@ -58,6 +60,12 @@ Documentation of the libdap library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .nolibdir
|
||||||
|
touch -r COPYRIGHT_W3C __timestamp_COPYRIGHT_W3C
|
||||||
|
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
||||||
|
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
||||||
|
touch -r __timestamp_COPYRIGHT_W3C COPYRIGHT_W3C
|
||||||
|
rm __timestamp_COPYRIGHT_W3C
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -72,13 +80,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
|
|
||||||
rm -rf __fedora_docs
|
rm -rf __dist_docs
|
||||||
cp -pr docs __fedora_docs
|
cp -pr docs __dist_docs
|
||||||
# those .map and .md5 are of dubious use, remove them
|
# those .map and .md5 are of dubious use, remove them
|
||||||
rm -f __fedora_docs/html/*.map __fedora_docs/html/*.md5
|
rm -f __dist_docs/html/*.map __dist_docs/html/*.md5
|
||||||
# use the ChangeLog timestamp to have the same timestamps for the doc files
|
# use the ChangeLog timestamp to have the same timestamps for the doc files
|
||||||
# for all arches
|
# for all arches
|
||||||
touch -r ChangeLog __fedora_docs/html/*
|
touch -r ChangeLog __dist_docs/html/*
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
@ -112,10 +120,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc __fedora_docs/html/
|
%doc __dist_docs/html/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 21 2007 Patrice Dumas <pertusus@free.fr> 3.7.8-3
|
||||||
|
- remove reference to libdir in dap-config
|
||||||
|
|
||||||
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.7.8-2
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.7.8-2
|
||||||
- Rebuild for selinux ppc32 issue.
|
- Rebuild for selinux ppc32 issue.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue