rpms/expatmm/F-11 expatmm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jerry James jjames at fedoraproject.org
Wed May 13 17:20:54 UTC 2009


Author: jjames

Update of /cvs/pkgs/rpms/expatmm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19118/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	expatmm.spec 
Log Message:
Initial checkin to F-11 branch.



--- NEW FILE expatmm.spec ---
Name:           expatmm
Version:        1.0.1
Release:        1%{?dist}
Summary:        C++ wrapper for the expat XML parser library

Group:          System Environment/Libraries
License:        LGPLv2+
URL:            http://devzone.intellitree.com/projects/expatmm/
Source0:        http://devzone.intellitree.com/downloads/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  expat-devel, libtool, pkgconfig

%description
ExpatMM is a C++ library that uses the efficient expat XML parser to
create a C++ class base for the development of C++ event-driver parser
objects.  This library provides the developer with two C++ classes:
  - ExpatXMLParser: a generic parser where the developer must supply
    event methods for parse tokens, as well as supply the event method
    for reading input data into a local buffer.
  - ExpatXMLFileParser: a parser where the event method for reading
    input data is implemented as a file reader, with the filename being
    specified at instance construction.

%package devel
Summary:        Libraries and header files for expatmm
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}, pkgconfig

%description devel
Libraries and header files for developing applications with expatmm.

%prep
%setup -q

# We put everything in standard places, which varies from the upstream
# pkgconfig file.
sed -i -e 's|-L${exec_prefix}/lib -lexpatmm|-lexpatmm|' \
       -e '/Cflags/d' \
       expatmm.pc.in

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

# make install DESTDIR=$RPM_BUILD_ROOT
# This works ... except that stuff gets put in the wrong places, and moving
# it to the right places is just as much work as installing by hand.

# Install the header files
mkdir -p $RPM_BUILD_ROOT%{_includedir}/expatmm
install -p -m 0644 include/*.h $RPM_BUILD_ROOT%{_includedir}/expatmm

# Install the pkgconfig file
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
install -p -m 0644 expatmm.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig

# Install the shared libraries
install -p -m 0755 src/.libs/libexpatmm.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}
ln -s libexpatmm.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libexpatmm.so.0
ln -s libexpatmm.so.0 $RPM_BUILD_ROOT%{_libdir}/libexpatmm.so

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README-expatmm
%{_libdir}/libexpatmm.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/expatmm
%{_libdir}/libexpatmm.so
%{_libdir}/pkgconfig/expatmm.pc

%changelog
* Fri May  8 2009 Jerry James <loganjerry at gmail.com> - 1.0.1-1
- Initial RPM


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/expatmm/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	13 May 2009 05:04:18 -0000	1.1
+++ .cvsignore	13 May 2009 17:20:23 -0000	1.2
@@ -0,0 +1 @@
+expatmm-1.0.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/expatmm/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	13 May 2009 05:04:18 -0000	1.1
+++ sources	13 May 2009 17:20:23 -0000	1.2
@@ -0,0 +1 @@
+a7b10528966d3f6a70bf33bdfba6727a  expatmm-1.0.1.tar.bz2




More information about the scm-commits mailing list