rpms/sparse/devel sparse.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matt Domsch (mdomsch) fedora-extras-commits at redhat.com
Sun Nov 5 09:24:39 UTC 2006


Author: mdomsch

Update of /cvs/extras/rpms/sparse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31370/devel

Modified Files:
	.cvsignore sources 
Added Files:
	sparse.spec 
Log Message:
auto-import sparse-0-0.1.20061026git on branch devel from sparse-0-0.1.20061026git.src.rpm


--- NEW FILE sparse.spec ---
%define snapshot_date 20061026
%define prerelease 1
%define alphatag %{snapshot_date}git
Name: sparse          
Version: 0        
Release: 0.%{prerelease}.%{alphatag}%{?dist}
Summary: A semantic parser of source files

Group:      Development/Tools
License:    Open Software License
URL:        http://www.kernel.org/pub/scm/devel/sparse/sparse.git/    
# git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git/
# snapshots also available at http://www.codemonkey.org.uk/projects/git-snapshots/sparse/
Source0:    sparse-%{snapshot_date}.tar.bz2
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Sparse is a semantic parser of source files: it's neither a compiler
(although it could be used as a front-end for one) nor is it a
preprocessor (although it contains as a part of it a preprocessing
phase).

It is meant to be a small - and simple - library.  Scanty and meager,
and partly because of that easy to use.  It has one mission in life:
create a semantic parse tree for some arbitrary user for further
analysis.  It's not a tokenizer, nor is it some generic context-free
parser.  In fact, context (semantics) is what it's all about - figuring
out not just what the grouping of tokens are, but what the _types_ are
that the grouping implies.

Sparse is primarily used in the development and debugging of the Linux kernel.

%prep
%setup -q -n sparse


%build
make %{?_smp_mflags} PREFIX="%{_prefix}" CFLAGS="%{optflags} -Wwrite-strings -fpic"


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
make install PREFIX=%{buildroot}%{_prefix}
# no reason to ship libsparse.so until something exists that links against it
rm %{buildroot}%{_bindir}/libsparse.so

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc LICENSE README FAQ
%{_bindir}/sparse

%changelog
* Thu Oct 26 2006 Matt Domsch <Matt_Domsch at dell.com> 0-0.1.20061026git
- Initial packaging for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/sparse/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Nov 2006 09:23:47 -0000	1.1
+++ .cvsignore	5 Nov 2006 09:24:09 -0000	1.2
@@ -0,0 +1 @@
+sparse-20061026.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/sparse/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Nov 2006 09:23:47 -0000	1.1
+++ sources	5 Nov 2006 09:24:09 -0000	1.2
@@ -0,0 +1 @@
+724e23dc62375879f75708f35f245e58  sparse-20061026.tar.bz2




More information about the scm-commits mailing list