ce0d499
Name: xpa
9ed4991
Version: 2.1.8
41ec704
Release: 2%{?dist}
ce0d499
Summary: The XPA messaging system
ce0d499
067efff
# Upstream version
9ed4991
%define upversion 2.1.8
067efff
833cefb
Group: Applications/Engineering
b49a1cd
License: LGPLv2+
ce0d499
URL: http://hea-www.harvard.edu/RD/xpa/
067efff
Source0: http://hea-www.harvard.edu/saord/download/xpa/%{name}-%{upversion}.tar.gz
ce0d499
Patch0: xpa-2.1.6-makefile.patch
b49a1cd
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
ce0d499
833cefb
Requires: %{name}-libs = %{version}-%{release}
833cefb
ff99273
BuildRequires: tcl-devel libXt-devel
b3aa802
BuildRequires: /bin/awk
e388a3b
ce0d499
%description
ce0d499
The XPA messaging system provides seamless communication between many kinds 
ce0d499
of Unix programs, including X programs and Tcl/Tk programs. 
ce0d499
It also provides an easy way for users to communicate with these 
ce0d499
XPA-enabled programs by executing XPA client commands in the shell or by 
ce0d499
utilizing such commands in scripts. Because XPA works both at the programming 
ce0d499
level and the shell level, it is a powerful tool for unifying any 
ce0d499
analysis environment: users and programmers have great flexibility 
ce0d499
in choosing the best level or levels at which to access XPA services, 
ce0d499
and client access can be extended or modified easily at any time.
833cefb
This package contains command-line utilities for managing XPA.
ce0d499
ce0d499
%package devel
ce0d499
Summary: Headers for developing programs that will use %{name}
ce0d499
Group: Development/Libraries
833cefb
Requires: %{name}-libs = %{version}-%{release}
ce0d499
ce0d499
%description devel
ce0d499
These are the header files and libraries needed to develop a %{name} 
ce0d499
application.
ce0d499
833cefb
%package libs
833cefb
Summary: The XPA messaging system runtime libraries
833cefb
Group: System Environment/Libraries
833cefb
%description libs
833cefb
The XPA messaging system provides seamless communication between many kinds 
833cefb
of Unix programs, including X programs and Tcl/Tk programs. 
833cefb
This package contains the %{name} run-time library
833cefb
ce0d499
%prep
067efff
%setup -q -n %{name}-%{upversion}
ce0d499
%patch0 -p1
ce0d499
# Remove ps files in html docs
ce0d499
%{__rm} -rf %{_builddir}/%{name}-%{version}/doc/*.ps
ce0d499
ce0d499
%build
41ec704
%configure --enable-shared --with-tcl=%{_libdir} \
41ec704
	--with-x --enable-threaded-xpans
ce0d499
%{__make} %{?_smp_mflags}
ce0d499
%{__make} %{?_smp_mflags} tclxpa
ce0d499
ce0d499
%install
ce0d499
%{__rm} -fr %{buildroot}
ce0d499
%{__make} INSTALL_ROOT=%{buildroot} install
ce0d499
ce0d499
%clean
ce0d499
%{__rm} -fr %{buildroot}
ce0d499
833cefb
%post libs -p /sbin/ldconfig
ce0d499
833cefb
%postun libs -p /sbin/ldconfig
ce0d499
ce0d499
%files
833cefb
%defattr(-,root,root,-)
ce0d499
%doc COPYING
ce0d499
%{_bindir}/*
ce0d499
%{_mandir}/man1/*
ce0d499
%{_datadir}/%{name}
ce0d499
833cefb
%files libs
833cefb
%defattr(-,root,root,-)
833cefb
%doc COPYING
833cefb
%{_libdir}/*so.*
833cefb
833cefb
ce0d499
%files devel
833cefb
%defattr(-,root,root,-)
ce0d499
%doc doc/*.html
ce0d499
%doc doc/*.pdf
ce0d499
%{_libdir}/*.so
ce0d499
%exclude %{_libdir}/*.a
ce0d499
%{_includedir}/*
ce0d499
%{_mandir}/man3/*
ce0d499
%{_mandir}/mann/*
ce0d499
ce0d499
%changelog
41ec704
* Wed Nov 14 2007 Sergio Pascual <sergiopr at fedoraproject dot org> 2.1.8-2
41ec704
- Nested dir for headers fixed
41ec704
9ed4991
* Tue Nov 13 2007 Sergio Pascual <sergiopr at fedoraproject dot org> 2.1.8-1
9ed4991
- New upstream source
9ed4991
833cefb
* Sat Oct 13 2007 Sergio Pascual <sergiopr at fedoraproject dot org> 2.1.7-0.3.b2
833cefb
- Splitted libraries in a new package
9ed4991
1576c6c
* Mon Aug 27 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.7-0.2.b2.1
1576c6c
- Added /bin/awk to BuildReq
9ed4991
fcce72a
* Mon Aug 27 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.7-0.2.b2
fcce72a
- Rebuild for Fedora 8 to get the build-id
9ed4991
067efff
* Wed Mar 21 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.7-0.1.b2
067efff
- New upstream version 2.1.7b2
9ed4991
57e717d
* Mon Feb 26 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-9
57e717d
- Back to tcl 8.4 due to stability problems
9ed4991
5291fa7
* Thu Feb 01 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-8
5291fa7
- Rebuilt for devel (out of sync with tcl).
9ed4991
54770ec
* Tue Sep 12 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-7
54770ec
- Rebuilt for FC6 (tag problem).
9ed4991
1a98a7a
* Tue Sep 12 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-6
c7c3466
- Rebuilt for FC6 (mass rebuild).
9ed4991
e388a3b
* Thu Jul 18 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-5
e388a3b
- Changed BuildRequires to make common spec for FC-4 and up
9ed4991
b5c8144
* Thu Jun 22 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-4
b5c8144
- Patch0 is modified so Makefile installs in $(libdir) instead of $(prefix)/lib
9ed4991
ce0d499
* Mon Jun 19 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-3
ce0d499
- Added some space between package devel and description devel and
ce0d499
  between install and clean to improve the flow and readability of the file.
9ed4991
ce0d499
* Tue Jun 13 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-2
ce0d499
- Specfile polished, minor fixes.
9ed4991
ce0d499
* Wed Feb 22 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.1.6-1
ce0d499
- Initial spec file.