File idep.spec of Package idep
#
# spec file for package idep (Version 0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: idep
BuildRequires: gcc-c++
Summary: Track the Dependencies in your C or C++ Code
Version: 0.5
Release: 107
License: GPL v2 or later
Url: http://www.stolk.org
Group: Development/Languages/C and C++
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-configure.diff
Patch1: idep-C_headers.patch
Patch2: idep-foreign_package.patch
Patch3: idep-constify_args.patch
Patch4: idep-call_LT_INIT.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _prefix /usr
%description
Idep can be used for checking the dependencies of C++ include files. It
offers these features:
- Prints out hierarchy of include files
- Lists the class definitions that are found in each header file
- Detects cyclic dependencies in your include files
- Detects inclusions that could be pruned
Authors:
--------
Bram Stolk (b.stolk@chello.nl)
%prep
%setup -q
%patch
%patch1
%patch2
%patch3
%patch4
rm -f NEWS
%build
autoreconf -fi
export CXXFLAGS="$RPM_OPT_FLAGS -W -Wall"
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
%install
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog README
%{_bindir}/idep
%changelog
* Mon Apr 14 2008 pth@suse.de
- Call LT_INIT in configure.in.
* Mon Oct 29 2007 pth@suse.de
- Include stdlib.
- Include cstdio and cstring instead of stdio.h and string.h.
- Constify second argument to strip_trailers so string constants
can be passed in without warnings.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 10 2004 pth@suse.de
- Initial package created.