]> git.pld-linux.org Git - packages/Xdialog.git/blobdiff - Xdialog.spec
- updated gettext BR
[packages/Xdialog.git] / Xdialog.spec
index f947db4b6cd9c9594dd6c1e6d109df46af6f5bca..cdcbad5ccbac7a439f65344b87f6e1a84911926f 100644 (file)
@@ -1,55 +1,64 @@
-Summary:       Xdialog in replacement for the dialog program
-Summary(pl):   Xdialog jest zamiennikiem dla programu cdialog
+Summary:       Xdialog - replacement for the dialog program
+Summary(pl.UTF-8):     Xdialog - zamiennik dla programu cdialog
 Name:          Xdialog
-Version:       2.0.0
-Release:       1
-License:       GPL
+Version:       2.3.1
+Release:       2
+License:       GPL v2
 Group:         X11/Applications
-Group(pl):     X11/Aplikacje
 Source0:       http://xdialog.free.fr/%{name}-%{version}.tar.bz2
-Patch0:                %{name}-man.patch
-URL:           http://xdialog.free.fr/
-BuildRequires: gtk+-devel >= 1.2.0
+# Source0-md5: 0671f8353717513bf1f0ebc80e9710f6
+Patch0:                %{name}-configure.patch
+URL:           http://xdialog.dyns.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-tools
+BuildRequires: gtk+2-devel >= 1:2.2.0
+BuildRequires: pkgconfig
+Provides:      xdialog
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
 Xdialog is designed to be a drop in replacement for the cdialog
 program. It converts any terminal based program into a program with an
-X-windows interface. The dialogs are easier to see and use and Xdialog
+X Window interface. The dialogs are easier to see and use and Xdialog
 adds even more functionalities (help button+box, treeview, editbox,
 file selector, range box, and much more).
 
-%description -l pl
-Xdialog jest zaprojektowany by byæ odpowiednikiem, zamiennikiem dla
-programu cdialog. Dziêki niemu dowolny terminalowy program u¿ywaj±cy
-dialoga w program z interejsem X-window.
+%description -l pl.UTF-8
+Xdialog jest zaprojektowany by być odpowiednikiem, zamiennikiem dla
+programu cdialog. Dzięki niemu dowolny terminalowy program używający
+dialogu można zamienić w program z interfejsem X Window.
 
 %prep
-rm -rf $RPM_BUILD_ROOT
-
 %setup -q
-
 %patch0 -p1
 
 %build
-%configure 
-%{__make} 
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       doc_DATA=
+
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no_NO,nb}
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sv{_SE,}
 
-gzip -9nf README NEWS AUTHORS BUGS ChangeLog samples/*
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz samples/*.gz 
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS BUGS ChangeLog README doc/*.{html,png} samples/
+%attr(755,root,root) %{_bindir}/Xdialog
+%{_mandir}/man1/Xdialog.1*
This page took 0.083365 seconds and 4 git commands to generate.