forked from pool/ccrtp
Accepting request 178913 from network:telephony
- Build and ship development documentation (forwarded request 178910 from jengelh) OBS-URL: https://build.opensuse.org/request/show/178913 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccrtp?expand=0&rev=9
This commit is contained in:
commit
194b64641e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 21:32:27 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Build and ship development documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 5 22:17:02 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
47
ccrtp.spec
47
ccrtp.spec
@ -33,12 +33,16 @@ Source3: %name.keyring
|
||||
Patch1: 0001-build-properly-use-autotools.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: ucommon-devel >= 5.0.0
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
@ -73,6 +77,17 @@ Obsoletes: libccrtp-devel < %version
|
||||
This package contains files needed when developing applications using
|
||||
ccrtp.
|
||||
|
||||
%package doc
|
||||
Summary: Generated class documentation for ccrtp
|
||||
Group: Documentation/HTML
|
||||
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
Generated class documentation for the ccrtp library from header
|
||||
files, html browsable.
|
||||
|
||||
%prep
|
||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
||||
%setup -q
|
||||
@ -87,28 +102,34 @@ make %{?_smp_mflags} V=1;
|
||||
%install
|
||||
make install DESTDIR="%buildroot";
|
||||
rm -f "%buildroot/%_libdir"/*.la;
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,0755)
|
||||
%{_libdir}/libccrtp*.so.2*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,0755)
|
||||
%doc AUTHORS COPYING NEWS README TODO ChangeLog
|
||||
%{_libdir}/libccrtp*.so
|
||||
%{_libdir}/pkgconfig/libccrtp.pc
|
||||
%dir %{_includedir}/ccrtp
|
||||
%{_includedir}/ccrtp/*.h
|
||||
%{_infodir}/ccrtp.info*
|
||||
|
||||
%post devel
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/ccrtp.info.gz
|
||||
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ccrtp.info.gz
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,0755)
|
||||
%doc COPYING
|
||||
%{_libdir}/libccrtp*.so.2*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,0755)
|
||||
%doc AUTHORS NEWS README TODO ChangeLog
|
||||
%{_libdir}/libccrtp*.so
|
||||
%{_libdir}/pkgconfig/libccrtp.pc
|
||||
%dir %{_includedir}/ccrtp
|
||||
%{_includedir}/ccrtp/*.h
|
||||
%{_infodir}/ccrtp.info*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc doc/html/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user