]> git.pld-linux.org Git - packages/gcvs.git/blobdiff - gcvs.spec
- pl desc fix
[packages/gcvs.git] / gcvs.spec
index c5b1a25eefa3134accb0ad7052adcfb67137f1a6..a4bac9e21c27dcbf16a9bb16074ea738f095b925 100644 (file)
--- a/gcvs.spec
+++ b/gcvs.spec
@@ -1,56 +1,70 @@
-Summary:       gCVS is a GTK port of WinCVS, a Windows-based CVS client
-Summary(pl):   Sportowany pod gtk WinCVS - klient CVS
+Summary:       gCVS is a GTK+ port of WinCVS, a Windows-based CVS client
+Summary(pl):   Sportowany pod GTK+ WinCVS - klient CVS
 Name:          gcvs
-Version:       1.0a4
-Release:       1
+Version:       1.0
+Release:       4
+Epoch:         2
 License:       GPL
 Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
-Source0:       http://www.wincvs.org/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/cvsgui/%{name}-%{version}.tar.bz2
+# Source0-md5: 063b5805eda434f47251af9278168adb
+Source1:       %{name}.desktop
+Source2:       %{name}.png
 Patch0:                %{name}-nocvsunix.patch
+Patch1:                %{name}-ambiguous.patch
+Patch2:                %{name}-types.patch
 URL:           http://www.wincvs.org/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gtk+-devel >= 1.2
 BuildRequires: libstdc++-devel
+BuildRequires: tcl-devel
 BuildRequires: unzip
-Requires:      tcl
 Requires:      cvs >= 1.10
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
-gCVS is a GTK port of WinCVS, a Windows-based CVS client.
+gCVS is a GTK+ port of WinCVS, a Windows-based CVS client.
+
+%description -l pl
+gCVS to sportowana na GTK+ wersja WinCVS - klienta CVS opartego na
+Windows. Pozwala na wygodne operacje w CVS poprzez graficzny
+interfejs.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 CXXFLAGS="%{rpmcflags} -fno-rtti"
 %configure
 %{__make}
 
-cd cvsunix
-%configure
-%{__make}
-cd ..
-
 %install
 rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install cvsunix/src/cvs $RPM_BUILD_ROOT%{_bindir}
-
-gzip -9nf AUTHORS ChangeLog README TODO
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gcvs.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files 
+%files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README TODO
 %doc GuiDoc/cvsgui*html
-%attr(755,root,root) %{_bindir}/gcvs
+%attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_desktopdir}/gcvs.desktop
+%{_pixmapsdir}/gcvs.png
This page took 0.0844 seconds and 4 git commands to generate.