]> git.pld-linux.org Git - packages/gcvs.git/blobdiff - gcvs.spec
deaa9d5f927a958d8fbcd0231d8f6a15 gcvs.png
[packages/gcvs.git] / gcvs.spec
index 8c08fdc01c6313c820a9dac89270a800e61c7eb7..8f0fd4810f727b7cb7917feb324bbdfd51831cfd 100644 (file)
--- a/gcvs.spec
+++ b/gcvs.spec
@@ -1,18 +1,21 @@
-Summary:       gCVS is a GTK port of WinCVS, a Windows-based CVS client.       
+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.0a6
+Release:       2
+Epoch:         1
 License:       GPL
 Group:         Applications/Communications
-Group(pl):     Aplikacje/Komunikacja
-Source0:       http://www.wincvs.org/%{name}-%{version}.tar.gz
-Source1:       http://www.wincvs.org/howto/wincvs-howto.zip
-Patch0:                gcvs-nocvsunix.patch
+Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/cvsgui/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
+Patch0:                %{name}-nocvsunix.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)
 
@@ -21,58 +24,42 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 gCVS is a GTK port of WinCVS, a Windows-based CVS client.
 
-%package howto
-Summary:       gCVS is a GTK port of WinCVS, a Windows-based CVS client
-Group:         Applications/Communications
-Group(pl):     Aplikacje/Komunikacja
-URL:           http://www.computas.com/pub/wincvs-howto/
-
-%description howto
-This document describes day to day usage of the WinCvs 1.0.x client.
-It is not an introduction to version control systems, not an
-introduction to CVS, and not an introduction to WinCvs. It is more
-like a place you may turn to when you know approximately what you want
-to do, but don't quite remember how to do it.
+%description -l pl
+gCVS jest bazowanym na Windows klientem CVS, u¿ywaj±cym bibliotek GTK.
+Pozwala na wygodne operacje w CVS poprzez graficzny interfejs.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
-LDFLAGS="-s"
-export CXXFLAGS LDFLAGS
-%configure
-make
-
-cd cvsunix
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+CXXFLAGS="%{rpmcflags} %{!?debug:-fno-rtti}"
 %configure
-make
-cd ..
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-       DESTDIR=$RPM_BUILD_ROOT
 
-install cvsunix/src/cvs $RPM_BUILD_ROOT/%{_bindir}
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Development
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/%{_docdir}/howto/%{name}-%{version}
-unzip %{SOURCE1} -d $RPM_BUILD_ROOT/%{_docdir}/howto/%{name}-%{version}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development/gcvs.desktop
 
 gzip -9nf AUTHORS ChangeLog README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files 
+%files
 %defattr(644,root,root,755)
 %doc *.gz
 %doc GuiDoc/cvsgui*html
-%attr(755,root,root) %{_bindir}/gcvs
-%attr(755,root,root) %{_bindir}/cvs
-%{_datadir}/%{name}/
-
-%files howto
-%defattr(644,root,root,755)
-%{_docdir}/howto/%{name}-%{version}
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_applnkdir}/Development/gcvs.desktop
This page took 0.070084 seconds and 4 git commands to generate.