root/experimental/installation/specs/working/system/ossie_cf.spec @ 7920

Revision 7920, 2.8 KB (checked in by bhilburn, 5 years ago)

Working ossie cf RPM spec - tested & confirmed once.

Line 
1# OSSIE Core Framework RPM specification
2#
3# This spec defines the RPM for the OSSIE CF *only*.  Other components
4# of OSSIE releases are packaged in seperate RPMs.
5#
6# Created: bhilburn
7
8# Initial variable defines
9%define _name ossie
10%define _version 0.6.2
11%define _release 1
12
13# Directory defines
14%define _libdir /usr/local/lib
15%define _includedir /usr/local/include
16
17# Package description
18Summary: OSSIE Core Framework Revision 7005
19Name: %{_name}
20Version: %{_version}
21Release: %{_release}
22License: GNU GPL v2
23Group: Radio
24URL: http://ossie.wireless.vt.edu
25
26# Package prereqs
27# requires for omniidl?
28#BuildRequires: libomniorb libomniorb-devel
29BuildRequires: xerces-c xerces-c-devel
30BuildRequires: glibc-devel libtool
31BuildRequires: boost boost-devel
32BuildRequires: gcc gcc-c++
33
34# Package source instructions
35Source: %{_name}-%{_version}.tar.gz
36Buildroot: %{_tmppath}/%{_name}-%{_version}
37
38%description
39OSSIE (Open Source SCA Implementation::Embedded project is an initiative
40by the Mobile and Portable Radio Research Group at Virginia Tech to
41provide a platform that is simple, easy to expand, and open-source for the
42development of waveforms following the guidelines laid down by the SCA
43specifications under the Joint Tactical Radio System program as well as
44the Object Management Group.
45
46This is the OSSIE core framework.  It is required for all OSSIE installs.
47Please see http://ossie.wireless.vt.edu/ for more information.
48
49For a full OSSIE installation, make sure to also get the OSSIE Standard
50Interfaces, Node Booter, the domain, default node, and GPP Device.
51
52%package %{_name}
53Summary: OSSIE Core Framework
54Group: Radio
55Provides: ossiecf = %{_version} %{_name} = %{_version}-%{_release}
56Obsoletes: %{_name}
57
58%description  %{_name}
59OSSIE core framework.  It is required for all OSSIE installs
60See http://ossie.wireless.vt.edu/ for more information
61
62# Let rpmbuild auto-handle the prep steps, the -q option
63# makes the unpack quiet
64%prep
65%setup -q
66
67# Standard auto-foo build procedure
68%build
69./reconf
70./configure
71%{?make:%make}%{!?make:make} all
72#make
73
74# Install the binaries / libraries / etc
75%install
76#make install DESTDIR=$RPM_BUILD_ROOT
77%{?makeinstall_std:%makeinstall_std}%{!?makeinstall_std:make DESTDIR=%{buildroot} install}
78
79# Clean up after ourselves so that we don't bloat /usr/src
80%clean
81[ -z %{buildroot} ] || rm -rf %{buildroot}
82#rm -rf $RPM_BUILD_ROOT
83
84# Update system library directories
85# TODO change ldconf dirs?
86/sbin/ldconfig
87
88%files
89%defattr(-,root,root,-)
90# OSSIE libraries
91%{_libdir}/*.a
92%{_libdir}/*.la
93%{_libdir}/*.so
94%{_libdir}/*.so.0
95%{_libdir}/*.so.0.0.4
96%{_libdir}/pkgconfig/ossie.pc
97
98# OSSIE include headers and idls
99%{_includedir}/ossie/*.h
100%{_includedir}/ossie/*.idl
101
102# OSSIE Python bindings
103/usr/local/lib/python2.5/site-packages/ossie/*
104/usr/lib/python2.5/site-packages/ossie.pth
105
Note: See TracBrowser for help on using the browser.