rpms/commoncpp2/devel commoncpp2-ldconfig.patch, NONE, 1.1 commoncpp2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andreas Thienemann (ixs) fedora-extras-commits at redhat.com
Mon Feb 6 21:47:33 UTC 2006


Author: ixs

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

Modified Files:
	.cvsignore sources 
Added Files:
	commoncpp2-ldconfig.patch commoncpp2.spec 
Log Message:
auto-import commoncpp2-1.3.23-1 on branch devel from commoncpp2-1.3.23-1.src.rpm

commoncpp2-ldconfig.patch:

--- NEW FILE commoncpp2-ldconfig.patch ---
--- commoncpp2-1.3.23/Makefile.in.ldconfig	2006-02-03 00:16:30.000000000 +0100
+++ commoncpp2-1.3.23/Makefile.in	2006-02-05 13:27:06.334488968 +0100
@@ -676,23 +676,7 @@
 	(cd src ; make macosx)
 
 install-data-local:
-	@if test -f /etc/ld.so.conf \
-	  -a `echo $(libdir) | grep ^/usr`XXX != "XXX" ; then \
-		if ! grep -q "$(libdir)" /etc/ld.so.conf; then \
-			echo "------------------------------------------------------------------------------" ;\
-			echo "Hmm, looks like you forgot to add $(libdir) to /etc/ld.so.conf." ;\
-			echo "I'll try to fix it for you (but pay attention to libtool's output" ;\
-			echo "next time, ok?)" ;\
-			echo "$(libdir)" >> /etc/ld.so.conf && \
-				echo "Ok, all fixed." \
-				|| \
-				(echo "" ;\
-				echo "Well, that didn't work.  Remember to add $(libdir) to" ;\
-				echo "/etc/ld.so.conf if you want to use this library.") ;\
-			echo "------------------------------------------------------------------------------" ;\
-			ldconfig ;\
-		fi ;\
-	fi
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:


--- NEW FILE commoncpp2.spec ---
Summary: GNU Common C++ class framework
Name: commoncpp2
Version: 1.3.23
Release: 1%{?dist}
License: GPL
Group: System Environment/Libraries
Source0: http://download.sourceforge.net/gnutelephony/commoncpp2-%{version}.tar.gz
Patch0: commoncpp2-ldconfig.patch
URL: http://www.gnu.org/software/commoncpp/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel, zlib-devel, doxygen

%description
GNU Common C++ is a portable and highly optimized class framework for writing
C++ applications that need to use threads, sockets, XML parsing,
serialization, config files, etc. This framework offers a class foundation
that hides platform differences from your C++ application so that you need
not write platform specific code. GNU Common C++ has been ported to compile
natively on most platforms which support posix threads.

%package devel
Summary: Header files and libraries for %{name} development
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig, libxml2-devel, zlib-devel
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

%description devel
The %{name}-devel package contains the header files and libraries needed
to develop programs that use the %{name} library.


%prep
%setup -q
%patch0 -p1 -b .ldconfig

%build
%configure \
	--disable-static \
	--disable-dependency-tracking
%{__make} %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -exec rm -f {} \;

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%post -n %{name}-devel
/sbin/install-info %{_infodir}/commoncpp2.info %{_infodir}/dir || :

%preun -n %{name}-devel
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/commoncpp2.info %{_infodir}/dir || :
fi

%postun -p /sbin/ldconfig

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

%files devel
%defattr(-,root,root,-)
%doc doc/html
%dir %{_includedir}/cc++2
%{_includedir}/cc++2/*
%{_bindir}/ccgnu2-config
%{_libdir}/*.so
%{_libdir}/pkgconfig/libccext2.pc
%{_libdir}/pkgconfig/libccgnu2.pc
%{_datadir}/aclocal/ost_check2.m4
%{_infodir}/commoncpp2.info*

%changelog
* Sun Feb 05 2006 Andreas Thienemann <andreas at bawue.net> 1.3.23-1
- Incorporated suggestions for extras

* Fri Feb 03 2006 Andreas Thienemann <andreas at bawue.net> 1.3.22-1
- Initial spec.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/commoncpp2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Feb 2006 21:46:09 -0000	1.1
+++ .cvsignore	6 Feb 2006 21:47:33 -0000	1.2
@@ -0,0 +1 @@
+commoncpp2-1.3.23.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/commoncpp2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Feb 2006 21:46:09 -0000	1.1
+++ sources	6 Feb 2006 21:47:33 -0000	1.2
@@ -0,0 +1 @@
+7cf53157929876054cff3234f6ffaae7  commoncpp2-1.3.23.tar.gz




More information about the fedora-extras-commits mailing list