|
hjames |
ffea955 |
Name: log4cxx
|
|
hjames |
ffea955 |
Version: 0.10.0
|
|
|
911f079 |
Release: 17%{?dist}
|
|
hjames |
ffea955 |
Summary: A port to C++ of the Log4j project
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
Group: System Environment/Libraries
|
|
hjames |
ffea955 |
License: ASL 2.0
|
|
hjames |
ffea955 |
URL: http://logging.apache.org/log4cxx/index.html
|
|
hjames |
ffea955 |
Source0: http://www.apache.org/dist/logging/log4cxx/%{version}/apache-%{name}-%{version}.tar.gz
|
|
|
d3bea0b |
# Filed into upstream bugtracker at:
|
|
|
d3bea0b |
# https://issues.apache.org/jira/browse/LOGCXX-332
|
|
hjames |
ffea955 |
Patch0: log4cxx-cstring.patch
|
|
hjames |
ffea955 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
BuildRequires: apr-devel,apr-util-devel,doxygen
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%description
|
|
hjames |
ffea955 |
Log4cxx is a popular logging package written in C++. One of its distinctive
|
|
hjames |
ffea955 |
features is the notion of inheritance in loggers. Using a logger hierarchy it
|
|
hjames |
ffea955 |
is possible to control which log statements are output at arbitrary
|
|
hjames |
ffea955 |
granularity. This helps reduce the volume of logged output and minimize the
|
|
hjames |
ffea955 |
cost of logging.
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%prep
|
|
hjames |
ffea955 |
%setup -q -n apache-%{name}-%{version}
|
|
hjames |
ffea955 |
%patch0 -p1
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%build
|
|
hjames |
ffea955 |
sed -i.libdir_syssearch -e \
|
|
hjames |
ffea955 |
'/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib /lib64 |' \
|
|
hjames |
ffea955 |
configure
|
|
hjames |
ffea955 |
%configure
|
|
|
d3bea0b |
make -k %{?_smp_mflags}
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%install
|
|
hjames |
ffea955 |
rm -rf $RPM_BUILD_ROOT
|
|
hjames |
ffea955 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
hjames |
ffea955 |
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/html .
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%clean
|
|
hjames |
ffea955 |
rm -rf $RPM_BUILD_ROOT
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%post -p /sbin/ldconfig
|
|
hjames |
ffea955 |
%postun -p /sbin/ldconfig
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%files
|
|
hjames |
ffea955 |
%defattr(-,root,root,-)
|
|
hjames |
ffea955 |
%{_libdir}/liblog4cxx.so.10.0.0
|
|
hjames |
ffea955 |
%{_libdir}/liblog4cxx.so.10
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%doc NOTICE LICENSE KEYS
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%package devel
|
|
hjames |
ffea955 |
Requires: %{name} = %{version}-%{release},pkgconfig,apr-devel
|
|
hjames |
ffea955 |
Group: Development/Libraries
|
|
hjames |
ffea955 |
Summary: Header files for Log4xcc - a port to C++ of the Log4j project
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%description devel
|
|
hjames |
ffea955 |
Header files and documentation you can use to develop with log4cxx
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%files devel
|
|
hjames |
ffea955 |
%defattr(-,root,root,-)
|
|
hjames |
ffea955 |
%exclude %{_libdir}/*.la
|
|
hjames |
ffea955 |
%exclude %{_libdir}/*.a
|
|
hjames |
ffea955 |
%{_includedir}/log4cxx
|
|
hjames |
ffea955 |
%{_libdir}/liblog4cxx.so
|
|
hjames |
ffea955 |
%{_libdir}/pkgconfig/liblog4cxx.pc
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%doc html/
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
%changelog
|
|
|
911f079 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-17
|
|
|
911f079 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
911f079 |
|
|
|
1160c5b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-16
|
|
|
1160c5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1160c5b |
|
|
|
05d57c2 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-15
|
|
|
05d57c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
05d57c2 |
|
|
|
369fe03 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-14
|
|
|
369fe03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
369fe03 |
|
|
|
d09df28 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-13
|
|
|
d09df28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d09df28 |
|
|
|
050ca1c |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-12
|
|
|
050ca1c |
- Rebuilt for c++ ABI breakage
|
|
|
050ca1c |
|
|
|
5985977 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-11
|
|
|
5985977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5985977 |
|
|
|
3a15f27 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-10
|
|
|
3a15f27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3a15f27 |
|
|
Caolan McNamara |
e836ccd |
* Tue Dec 01 2009 Caolán McNamara <caolanm@redhat.com> - 0.10.0-9
|
|
Caolan McNamara |
e836ccd |
- Rebuild for new db4
|
|
Caolan McNamara |
e836ccd |
|
|
|
834d40a |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-8
|
|
|
834d40a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
834d40a |
|
|
|
d3bea0b |
* Sat Apr 25 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 0.10.0-7
|
|
|
d3bea0b |
- Fix FTBFS: updated log4cxx-cstring.patch for gcc 4.4
|
|
|
d3bea0b |
|
|
|
2987cd7 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-6
|
|
|
2987cd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
2987cd7 |
|
|
hjames |
ffea955 |
* Mon Dec 1 2008 Hayden James - 0.10.0-5
|
|
hjames |
ffea955 |
- Simplifed doc files in package
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
* Sat Nov 29 2008 Hayden James - 0.10.0-4
|
|
hjames |
ffea955 |
- Moved doxygen docs into doc folder
|
|
hjames |
ffea955 |
- Removed unnecessary apr-util-devel dependency
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
* Thu Nov 27 2008 Hayden James - 0.10.0-3
|
|
hjames |
ffea955 |
- Remove need for chrpath and other misc changes.
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
* Thu Nov 27 2008 Hayden James - 0.10.0-2
|
|
hjames |
ffea955 |
- Build requires doxygen for documentation
|
|
hjames |
ffea955 |
|
|
hjames |
ffea955 |
* Sun Nov 16 2008 Hayden James - 0.10.0-1
|
|
hjames |
ffea955 |
- Initial package.
|
|
hjames |
ffea955 |
|