Author: djurban Date: Tue Apr 4 16:38:02 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - begin work on icomplete
---- Files affected: SPECS: icomplete.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/icomplete.spec diff -u /dev/null SPECS/icomplete.spec:1.1 --- /dev/null Tue Apr 4 18:38:02 2006 +++ SPECS/icomplete.spec Tue Apr 4 18:37:57 2006 @@ -0,0 +1,156 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_with tests # build with tests +%bcond_without tests # build without tests +# +Summary: IComplete - A code completion system +Name: icomplete +Version: 0.3 +Release: 1 +License: GPL +Group: Applications +Source0: http://mesh.dl.sourceforge.net/sourceforge/icomplete/%{name}-%{version}.tar.bz2 +# Source0-md5: cc2ca34af559f9face1e0670c0b0d61b +URL: http://stud4.tuwien.ac.at/~e0125672/icomplete +#BuildRequires: - +#BuildRequires: autoconf +#BuildRequires: automake +#BuildRequires: libtool +#Requires(postun): - +#Requires(pre,post): - +#Requires(preun): - +#Requires: - +#Provides: group(foo) +#Provides: user(foo) +#Provides: - +#Obsoletes: - +#Conflicts: - +#BuildArch: noarch +#ExclusiveArch: %{ix86} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + +%description -l pl + +%package subpackage +Summary: - +Summary(pl): - +Group: - + +%description subpackage + +%description subpackage -l pl + +%if %{with devel-static} +%package devel +Summary: Development libraries and header files for ... library +Group: Development/Libraries + +%description devel +This is the package containing the development libraries and header +files for ... + +%package static +Summary: Static ... library +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static ... library. + +%endif + +%prep +%setup -q + +%build +#%%{__gettextize} +#%%{__libtoolize} +#%%{__aclocal} +#%%{__autoconf} +#%%{__autoheader} +#%%{__automake} +#cp -f /usr/share/automake/config.sub . +%configure +%{__make} + +#%{__make} \ +# CFLAGS="%{rpmcflags}" \ +# LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT +# create directories if necessary +#install -d $RPM_BUILD_ROOT +#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre + +%post + +%preun + +%postun + +%if %{with ldconfig} +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%endif + +%if %{with initscript} +%post init +/sbin/chkconfig --add %{name} +%service %{name} restart + +%preun init +if [ "$1" = "0" ]; then + %service -q %{name} stop + /sbin/chkconfig --del %{name} +fi +%endif + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO + +%if 0 +# if _sysconfdir != /etc: +#%%dir %{_sysconfdir} +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name} +%endif + +# initscript and its config +%if %{with initscript} +%attr(754,root,root) /etc/rc.d/init.d/%{name} +%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} +%endif + +#%{_examplesdir}/%{name}-%{version} + +%files subpackage +%defattr(644,root,root,755) +#%doc extras/*.gz +#%{_datadir}/%{name}-ext + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/04/04 16:37:57 djurban +- begin work on icomplete + +Revision 1.53 2005/08/15 21:54:32 glen +- adapterized and other things + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
