rpms/blt/devel blt.spec,1.6,1.7
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Thu Mar 3 19:46:41 UTC 2005
Author: thias
Update of /cvs/extras/rpms/blt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13565/blt/devel
Modified Files:
blt.spec
Log Message:
Mass letter "b" update, one or more apply :
- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
Index: blt.spec
===================================================================
RCS file: /cvs/extras/rpms/blt/devel/blt.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- blt.spec 17 Dec 2004 18:47:50 -0000 1.6
+++ blt.spec 3 Mar 2005 19:46:39 -0000 1.7
@@ -2,18 +2,17 @@
Name: blt
Version: 2.4
Release: 10.z
-Epoch: 0
License: MIT
Group: Development/Libraries
Source: http://download.sourceforge.net/blt/BLT2.4z.tar.gz
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: XFree86-devel >= 0:4, tk >= 0:8.3.1
+BuildRequires: XFree86-devel, tk >= 8.3.1
# work around tcl-devel and tk-devel packages non existence in RH 8.0 and 9:
BuildRequires: %{_includedir}/tk.h, %{_includedir}/tcl.h
-Requires: tk >= 0:8.3.1
-BuildRoot: %_tmppath/%name-%version-%release-root-%(%__id_u -n)
+Requires: tk >= 8.3.1
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
%description
BLT is a very powerful extension to Tk. It adds plotting widgets
@@ -25,18 +24,18 @@
with Tcl/Tk versions after and including 8.3.1.
%prep
-%setup -q -n %name%{version}z
+%setup -q -n %{name}%{version}z
%patch0 -p1
%patch1 -p1
%build
-%configure --with-tcl=%_libdir --with-tk=%_libdir
+%configure --with-tcl=%{_libdir} --with-tk=%{_libdir}
cd src/shared
%__make SHLIB_LD_FLAGS=-shared # no _smp_mflags; race conditions.
%install
rm -rf $RPM_BUILD_ROOT
-DIRECTORY=$RPM_BUILD_ROOT%_libdir/%name%version
+DIRECTORY=$RPM_BUILD_ROOT%{_libdir}/%{name}%{version}
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
@@ -48,9 +47,9 @@
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root)
+%defattr(-,root,root,0755)
%doc README INSTALL PROBLEMS html/
-%_libdir/%name%{version}
+%{_libdir}/%{name}%{version}/
%changelog
* Fri Nov 5 2004 Jean-Luc Fontaine <jfontain at free.fr> 0:2.4-10.z
More information about the fedora-extras-commits
mailing list