forked from pool/coccinelle
osc copypac from project:home:jengelh:dev package:coccinelle revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=1
This commit is contained in:
commit
849afd724e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
coccinelle-0.2.1.tar.bz2
Normal file
3
coccinelle-0.2.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d390e99f420be386d25c4de23fe9a9798840c90363fddcbd7e6502852b0c423
|
||||
size 1695763
|
6
coccinelle.changes
Normal file
6
coccinelle.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 00:34:23 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Initial submission of version 0.2.1
|
||||
|
||||
|
53
coccinelle.spec
Normal file
53
coccinelle.spec
Normal file
@ -0,0 +1,53 @@
|
||||
|
||||
Name: coccinelle
|
||||
Version: 0.2.1
|
||||
Release: 0
|
||||
Summary: Semantic patch utility
|
||||
License: GPL2
|
||||
Group: Productivity/Text/Utilities
|
||||
URL: http://www.emn.fr/x-info/coccinelle/
|
||||
|
||||
#Source: http://coccinelle.lip6.fr/distrib/coccinelle-0.2.1.tgz
|
||||
Source: %name-%version.tar.bz2
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
BuildRequires: ncurses-devel ocaml python-devel
|
||||
|
||||
%description
|
||||
Coccinelle is a program matching and transformation engine which
|
||||
provides the language SmPL (Semantic Patch Language) for specifying
|
||||
desired matches and transformations in C code. Coccinelle was
|
||||
initially targeted towards performing collateral evolutions in Linux.
|
||||
Such evolutions comprise the changes that are needed in client code
|
||||
in response to evolutions in library APIs, and may include
|
||||
modifications such as renaming a function, adding a function argument
|
||||
whose value is somehow context-dependent, and reorganizing a data
|
||||
structure. Beyond collateral evolutions, Coccinelle is successfully
|
||||
used (by us and others) for finding and fixing bugs in systems code.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./configure --prefix=%_prefix --opt
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
rm -Rf "$b"
|
||||
mkdir "$b"
|
||||
#make install DESTDIR="%buildroot"
|
||||
#
|
||||
# We primarily want spatch.
|
||||
#
|
||||
mkdir -p "$b/%_bindir" "$b/%_mandir/man1"
|
||||
install -pm0755 spatch "$b/%_bindir/"
|
||||
install -pm0644 docs/spatch.1 "$b/%_mandir/man1/"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_bindir/*
|
||||
%doc %_mandir/*/*
|
||||
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
|
||||
%doc license.txt readme.txt
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user