- Update to upstream 2.2.4.1
- Added devhelp book and necessary BRs - Split documentation into new subpackage - Moved documentation to gtk-doc dir
This commit is contained in:
parent
854ae90b88
commit
8389314d3a
@ -1 +1 @@
|
|||||||
libsigc++-2.2.2.tar.bz2
|
libsigc++-2.2.4.1.tar.bz2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: libsigc++20
|
Name: libsigc++20
|
||||||
Version: 2.2.2
|
Version: 2.2.4.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
Summary: Typesafe signal framework for C++
|
Summary: Typesafe signal framework for C++
|
||||||
|
|
||||||
@ -9,9 +9,8 @@ License: LGPLv2+
|
|||||||
URL: http://libsigc.sourceforge.net/
|
URL: http://libsigc.sourceforge.net/
|
||||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-%version.tar.bz2
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-%version.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildRequires: doxygen graphviz
|
||||||
|
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
BuildRequires: m4
|
BuildRequires: m4
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -41,29 +40,40 @@ needed for development with %name.
|
|||||||
%setup -q -n libsigc++-%{version}
|
%setup -q -n libsigc++-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %{name}, includes full API docs
|
||||||
|
Group: Documentation
|
||||||
|
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
This package contains the full API documentation for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure %{!?_with_static: --disable-static}
|
%configure %{!?_with_static: --disable-static}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT docs-to-include
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||||
%{__mkdir} docs-to-include
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html
|
||||||
%{__mv} ${RPM_BUILD_ROOT}%{_docdir}/libsigc-2.0/* docs-to-include/
|
mv ${RPM_BUILD_ROOT}%{_datadir}/doc/libsigc++-2.0 ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html
|
||||||
|
mv ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libsigc++-2.0/* ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/libsigc++-2.0/
|
||||||
|
# Fix documentation link in devhelp file, since we moved the docs to
|
||||||
|
# the gtk-doc directory.
|
||||||
|
sed -i 's:/usr/share/doc:/usr/share/gtk-doc/html:' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/libsigc++-2.0/*.devhelp2
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -71,16 +81,28 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc AUTHORS COPYING README NEWS ChangeLog TODO
|
%doc AUTHORS COPYING README NEWS ChangeLog TODO
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc docs-to-include/*
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/sigc++-2.0
|
%{_libdir}/sigc++-2.0
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{?_with_static: %{_libdir}/*.a}
|
%{?_with_static: %{_libdir}/*.a}
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%doc %{_datadir}/gtk-doc/html/libsigc++-2.0
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 29 2009 Denis Leroy <denis@poolshark.org> - 2.2.4.1-1
|
||||||
|
- Update to upstream 2.2.4.1
|
||||||
|
- Added devhelp book and necessary BRs
|
||||||
|
- Split documentation into new subpackage
|
||||||
|
- Moved documentation to gtk-doc dir
|
||||||
|
|
||||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user