]> git.pld-linux.org Git - packages/dc_gui.git/blobdiff - dc_gui.spec
release 5 to rebuild with python 2.4
[packages/dc_gui.git] / dc_gui.spec
index 6ab22e1f64ce715e92b267f765bce0f417dde8ec..84bf96adcc613847da29134c4ff5f2e113ebb0ed 100644 (file)
@@ -1,42 +1,64 @@
-Summary:       GUI for dctc
+Summary:       GUI for dctc (Direct Connect)
+Summary(pl):   GUI do dctc (Direct Connect)
 Name:          dc_gui
-Version:       0.31
-Release:       1
+Version:       0.80
+Release:       5
 License:       GPL
-Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
-Source0:       %{name}-%{version}.tar.gz
-Requires:      dctc >= 0.98
+Group:         X11/Applications/Networking
+Source0:       http://ac2i.homelinux.com/dctc/%{name}2-%{version}.tar.gz
+# Source0-md5: 3ccdc2796f3ab8e73d0405c4afccf22b
+Patch0:                %{name}-home_etc.patch
+Patch1:                %{name}-desktop.patch
+URL:           http://ac2i.homelinux.com/dctc/
 BuildRequires: autoconf
 BuildRequires: automake
-URL:           http://ac2i.tzo.com/dcdt
+BuildRequires: db-devel
+BuildRequires: dctc >= 0.85.8
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel >= 2:2.2
+BuildRequires: intltool
+BuildRequires: libgnomeui-devel
+Requires:      dctc >= 0.85.8
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
-dctc GUI
+Direct Connect client (dctc) GUI.
+
+%description -l pl
+Graficzny interfejs u¿ytkownika do dctc (Direct Connect).
 
 %prep
-%setup -q
+%setup -q -n %{name}2-%{version}
+#%patch0 -p1
+%patch1 -p1
 
 %build
-autoconf
+rm -f missing
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# dc_gui2.mo, but gnome/help/dc_gui
 
-gzip -9nf README COPYING ChangeLog INSTALL ABOUT-NLS
+%find_lang %{name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_bindir}/dc_gui
+%doc README ChangeLog TODO
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/dc_gui2
+%{_pixmapsdir}/dc_gui2.xpm
This page took 0.078851 seconds and 4 git commands to generate.