Группа :: Разработка/C++
Пакет: liblog4cpp
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: liblog4cpp
Version: 1.1.1
Release: alt4
Summary: Log for C++
Group: Development/C++
License: LGPL-2.1
Url: http://log4cpp.sourceforge.net/
Source: %name-%version.tar
BuildRequires: gcc-c++ doxygen
%description
Log for C++ is a library of classes for flexible logging to files, syslog,
and other destinations. It is modeled after the Log for Java library and
stays as close to its API as is reasonable.
%package devel
Summary: development tools for Log for C++
Group: Development/C++
Requires: %name = %EVR
%description devel
The %name-devel package contains the static libraries and header files
needed for development with %name.
%prep
%setup
%build
%add_optflags -std=c++14
%add_optflags -D_FILE_OFFSET_BITS=64
./autogen.sh
%configure --enable-doxygen --disable-static
%make_build
%install
%makeinstall
rm -rf %buildroot%_prefix/doc
%files
%_libdir/lib*.so.*
%doc AUTHORS COPYING INSTALL NEWS README THANKS ChangeLog
%files devel
%_includedir/*
%_mandir/man3/*
%_bindir/log4cpp-config
%_libdir/lib*.so
%_libdir/pkgconfig/*
%_datadir/aclocal/*.m4
%changelog
…
Полный changelog можно просмотреть здесь
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: liblog4cpp
Version: 1.1.1
Release: alt4
Summary: Log for C++
Group: Development/C++
License: LGPL-2.1
Url: http://log4cpp.sourceforge.net/
Source: %name-%version.tar
BuildRequires: gcc-c++ doxygen
%description
Log for C++ is a library of classes for flexible logging to files, syslog,
and other destinations. It is modeled after the Log for Java library and
stays as close to its API as is reasonable.
%package devel
Summary: development tools for Log for C++
Group: Development/C++
Requires: %name = %EVR
%description devel
The %name-devel package contains the static libraries and header files
needed for development with %name.
%prep
%setup
%build
%add_optflags -std=c++14
%add_optflags -D_FILE_OFFSET_BITS=64
./autogen.sh
%configure --enable-doxygen --disable-static
%make_build
%install
%makeinstall
rm -rf %buildroot%_prefix/doc
%files
%_libdir/lib*.so.*
%doc AUTHORS COPYING INSTALL NEWS README THANKS ChangeLog
%files devel
%_includedir/*
%_mandir/man3/*
%_bindir/log4cpp-config
%_libdir/lib*.so
%_libdir/pkgconfig/*
%_datadir/aclocal/*.m4
%changelog
…
Полный changelog можно просмотреть здесь