rpms/libdap/devel libdap.spec,1.18,1.19

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Sun Oct 21 10:37:18 UTC 2007


Author: pertusus

Update of /cvs/extras/rpms/libdap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12883

Modified Files:
	libdap.spec 
Log Message:
* Sun Oct 21 2007 Patrice Dumas <pertusus at free.fr> 3.7.8-3
- remove reference to libdir in dap-config



Index: libdap.spec
===================================================================
RCS file: /cvs/extras/rpms/libdap/devel/libdap.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- libdap.spec	29 Aug 2007 05:20:23 -0000	1.18
+++ libdap.spec	21 Oct 2007 10:36:44 -0000	1.19
@@ -1,15 +1,17 @@
 Name: libdap
 Summary: The C++ DAP2 library from OPeNDAP
 Version: 3.7.8
-Release: 2%{?dist}.1
+Release: 3%{?dist}
 
-Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
+# the deflate program is covered by the W3C license
+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
 
-Group: Development/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# the deflate program is covered by the W3C license
-License: LGPLv2+ and W3C
 
 # Mandrake
 # BuildRequires: libcurl3-devel >= 7.10.6 libxml2-devel >= 2.5.7
@@ -58,6 +60,12 @@
 
 %prep
 %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
@@ -72,13 +80,13 @@
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
 rm $RPM_BUILD_ROOT/%{_libdir}/*.la
 
-rm -rf __fedora_docs
-cp -pr docs __fedora_docs
+rm -rf __dist_docs
+cp -pr docs __dist_docs
 # 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 
 # for all arches
-touch -r ChangeLog __fedora_docs/html/*
+touch -r ChangeLog __dist_docs/html/*
 
 
 %clean
@@ -112,10 +120,13 @@
 
 %files doc
 %defattr(-,root,root,-)
-%doc __fedora_docs/html/
+%doc __dist_docs/html/
 
 
 %changelog
+* Sun Oct 21 2007 Patrice Dumas <pertusus at 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
 - Rebuild for selinux ppc32 issue.
 




More information about the fedora-extras-commits mailing list