rpms/blt/EL-5 blt.spec,1.11,1.12

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Thu Jul 24 10:05:38 UTC 2008


Author: sergiopr

Update of /cvs/pkgs/rpms/blt/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5845

Modified Files:
	blt.spec 
Log Message:
* Thu Jul 24 2008 Sergio Pascual <sergiopr at fedoraproject.org> 2.4-20.z
- Rebuilt for EL-5



Index: blt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/blt/EL-5/blt.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- blt.spec	28 Aug 2006 09:52:50 -0000	1.11
+++ blt.spec	24 Jul 2008 10:04:44 -0000	1.12
@@ -1,7 +1,7 @@
 Summary: BLT widget extension to Tcl/Tk scripting language development
 Name: blt
 Version: 2.4
-Release: 14.z%{?dist}
+Release: 20.z%{?dist}
 
 License: MIT
 Group: Development/Libraries
@@ -22,8 +22,23 @@
 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
+%setup -q -n %{name}%{version}
 %patch0 -p1
 %patch1 -p1
 
@@ -38,19 +53,47 @@
 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/*.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
+# File in /etc/ld.so.conf.d
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d
+echo "%{_libdir}/%{name}%{version}" >> $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root,0755)
 %doc README INSTALL PROBLEMS html/
+%config(noreplace) %{_sysconfdir}/ld.so.conf.d/*
 %{_libdir}/%{name}%{version}/
 
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/blt/*
+
 %changelog
+* Thu Jul 24 2008 Sergio Pascual <sergiopr at fedoraproject.org> 2.4-20.z
+- Rebuilt for EL-5
+
+* Thu Nov 15 2007 Sergio Pascual <sergiopr at fedoraproject.org> 2.4-19
+- Renaming the file in /etc/ld.so.conf.d to %%name
+
+* Mon Nov 05 2007 Sergio Pascual <sergiopr at fedoraproject.org> 2.4-18
+- Providing file in /etc/ld.so.conf.d (bug #333081)
+
+* Mon Oct 22 2007 Marek Mahut <mmahut fedoraproject.org> 2.4-17
+- 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
 
 * Mon Aug 28 2006 Jean-Luc Fontaine <jfontain at free.fr> 2.4-14.z
 - added dist tag




More information about the fedora-extras-commits mailing list