rpms/blt/F-8 blt.spec,1.12,1.13

Marek Mahut (mmahut) fedora-extras-commits at redhat.com
Tue Oct 23 09:36:33 UTC 2007


Author: mmahut

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

Modified Files:
	blt.spec 
Log Message:
Proving devel package as per request on  Bugzilla Bug 249812: missing headers



Index: blt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/blt/F-8/blt.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- blt.spec	11 Feb 2007 18:48:20 -0000	1.12
+++ blt.spec	23 Oct 2007 09:36:00 -0000	1.13
@@ -1,7 +1,7 @@
 Summary: BLT widget extension to Tcl/Tk scripting language development
 Name: blt
 Version: 2.4
-Release: 15.z%{?dist}
+Release: 16%{?dist}
 
 License: MIT
 Group: Development/Libraries
@@ -9,8 +9,8 @@
 Patch0: http://download.sourceforge.net/blt/blt2.4z-patch-2
 Patch1: http://jfontain.free.fr/blt2.4z-patch-64
 URL: http://sourceforge.net/projects/blt/
-BuildRequires: tk-devel >= 8.4.7, tk-devel < 8.5
-Requires: tk >= 8.4.7, tk < 8.5
+BuildRequires: tk-devel >= 8.4.7
+Requires: tk >= 8.4.7
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
 
 %description
@@ -22,6 +22,21 @@
 Note: this version is stubs enabled and therefore should be compatible
 with Tcl/Tk versions after and including 8.3.1.
 
+
+%package devel
+Summary:        Development package for BLT
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+BLT is an extension to the Tk toolkiy. BLT's most useful feature is the
+provision of more widgets for Tk, but it also provides more geometry managers
+and miscellaneous other commands. Note that you won't need to any patching
+of the Tcl or Tk source file to use BLT, but you will need to have Tcl/Tk
+installed in order to use BLT.
+
+This package provides headers needed to build packages based on BLT.
+
 %prep
 %setup -q -n %{name}%{version}z
 %patch0 -p1
@@ -38,6 +53,8 @@
 install -d $DIRECTORY
 install -m 755 -p src/shared/libBLT24.so src/shared/libBLTlite24.so $DIRECTORY
 install -m 644 -p library/*.{pro,tcl,xbm} library/tclIndex $DIRECTORY
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
+install -m 644 -p src/blt.h $RPM_BUILD_ROOT%{_includedir}/%{name}
 echo 'package ifneeded BLT 2.4 "if {[llength [info commands tk]] > 0} {load [file join $dir libBLT24.so]} else {load [file join $dir libBLTlite24.so] BLT}"' > $DIRECTORY/pkgIndex.tcl
 cp -p -r library/dd_protocols $DIRECTORY
 rm -f html/Makefile.vc
@@ -50,7 +67,13 @@
 %doc README INSTALL PROBLEMS html/
 %{_libdir}/%{name}%{version}/
 
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/blt
+
 %changelog
+* Mon Oct 22 2007 Marek Mahut <mmahut fedoraproject.org> 2.4-16
+- Providing devel package as per request in BZ#249812
 
 * Thu Feb 8 2007 Jean-Luc Fontaine <jfontain at free.fr> 2.4-15.z
 - require tk < 8.5




More information about the fedora-extras-commits mailing list