-
Notifications
You must be signed in to change notification settings - Fork 22
/
librcsc.spec.in
74 lines (56 loc) · 1.49 KB
/
librcsc.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Summary: The RoboCup Soccer Client Library
Name: @PACKAGE@
Version: @VERSION@
Release: 0
License: LGPL
Group: Development/Library
Source: %{name}-%{version}.tar.gz
#Patch:
URL: http://rctools.sourceforge.jp/
Packager: Hidehisa Akiyama <[email protected]>
BuildRoot: %{_tmppath}/%{name}-root
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: boost-devel >= 1.32
%description
librcsc is a base library of the soccer agent and/or the tool
program for the RoboCup soccer 2D simulation.
%package devel
Summary: The RoboCup Soccer Client Library Development Package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: boost-devel >= 1.32
%description devel
librcsc is a base library to develop a soccer agent and/or a tool
program for the RoboCup soccer 2D simulation.
Install librcsc-devel if you want to write your own program.
%prep
rm -rf %{buildroot}
%setup
#%patch -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf ${buildroot}
%makeinstall
# remove libtool .la file
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING.LESSER INSTALL NEWS README
%{_bindir}/*
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING.LESSER INSTALL NEWS README
%{_libdir}/lib*.so
%{_libdir}/*.a
%{_includedir}/rcsc
%changelog
* Wed Sep 27 2006 Hidehisa Akiyama <[email protected]>
-created initial version.