]> git.pld-linux.org Git - packages/cscope.git/blobdiff - cscope.spec
- ncurses rebuild
[packages/cscope.git] / cscope.spec
index d867bb89b8978cb15b3cb92edcb854119db8f2b4..af87d622f4b05c67f0fddbeb874b6fbd110511cd 100644 (file)
@@ -1,54 +1,52 @@
-Summary: cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code.
-Name: cscope
-Version: 15.1
-Release: 1
-Copyright: BSD
-Group: Development/Tools
-Source: cscope-15.1.tar.gz
-Buildroot: /tmp/%{name}-%{version}
+Summary:       cscope - an interactive, screen-oriented tool for browse C source
+Summary(pl.UTF-8):     cscope - interaktywny program do przeszukiwania kodu w języku C
+Name:          cscope
+Version:       15.6
+Release:       3
+License:       BSD
+Group:         Development/Tools
+Source0:       http://dl.sourceforge.net/cscope/%{name}-%{version}.tar.gz
+# Source0-md5: db87833f90d8267b1fc0c419cfc4d219
+Patch0:                %{name}-CVE-2004-2541.patch
+URL:           http://cscope.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: ncurses-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code.
+cscope is an interactive, screen-oriented tool that allows the user to
+browse through C source files for specified elements of code.
+
+%description -l pl.UTF-8
+cscope jest interaktywnym, pełnoekranowym narzędziem, które pozwala
+użytkownikowi na przeszukiwanie plików z kodem w języku C pod względem
+określonych elementów.
 
 %prep
-%setup
+%setup -q
+%patch0 -p1
 
 %build
-./configure
-make
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/bin
-mkdir -p $RPM_BUILD_ROOT/usr/man/man1
 
-install -s -m 755 src/cscope $RPM_BUILD_ROOT/usr/bin/cscope
-install -m 755 doc/cscope.1 $RPM_BUILD_ROOT/usr/man/man1/cscope.1
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc TODO COPYING ChangeLog AUTHORS README NEWS INSTALL
-
-/usr/bin/cscope
-/usr/man/man1/cscope.1
-
-%changelog
-* Wed Nov 20 2000 Cscope development team
-- Version 15.1 release
-- New menu and line matching interface
-- Support for up to 62 (up from 9) matching lines on screen
-- Numerous fixes
-- Updated documentation
-* Tue May 15 2000 Cscope development team
-- Version 15.0bl2 (build 2) pre-alpha release
-- Fixes and enhancements
-- Updated documentation
-- Autoconf/automake support
-- directory restructuring
-* Sun Apr 16 2000 Petr Sorfa <petrs@sco.com>
-- Initial Open Source release
-- Ported to GNU environment
-- Created rpm package
+%defattr(644,root,root,755)
+%doc TODO ChangeLog AUTHORS README NEWS
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.057675 seconds and 4 git commands to generate.