SPECS: icomplete.spec - adapterized, use macros

glen glen at pld-linux.org
Tue Apr 4 19:27:51 CEST 2006


Author: glen                         Date: Tue Apr  4 17:27:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapterized, use macros

---- Files affected:
SPECS:
   icomplete.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/icomplete.spec
diff -u SPECS/icomplete.spec:1.2 SPECS/icomplete.spec:1.3
--- SPECS/icomplete.spec:1.2	Tue Apr  4 19:04:02 2006
+++ SPECS/icomplete.spec	Tue Apr  4 19:27:46 2006
@@ -6,7 +6,7 @@
 Release:	1
 License:	GPL
 Group:		Applications
-Source0:	http://mesh.dl.sourceforge.net/sourceforge/icomplete/%{name}-%{version}.tar.bz2
+Source0:	http://dl.sourceforge.net/icomplete/%{name}-%{version}.tar.bz2
 # Source0-md5:	cc2ca34af559f9face1e0670c0b0d61b
 URL:		http://stud4.tuwien.ac.at/~e0125672/icomplete
 Requires:	ctags
@@ -20,53 +20,28 @@
 
 Features:
 - Automatic generation of a tags file for the current source file by
-building a tree of included files. 
-
-- Listing members (also inherited ones) of a class
-  For QString s; s. only non-static members are suggested, for
-QString:: only static ones. 
-
+  building a tree of included files.
+- Listing members (also inherited ones) of a class For QString s; s.
+  only non-static members are suggested, for QString:: only static ones.
 - Listing all function signatures of overloading methods
-
-- Recognizes return values of methods.
-  QWidget w; w.rect().topLeft(). // List completions for a QPoint 
-
-- Uses the scope of the cursor position
-  Recognizes, if you are inside a method-definition and completes also
-private or protected variables for this class. For a global scope,
-only public members are suggested. 
-
+- Recognizes return values of methods. QWidget w; w.rect().topLeft().
+  // List completions for a QPoint
+- Uses the scope of the cursor position Recognizes, if you are inside
+  a method-definition and completes also private or protected variables
+  for this class. For a global scope, only public members are suggested.
 - Works in both console and graphical vim
-
 - Uses a cache system for increased speed.
 
 %prep
 %setup -q
 
 %build
-CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; 
-CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
-./configure \
-	--prefix=%{_prefix} \
-	--exec-prefix=%{_exec_prefix} \
-	--bindir=%{_bindir} \
-	--sbindir=%{_sbindir} \
-	--sysconfdir=%{_sysconfdir} \
-	--datadir=%{_datadir} \
-	--includedir=%{_includedir} \
-	--libdir=%{_libdir} \
-	--libexecdir=%{_libexecdir} \
-	--localstatedir=%{_localstatedir} \
-	--sharedstatedir=%{_sharedstatedir} \
-	--mandir=%{_mandir} \
-	--infodir=%{_infodir}
-
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -77,7 +52,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/icomplete
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/icomplete.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/icomplete.conf
 %{_datadir}/vim/vimfiles/autoload/cppcomplete.vim
 %{_datadir}/vim/vimfiles/plugin/icomplete.vim
 
@@ -87,9 +62,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/04/04 17:27:46  glen
+- adapterized, use macros
+
 Revision 1.2  2006/04/04 17:04:02  djurban
 - done, rel. 1
 
 Revision 1.1  2006/04/04 16:37:57  djurban
 - begin work on icomplete
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/icomplete.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list