]> git.pld-linux.org Git - packages/comparator.git/blame - comparator.spec
- unified preamble in %changelog
[packages/comparator.git] / comparator.spec
CommitLineData
d56669ee 1Summary: Tools for fast comparasion of large source-code trees
bb314658 2Summary(pl.UTF-8): Narzędzia do szybkiego porównania drzew kodu źródłowego
d56669ee 3Name: comparator
b50dbecc 4Version: 2.5
d6b90391 5Release: 2
d56669ee 6License: GPL
7Group: Development/Tools
8Source0: http://www.catb.org/~esr/comparator/%{name}-%{version}.tar.gz
b50dbecc 9# Source0-md5: 0cfeb9300a9a1b76f66187164cfcc359
d56669ee 10URL: http://www.catb.org/~esr/comparator/
d6b90391 11%pyrequires_eq python-libs
d56669ee 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Comparator and filterator are a pair of tools for rapidly finding
16common code segments in large source trees. They can be useful as
17tools for detecting copyright infringement.
18
a30568fa
JR
19%description -l pl.UTF-8
20Comparator i filterator są parą narzędzi do szybkiego znajdywania
21wspólnych segmentów kodu w dużych drzewach kodu źródłowego. Mogą one
22być użytecznymi narzędziami do wykrywania naruszeń praw autorskich.
d56669ee 23
24%prep
25%setup -q
26
27%build
28%{__make} \
79b4f7a4 29 CC="%{__cc}" \
d56669ee 30 CFLAGS="%{rpmcflags}"
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{py_sitedir}}
35
36install comparator filterator $RPM_BUILD_ROOT%{_bindir}
37install comparator.1 $RPM_BUILD_ROOT%{_mandir}/man1
38install comparator.py $RPM_BUILD_ROOT%{py_sitedir}
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc NEWS README
46%attr(755,root,root) %{_bindir}/*
47%{_mandir}/man1/comparator.1*
48%{py_sitedir}/*
This page took 0.052299 seconds and 4 git commands to generate.