]> git.pld-linux.org Git - packages/blt.git/commitdiff
- release 5, blt-2_4u-5
authorkloczek <kloczek@pld-linux.org>
Fri, 5 Jan 2001 08:02:56 +0000 (08:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- merged excl rawhide patch (with fix tmp race),
- moved %doc to devel,
- added BuildRequires rules,
- few small cleanups.

Changed files:
    blt.spec -> 1.14

blt.spec

index 8cc968aa9815c8c47c80051ac57c732dfa4ed385..cc4579952ec977efa889f624c50b6b3bdd97a0ab 100644 (file)
--- a/blt.spec
+++ b/blt.spec
@@ -1,7 +1,8 @@
-Summary:       A Tk toolkit extension, including widgets, geometry managers, etc.
+Summary:       A Tk toolkit extension, including widgets, geometry managers, etc
+Summary(pl):   Rozszerezenie Tk umo¿liwiajace operowanie na kontrolkach i wiele innych
 Name:          blt
 Version:       2.4u
-Release:       1
+Release:       5
 License:       MIT
 Group:         Development/Tools
 Group(de):     Entwicklung/Werkzeuge
@@ -10,6 +11,9 @@ Group(pl):    Programowanie/Narz
 Source0:       ftp://tcltk.sourceforge.net/pub/tcltk/blt/BLT%{version}.tar.gz
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-paths.patch
+Patch2:                %{name}-excl.patch
+BuildRequires: tcl-devel >= 8.3.2
+BuildRequires: tk-devel >= 8.3.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,6 +70,7 @@ BLT demos and examples.
 %setup -q -n blt%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure
@@ -73,7 +78,6 @@ BLT demos and examples.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc,sbin}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
@@ -85,8 +89,6 @@ mv -f $RPM_BUILD_ROOT%{_bindir}/bltsh24 $RPM_BUILD_ROOT%{_bindir}/bltsh
 mv -f $RPM_BUILD_ROOT%{_bindir}/bltwish24 $RPM_BUILD_ROOT%{_bindir}/bltwish
 
 # bitmap.n is provided by tk-devel
-# but why remove tabset.n and watch.n?
-#rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/bitmap.n
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
@@ -94,6 +96,7 @@ mv -f $RPM_BUILD_ROOT%{_libdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{na
 cp -rf examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
 rm -f html/Makefile* $RPM_BUILD_ROOT%{_libdir}/blt2.4/{NEWS,README,PROBLEMS}
+
 gzip -9nf README NEWS PROBLEMS
 
 %post   -p /sbin/ldconfig
@@ -104,7 +107,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz html
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*24.so
 %{_libdir}/blt2.4
@@ -112,6 +114,7 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*[a-zA-Z].so
+%doc *.gz html
 %{_includedir}/blt.h
 %{_mandir}/mann/*
 
This page took 0.131092 seconds and 4 git commands to generate.