libmimic/libmimic.spec

97 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libmimic
Version: 1.0.4
Release: 3mamba
Summary: Audio/Video Conference software for Instant Messengers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.freedesktop.org/wiki/Software/Farstream/wiki/
Source: http://downloads.sourceforge.net/project/farsight/libmimic/libmimic-%{version}/libmimic-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
BuildRequires: tetex-latex
%description
Audio/Video Conference software for Instant Messengers.
It aims to provide Audio/Video conferencing for as many Instant Messengers as possible through a modular design.
Libmimic provides the API required for encoding and decoding MIMIC v2.x-encoded content.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Audio/Video Conference software for Instant Messengers.
This package contains static libraries and header files needed for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
Audio/Video Conference software for Instant Messengers.
This package contains static libraries needed for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
%description apidocs
Audio/Video Conference software for Instant Messengers.
This package contains %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
sed -i "s|%{_builddir}/libmimic-%{version}/src/|%{_includedir}|" doc/api/html/files.html
install -pm 644 src/mimic-private.h %{buildroot}%{_includedir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libmimic.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/mimic*.h
%{_libdir}/libmimic.so
%{_libdir}/pkgconfig/libmimic.pc
%doc ChangeLog INSTALL NEWS README
%files static
%defattr(-,root,root)
%{_libdir}/libmimic.*a
%files apidocs
%defattr(-,root,root)
%doc doc/api/html
%changelog
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-3mamba
- rebuilt with debug package and specfile fixes
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- rebuilt in devel
* Fri Jan 01 2010 gil <puntogil@libero.it> 1.0.4-1mamba
- package created by autospec