rpms/rcssbase/F-8 import.log, NONE, 1.1 rcssbase-12.1.0-libfix.patch, NONE, 1.1 rcssbase.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hedayat Vatankhah (hedayat) fedora-extras-commits at redhat.com
Wed Aug 6 11:19:19 UTC 2008


Author: hedayat

Update of /cvs/pkgs/rpms/rcssbase/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16532/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rcssbase-12.1.0-libfix.patch rcssbase.spec 
Log Message:
Initial import



--- NEW FILE import.log ---
rcssbase-12_1_1-1_fc9:F-8:rcssbase-12.1.1-1.fc9.src.rpm:1218021377

rcssbase-12.1.0-libfix.patch:

--- NEW FILE rcssbase-12.1.0-libfix.patch ---
diff -up rcssbase-12.1.0/rcssbase/conf/Makefile.am.libfix rcssbase-12.1.0/rcssbase/conf/Makefile.am
--- rcssbase-12.1.0/rcssbase/conf/Makefile.am.libfix	2008-01-31 12:24:40.000000000 +0330
+++ rcssbase-12.1.0/rcssbase/conf/Makefile.am	2008-07-11 01:06:00.000000000 +0430
@@ -16,7 +16,7 @@ librcssconfparser_la_SOURCES = \
 	streamstatushandler.cpp
 
 librcssconfparser_la_LDFLAGS = -version-info 2:0:0
-librcssconfparser_la_LIBADD = ../lib/librcsslib.la
+librcssconfparser_la_LIBADD = ../lib/librcsslib.la   $(BOOST_FILESYSTEM_LIB)
 
 ../lib/librcsslib.la:
 	cd ../lib && $(MAKE) $(AM_MAKEFLAGS)
diff -up rcssbase-12.1.0/rcssbase/net/Makefile.am.libfix rcssbase-12.1.0/rcssbase/net/Makefile.am
--- rcssbase-12.1.0/rcssbase/net/Makefile.am.libfix	2008-04-11 17:39:54.000000000 +0430
+++ rcssbase-12.1.0/rcssbase/net/Makefile.am	2008-07-11 01:06:00.000000000 +0430
@@ -42,7 +42,7 @@ librcssnet_la_LDFLAGS = -version-info 1:
 #    6. If any interfaces have been removed since the last public release,
 #       then set AGE to 0.
 
-librcssnet_la_LIBADD = @NET_LIBS@ -lrcsserror
+librcssnet_la_LIBADD = @NET_LIBS@
 
 netdir = $(pkgincludedir)/net
 


--- NEW FILE rcssbase.spec ---
Name:           rcssbase
Version:        12.1.1
Release:        1%{?dist}
Summary:        Robocup 2D Soccer Simulation Base Library

Group:          Development/Libraries
# %%{_bindir}/rcssmodtest is licensed under GPLv2+, others
# are under LGPLv2+
License:        LGPLv2+ and GPLv2+
URL:            http://sourceforge.net/projects/sserver/
Source0:        http://downloads.sourceforge.net/sserver/%{name}-%{version}.tar.gz
Patch0:         %{name}-12.1.0-libfix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  automake libtool boost-devel zlib-devel libtool-ltdl-devel

%description
The RoboCup Soccer Simulator Server (rcssserver) is a research and educational
tool for mutli-agent systems and artificial intelligence. It allows 11
simulated autonomous robotic players to play soccer (football).

This package provides base libraries used by different simulation server
packages. Also, people who write agents for the server might find
these libraries useful. You should install this package if you want to run
such agents.

%package        devel
Summary:        Header files and libraries for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       boost-devel

%description    devel
This package contains the header files and libraries
for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup -q
%patch0 -p1 -b .libfix
find -name "*.cpp" -exec chmod a-x {} \;
find -name "*.hpp" -exec chmod a-x {} \;
sed -i.lib \
    -e 's|\$ac_boost_path/lib|\$libdir|' \
    -e 's|$ac_boost_path_tmp/lib|\$libdir|' \
    m4/ax_boost_base.m4
autoreconf --install -f
# Fix rpath
sed -i.rpath -e '/sys_lib_search_path_spec/s| /usr/lib| /lib64 /usr/lib64 /usr/lib|' \
    configure

%build
%configure
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
rm -rf %{buildroot}/%{_libdir}/*.la
rmdir %{buildroot}/%{_libdir}/%{name}

%clean
rm -rf %{buildroot}

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

%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING.LESSER NEWS PLATFORMS README 
%{_bindir}/*
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_datadir}/%{name}

%changelog
* Mon Aug 04 2008 Hedayat Vatankhah <hedayat at grad.com> 12.1.1-1
- Updated to the latest release version

* Wed Jul 30 2008 Hedayat Vatankhah <hedayat at grad.com> 12.1.0-2
(Thanks to Mamoru Tasaka for his advices)
- Fixed the license tag to include GPLv2+
- Use $libdir in ax_boost_base.m4
- Added -f to autoreconf
- Added zlib-devel and libtool-ltdl-devel to BuildRequires section
- Removed CPPROG section
- Added rpath fix for 64 bit architectures

* Fri Jul 11 2008 Hedayat Vatankhah <hedayat at grad.com> 12.1.0-2
- Moved autoreconf to prep section

* Fri Jul 11 2008 Hedayat Vatankhah <hedayat at grad.com> 12.1.0-1
- Using separate patch files for different fixes

* Fri Jul 04 2008 Hedayat Vatankhah <hedayat at grad.com> 12.1.0-1
- Initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rcssbase/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Aug 2008 16:38:54 -0000	1.1
+++ .cvsignore	6 Aug 2008 11:18:48 -0000	1.2
@@ -0,0 +1 @@
+rcssbase-12.1.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rcssbase/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Aug 2008 16:38:55 -0000	1.1
+++ sources	6 Aug 2008 11:18:48 -0000	1.2
@@ -0,0 +1 @@
+1132064a2454e65c38c0aaa17c91cb42  rcssbase-12.1.1.tar.gz




More information about the fedora-extras-commits mailing list