]> git.pld-linux.org Git - packages/dialog.git/commitdiff
[0.69-1]
authorArtur Frysiak <artur@frysiak.net>
Wed, 28 Apr 1999 01:23:19 +0000 (01:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- upgrade to 0.69
- changed source URL
- added libs, devel and static subpackage
- fixed coping samples

Changed files:
    dialog.spec -> 1.4

dialog.spec

index 147d2e50f2764a9a5593bfed5e581223c503ea85..1a13f4b97b7928a8ebd8a0f7d4098da4a1b0ce03 100644 (file)
@@ -4,17 +4,18 @@ Summary(fr):  Programme pour construire des bo
 Summary(pl):   Dialog tworzy okienkowy interfejs u¿ytkownika na terminalu tekstowym.
 Summary(tr):   tty diyalog kutularý oluþturan bir program
 Name:          dialog
-Version:       0.6
-Release:       15
+Version:       0.69
+Release:       1
 Copyright:     GPL
 Group:                 Utilities/Terminal
 Group(pl):     Narzêdzia/Terminal
-Source:        ftp://ftp.redhat.com/pub/misc/%{name}-%{version}.tar.gz
-Patch:                 dialog-ncurses.patch
-Patch1:        dialog-opt.patch
-Patch2:        dialog-loop.patch
+Source:        ftp://iride.unipv.it/pub/linux/dialog/%{name}-%{version}.tar.gz
+#Patch2:       dialog-loop.patch
+Patch0:                dialog-shared.patch
 BuildPrereq:   ncurses-devel
-Buildroot:     /tmp/buildroot-%{name}-%{version}
+BuildPrereq:   gpm-devel
+Requires:      %{name}-libs = %{version}
+Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
 Dialog is a utility that allows you to build user interfaces in
@@ -48,40 +49,116 @@ ara
 programýný bir kabuk programcýðý içinden çaðýrabilirsiniz. Örnekler için
 /usr/src/examples/dialog-%{version} dizinine bakýnýz.
 
+%package libs
+Summary:       Dialog library
+Summary(pl):   Biblioteka dialog
+Group:         Libraries
+Group(pl):     Biblioteki
+
+%description libs
+Dialog library
+
+%description libs -l pl
+Biblioteka dialog pozwala na stworzenie przyjaznego interfejsu
+u¿ytkownika na terminalu pracuj±cym w trybie tekstowym.
+
+%package devel
+Summary:       Libraries and headers files for dialog
+Summary(pl):   Biblioteki i pliki nagó³wkowe dla dialog
+Group:         Development/Libraries
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name}-libs = %{version}
+
+%description devel
+Libraries and headers files for dialog.
+
+%description devel -l pl
+Biblioteki i pliki nagó³wkowe dla dialog.
+
+%package static
+Summary:       Static dialog library
+Summary(pl):   Statyczna biblioteka dialog
+Group:         Development/Libraries
+Group(pl):      Programowanie/Biblioteki
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static dialog library
+
+%description static -l pl
+Statyczna biblioteka dialog
+
+
 %prep
 %setup  -q
 %patch0 -p1 
-%patch1 -p1 
-%patch2 -p1 
+#%patch1 -p1 
+#%patch2 -p1 
 
 %build
-( cd src; make depend )
+autoconf
 
-make 
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+./configure \
+       --prefix=/usr
+
+make depend shared all
 
 %install
 rm -rf $RPM_BUILD_ROOT 
 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1,src/examples/%{name}-%{version}}
 
-install -s src/dialog $RPM_BUILD_ROOT/usr/bin
-install man/dialog.man $RPM_BUILD_ROOT/usr/man/man1/dialog.1
-cp -a samples $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
+make prefix=$RPM_BUILD_ROOT/usr install
+
+cp -a samples/* dialog.pl $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
 
 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
-       dialog.lsm README
+       dialog.lsm README CMDLINE
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {dialog.lsm,README}.gz
-%doc /usr/src/examples/%{name}-%{version}
+%doc {dialog.lsm,README,CMDLINE}.gz
 %attr(755,root,root) /usr/bin/dialog
-/usr/man/man1/dialog.1*
+/usr/man/man1/*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) /usr/lib/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc /usr/src/examples/%{name}-%{version}/checklist
+%doc /usr/src/examples/%{name}-%{version}/gauge-sh
+%doc /usr/src/examples/%{name}-%{version}/gauge.c
+%doc /usr/src/examples/%{name}-%{version}/infobox
+%doc /usr/src/examples/%{name}-%{version}/inputbox
+%doc /usr/src/examples/%{name}-%{version}/menubox
+%doc /usr/src/examples/%{name}-%{version}/msgbox
+%doc /usr/src/examples/%{name}-%{version}/radiolist
+%doc /usr/src/examples/%{name}-%{version}/textbox
+%doc /usr/src/examples/%{name}-%{version}/yesno
+%doc /usr/src/examples/%{name}-%{version}/README
+%doc /usr/src/examples/%{name}-%{version}/Makefile
+%doc %attr(755,root,root) /usr/src/examples/%{name}-%{version}/gauge
+
+%attr(755,root,root) /usr/lib/lib*.so
+/usr/include/*
+/usr/man/man3/*
+
+%files static
+/usr/lib/lib*.a
 
 %changelog
+* Wed Apr 28 1999 Artur Frysiak <wiget@pld.org.pl>
+  [0.69-1]
+- upgrade to 0.69
+- changed source URL
+- added libs, devel and static subpackage
+- fixed coping samples
+
 * Thu Apr 22 1999 Artur Frysiak <wiget@pld.org.pl>
   [0.6-15]
 - compiled on rpm 3
This page took 0.134489 seconds and 4 git commands to generate.