Репозитории ALT
S: | 1.15.1-alt1 |
5.1: | 1.12.0-alt2 |
4.1: | 1.12.0-alt2 |
4.0: | 1.12.0-alt1 |
3.0: | 1.10.2-alt1.1 |
Группа :: Разработка/C++
Пакет: cppunit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
%def_disable docs
Name: cppunit
Version: 1.15.1
Release: alt1
Summary: C++ port of the famous JUnit framework for unit testing
License: LGPL
Group: Development/C++
Url: https://www.freedesktop.org/wiki/Software/cppunit/
Source: %name-%version.tar.gz
# Automatically added by buildreq on Thu Oct 05 2006
BuildRequires: doxygen gcc-c++ graphviz
%description
CppUnit is the C++ port of the famous JUnit framework for unit
testing.
%package devel
Summary: C++ port of the famous JUnit framework for unit testing
Group: Development/C++
Requires: %name = %version-%release
Obsoletes: %name-gcc2-devel, %name-gcc3-devel, %name-common-devel
Provides: %name-gcc2 = %version-%release, %name-gcc3 = %version-%release, %name-common-devel = %version-%release
%description devel
CppUnit is the C++ port of the famous JUnit framework for unit
testing.
%package devel-docs
Summary: Documentation for CppUnit
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name-devel < %version-%release
%description devel-docs
CppUnit is the C++ port of the famous JUnit framework for unit
testing.
This package contains development documentation for CppUnit.
%prep
%setup
%build
%autoreconf
#./autogen.sh
%configure \
--disable-static \
--docdir=%_docdir/%name-%version
%make_build
%install
%makeinstall_std
%check
make check
%files
%_libdir/lib*.so.*
%files devel
%doc %_docdir/%name-%version/*
%_bindir/*
%_includedir/cppunit/
%_libdir/lib*.so
#_datadir/aclocal/*
#_man1dir/*
%_pkgconfigdir/%name.pc
%if_enabled docs
%files devel-docs
%_datadir/%name
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable docs
Name: cppunit
Version: 1.15.1
Release: alt1
Summary: C++ port of the famous JUnit framework for unit testing
License: LGPL
Group: Development/C++
Url: https://www.freedesktop.org/wiki/Software/cppunit/
Source: %name-%version.tar.gz
# Automatically added by buildreq on Thu Oct 05 2006
BuildRequires: doxygen gcc-c++ graphviz
%description
CppUnit is the C++ port of the famous JUnit framework for unit
testing.
%package devel
Summary: C++ port of the famous JUnit framework for unit testing
Group: Development/C++
Requires: %name = %version-%release
Obsoletes: %name-gcc2-devel, %name-gcc3-devel, %name-common-devel
Provides: %name-gcc2 = %version-%release, %name-gcc3 = %version-%release, %name-common-devel = %version-%release
%description devel
CppUnit is the C++ port of the famous JUnit framework for unit
testing.
%package devel-docs
Summary: Documentation for CppUnit
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name-devel < %version-%release
%description devel-docs
CppUnit is the C++ port of the famous JUnit framework for unit
testing.
This package contains development documentation for CppUnit.
%prep
%setup
%build
%autoreconf
#./autogen.sh
%configure \
--disable-static \
--docdir=%_docdir/%name-%version
%make_build
%install
%makeinstall_std
%check
make check
%files
%_libdir/lib*.so.*
%files devel
%doc %_docdir/%name-%version/*
%_bindir/*
%_includedir/cppunit/
%_libdir/lib*.so
#_datadir/aclocal/*
#_man1dir/*
%_pkgconfigdir/%name.pc
%if_enabled docs
%files devel-docs
%_datadir/%name
%endif
%changelog
…
Полный changelog можно просмотреть здесь