]> git.pld-linux.org Git - packages/dzt.git/blobdiff - dzt.spec
- updated -desktop patch, rel. 3
[packages/dzt.git] / dzt.spec
index 8c727a854448d78af13a79dd00e4dfa45488c95f..ca2431a368a5beeb93140e1df7d3a2875fffa98b 100644 (file)
--- a/dzt.spec
+++ b/dzt.spec
@@ -1,59 +1,68 @@
 Summary:       Yet Another Tabbed GNOME Terminal
 Summary:       Jeszcze jeden GNOME Terminal z zak³adkami
 Name:          dzt
-Version:       1.0.0
-Release:       1
-License:       GPL
+Version:       1.1.1
+Release:       3
+License:       GPL v2+
 Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: 3472795fc9914924a56c155048581fdd
+Patch0:                %{name}-config.patch
+Patch1:                %{name}-desktop.patch
 URL:           http://dzt.sourceforge.net/
-Source0:       http://telia.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: gnome-libs-devel
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
 
 %description
 dzt is a YATGT (Yet Another Tabbed GNOME Terminal). It is a
 multi-tabbed/paged terminal which is simple, configurable, and quick
 to use.
 
-Install dzt if you want a simple, quick, clean, and stable YATGT
+Install dzt if you want a simple, quick, clean, and stable YATGT.
 
 %description -l pl
 dzt jest JJGTZ (Jeszcze Jeden GNOME Terminal z Zak³adkami). Jest to
-wielozak³adkowy terminal, który jest prosty, konfigurowalny i szybki
-u¿yciu.
+wielozak³adkowy terminal, który jest prosty, konfigurowalny i szybki w
+u¿yciu.
 
 Zainstaluj dzt je¶li potrzebujsz prostego, szybkiego, pozbawionego
 udziwnieñ oraz stablinego JJGTZ.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 rm -f missing
-gettextize --copy --force
-libtoolize --copy --force
-aclocal -I %{_aclocaldir}/gnome
-autoconf
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal} -I %{_aclocaldir}/gnome
+%{__autoconf}
 rm -f macros/Makefile.am
-automake -a -c
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Terminals
-install dzt.desktop $RPM_BUILD_ROOT%{_applnkdir}/Terminals
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Applicationsdir=%{_desktopdir}
 
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
 %doc README AUTHORS ChangeLog
-%{_datadir}/gnome/help/dzt/*
-%{_applnkdir}/Terminals/*
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
This page took 0.056386 seconds and 4 git commands to generate.