rpms/xpa/F-7 xpa.spec,1.12,1.13

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Sat Dec 8 15:58:37 UTC 2007


Author: sergiopr

Update of /cvs/pkgs/rpms/xpa/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14797

Modified Files:
	xpa.spec 
Log Message:
* Sat Dec 08 2007 Sergio Pascual <sergiopr at fedoraproject dot org> 2.1.8-3
- Tcl interface in a different subpackage
- pkgIndex.tcl added



Index: xpa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xpa/F-7/xpa.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- xpa.spec	14 Nov 2007 14:13:15 -0000	1.12
+++ xpa.spec	8 Dec 2007 15:58:04 -0000	1.13
@@ -1,6 +1,6 @@
 Name: xpa
 Version: 2.1.8
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: The XPA messaging system
 
 # Upstream version
@@ -34,6 +34,7 @@
 Summary: Headers for developing programs that will use %{name}
 Group: Development/Libraries
 Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-tcl = %{version}-%{release}
 
 %description devel
 These are the header files and libraries needed to develop a %{name} 
@@ -47,6 +48,15 @@
 of Unix programs, including X programs and Tcl/Tk programs. 
 This package contains the %{name} run-time library
 
+%package tcl
+Summary: The XPA messaging system TCL interface
+Group: System Environment/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+%description tcl
+The XPA messaging system provides seamless communication between many kinds 
+of Unix programs, including X programs and Tcl/Tk programs. 
+This package contains the %{name} TCL interface
+
 %prep
 %setup -q -n %{name}-%{upversion}
 %patch0 -p1
@@ -61,7 +71,10 @@
 
 %install
 %{__rm} -fr %{buildroot}
+%{__mkdir_p} %{buildroot}%{_libdir}/tclxpa
 %{__make} INSTALL_ROOT=%{buildroot} install
+%{__cp} -a pkgIndex.tcl %{buildroot}%{_libdir}/tclxpa
+%{__mv} %{buildroot}%{_libdir}/libtcl* %{buildroot}%{_libdir}/tclxpa
 
 %clean
 %{__rm} -fr %{buildroot}
@@ -80,20 +93,28 @@
 %files libs
 %defattr(-,root,root,-)
 %doc COPYING
-%{_libdir}/*so.*
+%{_libdir}/libxpa.so.*
 
+%files tcl
+%defattr(-,root,root,-)
+%{_libdir}/tclxpa
 
 %files devel
 %defattr(-,root,root,-)
 %doc doc/*.html
 %doc doc/*.pdf
 %{_libdir}/*.so
-%exclude %{_libdir}/*.a
+%{_libdir}/tclxpa/*.so
 %{_includedir}/*
 %{_mandir}/man3/*
 %{_mandir}/mann/*
+%exclude %{_libdir}/*.a
 
 %changelog
+* Sat Dec 08 2007 Sergio Pascual <sergiopr at fedoraproject dot org> 2.1.8-3
+- Tcl interface in a different subpackage
+- pkgIndex.tcl added
+
 * Wed Nov 14 2007 Sergio Pascual <sergiopr at fedoraproject dot org> 2.1.8-2
 - Nested dir for headers fixed
 




More information about the fedora-extras-commits mailing list