rpms/mxml/devel mxml-no-rpath.patch, NONE, 1.1 mxml.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Anthony Green (green) fedora-extras-commits at redhat.com
Wed Jul 19 16:29:35 UTC 2006


Author: green

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

Modified Files:
	.cvsignore sources 
Added Files:
	mxml-no-rpath.patch mxml.spec 
Log Message:
auto-import mxml-2.2.2-4 on branch devel from mxml-2.2.2-4.src.rpm

mxml-no-rpath.patch:

--- NEW FILE mxml-no-rpath.patch ---
--- configure.in~	2005-05-19 07:56:05.000000000 -0700
+++ configure.in	2006-07-15 10:31:49.000000000 -0700
@@ -147,8 +147,8 @@
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.0"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-rpath,\$(libdir) -shared \$(OPTIM)"
-                        LDFLAGS="$LDFLAGS -Wl,-rpath,\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)"
+                        LDFLAGS="$LDFLAGS"
 			;;
 
 		*BSD*)


--- NEW FILE mxml.spec ---
Summary:      Miniature XML development library
Name:         mxml
Version:      2.2.2
Release:      4%{?dist}
License:      LGPL
Group:        System Environment/Libraries
URL:          http://www.easysw.com/~mike/mxml/
Source0:      http://ftp.easysw.com/pub/mxml/%{version}/mxml-%{version}.tar.gz
Patch0:       mxml-no-rpath.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# This is requires because we patch configure.in.
BuildRequires: autoconf

%description
Mini-XML is a small XML parsing library that you can use to read XML
and XML-like data files in your application without requiring large
non-standard libraries.

%package devel
Summary:  Libraries, includes, etc to develop mxml applications
Group:    Development/Libraries
Requires: mxml = %{version}-%{release}

%description devel
Libraries, include files, etc you can use to develop mxml
applications.

%prep
%setup -q
%patch0 -p0

%build
# Run autoconf since we patched configure.in.
autoconf
%configure --enable-shared
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make BUILDROOT=%{buildroot} install

# Configuring with --disable-static doesn't work, so let's just delete
# the .a file by hand.
rm %{buildroot}%{_libdir}/libmxml.a

# remove extra docs
rm -rf %{buildroot}%{_datadir}/doc/mxml/

# remove rendered man pages
rm -f %{buildroot}%{_datadir}/man/cat*/*


%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/*
%{_libdir}/libmxml.so.*

%files devel
%defattr(-,root,root,-)
%doc CHANGES doc/*.html doc/*.png
%{_includedir}/*.h
%{_libdir}/libmxml.so
%{_mandir}/*/*
%{_libdir}/pkgconfig/mxml.pc

%changelog
* Wed Jul 19 2006 Anthony Green <green at redhat.com> 2.2.2-4
- Fix /usr/share references.

* Sat Jul 15 2006 Anthony Green <green at redhat.com> 2.2.2-3
- Fix /usr/lib reference when deleting libmxml.a.

* Sat Jul 15 2006 Anthony Green <green at redhat.com> 2.2.2-2
- Fix License (LGPL, not GPL).
- Move programming documentation to devel package.
- Build shared library, and no static library.
- Add %post(un).
- Remove rpath with mxml-no-rpath.patch.
- First Fedora Extras build.

* Fri Sep 23 2005 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 2.2.2-1
- updated to 2.2.2 (zynaddsubfx needs 2.2 at least)
* Mon Dec 27 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 
- spec file cleanup
* Wed Aug  4 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 2.0-1
- initial build.




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mxml/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Jul 2006 16:28:47 -0000	1.1
+++ .cvsignore	19 Jul 2006 16:29:35 -0000	1.2
@@ -0,0 +1 @@
+mxml-2.2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mxml/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Jul 2006 16:28:47 -0000	1.1
+++ sources	19 Jul 2006 16:29:35 -0000	1.2
@@ -0,0 +1 @@
+ef69862ad30ef2fe66457415db5b5ab4  mxml-2.2.2.tar.gz




More information about the scm-commits mailing list