rpms/activemq-cpp/F-12 activemq-cpp-local-texmf.patch, NONE, 1.1 activemq-cpp.spec, NONE, 1.1 sources, 1.1, 1.2

stevetraylen stevetraylen at fedoraproject.org
Mon Dec 14 18:55:19 UTC 2009


Author: stevetraylen

Update of /cvs/pkgs/rpms/activemq-cpp/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13816/F-12

Modified Files:
	sources 
Added Files:
	activemq-cpp-local-texmf.patch activemq-cpp.spec 
Log Message:
First versions.


activemq-cpp-local-texmf.patch:
 doxygen-include.am |    4 ++--
 texmf.cnf          |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

--- NEW FILE activemq-cpp-local-texmf.patch ---
diff -uNr activemq-cpp-2.2.6.ORIG/texmf.cnf activemq-cpp-2.2.6/texmf.cnf
--- activemq-cpp-2.2.6.ORIG/texmf.cnf	1970-01-01 01:00:00.000000000 +0100
+++ activemq-cpp-2.2.6/texmf.cnf	2009-11-07 20:47:00.466113909 +0100
@@ -0,0 +1,2 @@
+pool_size = 4000000
+
diff -uNr activemq-cpp-2.2.6.ORIG/doxygen-include.am activemq-cpp-2.2.6/doxygen-include.am
--- activemq-cpp-2.2.6.ORIG/doxygen-include.am	2009-01-23 14:56:26.000000000 +0100
+++ activemq-cpp-2.2.6/doxygen-include.am	2009-11-07 20:52:10.558509912 +0100
@@ -153,12 +153,12 @@
 	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
 	$(DX_PDFLATEX) refman.tex; \
 	$(DX_MAKEINDEX) refman.idx; \
-	$(DX_PDFLATEX) refman.tex; \
+	TEXMFCNF=.: $(DX_PDFLATEX) refman.tex; \
 	countdown=5; \
 	while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
 	                  refman.log > /dev/null 2>&1 \
 	   && test $$countdown -gt 0; do \
-	    $(DX_PDFLATEX) refman.tex; \
+	    TEXMFCNF=.: $(DX_PDFLATEX) refman.tex; \
 	    countdown=`expr $$countdown - 1`; \
 	done; \
 	mv refman.pdf ../@PACKAGE at .pdf


--- NEW FILE activemq-cpp.spec ---
Name:           activemq-cpp
Version:        2.2.6
Release:        5%{?dist}
Summary:        C++ implementation of JMS-like messaging client

Group:          Development/Libraries
License:        ASL 2.0
URL:            http://activemq.apache.org/cms/
Source0:        http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-%{version}-src.tar.gz
# Some local texmf configuration to increase default pool_size.
Patch1:         %{name}-local-texmf.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  doxygen
BuildRequires:  graphviz
%if %{?fedora}%{!?fedora:0} >= 9 || %{?rhel}%{!?rhel:0} >= 6
BuildRequires:  tex(latex)
%else
BuildRequires:  tetex-latex
%endif

BuildRequires:  automake >= 1.10
BuildRequires:  autoconf >= 2.60
BuildRequires:  libtool  >= 1.5.24
BuildRequires:  apr-util-devel%{?_isa} >= 1.3
BuildRequires:  cppunit-devel%{?_isa} >= 1.10.2

%if %{?fedora}%{!?fedora:0} >= 12 || %{?rhel}%{!?rhel:0} >= 6
BuildRequires:  libuuid-devel%{?_isa}
%else
BuildRequires:  e2fsprogs-devel%{?_isa}
%endif

%description
activemq-cpp is a JMS-like API for C++ for interfacing with Message 
Brokers such as Apache ActiveMQ.  C++ messaging service helps to make your 
C++ client code much neater and easier to follow. To get a better feel for 
CMS try the API Reference. 
ActiveMQ-CPP is a client only library, a message broker such as Apache 
ActiveMQ is still needed for your clients to communicate.  

%package devel
Summary:        C++ implementation header files for JMS-like messaging
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig
%if %{?fedora}%{!?fedora:0} >= 12 || %{?rhel}%{!?rhel:0} >= 6
Requires:  libuuid-devel%{?_isa}
%else
Requires:  e2fsprogs-devel%{?_isa}
%endif




%description devel
activemq-cpp is a JMS-like API for C++ for interfacing with Message 
Brokers such as Apache ActiveMQ.  C++ messaging service helps to make 
your C++ client code much neater and easier to follow. To get a better
feel for CMS try the API Reference.  ActiveMQ-CPP is a client only 
library, a message broker such as Apache ActiveMQ is still needed 
for your clients to communicate.  

%{name}-devel contains development header files.


%package doc
Summary:        C++ implementation header files for JMS-like messaging
Group:          Documentation
%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
BuildArch:      noarch
%endif

%description doc
activemq-cpp is a JMS-like API for C++ for interfacing with Message 
Brokers such as Apache ActiveMQ.  C++ messaging service helps to make 
your C++ client code much neater and easier to follow. To get a better
feel for CMS try the API Reference.  ActiveMQ-CPP is a client only 
library, a message broker such as Apache ActiveMQ is still needed 
for your clients to communicate.  

%{name}-doc contains api documentation.

%prep
%setup -q
%patch1 -p1



%build
mkdir config
./autogen.sh
# Build pdf(30MB) rather than default html(400MB). 
%configure --disable-static --disable-doxygen-html --enable-doxygen-pdf
make %{?_smp_mflags}
make %{?_smp_mflags}  doxygen-run
cp -p texmf.cnf doc/latex/texmf.cnf
make %{?_smp_mflags} doxygen-pdf


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/lib%{name}.la
rm $RPM_BUILD_ROOT/%{_bindir}/example

%clean
rm -rf $RPM_BUILD_ROOT

%check
make %{?_smp_mflags} check

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_libdir}/lib%{name}.so.*
%doc LICENSE.txt  NOTICE.txt  README.txt  RELEASE_NOTES.txt

%files devel
%defattr(-,root,root,-)
%{_libdir}/lib%{name}.so
%{_includedir}/%{name}-%{version}
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/activemqcpp-config

%files doc
%defattr(-,root,root,-)
%doc doc/%{name}.pdf

%changelog
* Fri Dec 11 2009 Steve Traylen <steve.traylen at cern.ch> - 2.2.6-5
- Add libuuid-devel as Requires to -devel package.
* Sat Nov 14 2009 Steve Traylen <steve.traylen at cern.ch> - 2.2.6-4
- Remove patch to relocate headers from versioned directory.
- Add make smp options to make check.
* Fri Nov 6 2009 Steve Traylen <steve.traylen at cern.ch> - 2.2.6-3
- Relocate headers to non versioned directory with patch0
* Fri Nov 6 2009 Steve Traylen <steve.traylen at cern.ch> - 2.2.6-2
- Adapted to Fedora guidelines.
* Thu Feb 26 2009 Ricardo Rocha <ricardo.rocha at cern.ch> - 2.2.6-1
- First version of the spec file




Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/activemq-cpp/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	14 Dec 2009 17:28:23 -0000	1.1
+++ sources	14 Dec 2009 18:55:19 -0000	1.2
@@ -0,0 +1 @@
+1222f0d6c5f86ef3ed5a558a533c7564  activemq-cpp-2.2.6-src.tar.gz




More information about the fedora-extras-commits mailing list