]> git.pld-linux.org Git - packages/blt.git/commitdiff
- partialy rewrited (NFY).
authorkloczek <kloczek@pld-linux.org>
Sat, 10 Jul 1999 08:32:53 +0000 (08:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blt.spec -> 1.3

blt.spec

index 86657b2f46b25b5b19aa55e85e807f09693320e2..555d0125352a5543b43fa5c1b31279f650a38f52 100644 (file)
--- a/blt.spec
+++ b/blt.spec
@@ -1,95 +1,77 @@
-Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
-Name: blt
-Version: 2.4g
-Release: 4
-Copyright: MIT
-Group: Development/Tools
-Obsoletes: blt-devel
-Source0: ftp://ftp.tcltk.org/pub/blt/BLT2.4g.tar.gz
-Patch0: blt-2.4f-prefix.patch
-Buildroot: /var/tmp/blt-root
+Summary:       A Tk toolkit extension, including widgets, geometry managers, etc.
+Name:          blt
+Version:       2.4g
+Release:       5
+Copyright:     MIT
+Group:         Development/Tools
+Obsoletes:     blt-devel
+Source0:       ftp://ftp.tcltk.org/pub/blt/BLT%{version}.tar.gz
+Patch0:                blt-prefix.patch
+Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
-BLT is an extension to the Tk toolkit.  BLT's most useful feature is the
+BLT is an extension to the Tk toolkit. 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
-do any patching of the Tcl or Tk source files to use BLT, but you
-will need to have Tcl/Tk installed in order to use BLT.
+managers and miscellaneous other commands. Note that you won't need to do
+any patching of the Tcl or Tk source files to use BLT, but you will need to
+have Tcl/Tk installed in order to use BLT.
 
 If you are programming with the Tk toolkit, you should install BLT.
 You will need to have Tcl/Tk installed.
 
+%package devel
+
+%package static
+
 %prep
 %setup -q -n blt%{version}
-%patch -b .prefix -p1
+%patch -p1
 
 %build
-libtoolize --copy --force
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
+LDFLAGS="-s"; export LDFLAGS
+%configure
 make 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/{etc,sbin}
+install -d $RPM_BUILD_ROOT/{etc,sbin}
+
 make exec_prefix=$RPM_BUILD_ROOT/usr prefix=$RPM_BUILD_ROOT/usr \
   scriptdir=$RPM_BUILD_ROOT/usr/lib/blt2.4 bare_prefix=/usr install
+
 ln -sf libBLT.so.2.4 $RPM_BUILD_ROOT/usr/lib/libBLT.so
+
+rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
+
 strip $RPM_BUILD_ROOT/usr/bin/* || :
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/mann/*
+       README
 
-%post -p /sbin/ldconfig
+%post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
-%defattr(-,root,root)
-%doc README html
-/usr/bin/bltwish2.4
-/usr/bin/bltwish
-/usr/lib/libBLT.a
-/usr/lib/libBLT.so.2.4
-/usr/lib/libBLT.so
+%defattr(644,root,root,755)
+%doc README.gz html
+%attr(755,root,root) /usr/bin/*
+%attr(755,root,root) /usr/lib/lib*.so.*.*
 /usr/lib/blt2.4
-/usr/include/blt.h
-/usr/man/mann/BLT.n
-/usr/man/mann/barchart.n
-/usr/man/mann/bgexec.n
-# bitmap.n is in tcl as well
-#/usr/man/mann/bitmap.n
-/usr/man/mann/bltdebug.n
-/usr/man/mann/busy.n
-/usr/man/mann/dragdrop.n
-/usr/man/mann/eps.n
-/usr/man/mann/graph.n
-/usr/man/mann/htext.n
-/usr/man/mann/hierbox.n
-/usr/man/mann/spline.n
-/usr/man/mann/stripchart.n
-/usr/man/mann/table.n
-# tabset.n is in itcl as well
-#/usr/man/mann/tabset.n
-/usr/man/mann/tile.n
-/usr/man/mann/vector.n
-# watch.n is in itcl as well
-#/usr/man/mann/watch.n
-/usr/man/mann/winop.n
-/usr/man/mann/beep.n
-/usr/man/mann/cutbuffer.n
-
-%changelog
-* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
-- obsolete blt-devel
-
-* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
-- auto rebuild in the new build environment (release 3)
 
-* Thu Mar 11 1999 Bill Nottingham <notting@redhat.com>
-- remove watch.n, tabset.n (conflicts with itcl)
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) /usr/lib/lib*.so
+/usr/include/blt.h
+%{_mandir}/mann/*
 
-* Wed Mar 10 1999 Bill Nottingham <notting@redhat.com>
-- update to 2.4g
-- buildrooted
+%files static
+%attr(644,root,root) /usr/lib/lib*.a
 
-* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
-- stripped binaries
+%changelog
+* Wed Jul  7 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [2.4g-5]
+- based on TurboLinux spec,
+- spec rewrited by PLD team.
This page took 0.03832 seconds and 4 git commands to generate.