libmimic/libmimic.spec

98 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libmimic
Version: 1.0.4
Release: 2mamba
Summary: Audio/Video Conference software for Instant Messengers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://farsight.freedesktop.org/wiki/
Source: http://downloads.sourceforge.net/project/farsight/libmimic/libmimic-%{version}/libmimic-%{version}.tar.gz
License: LGPL
BuildRequires: tetex-latex
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 need 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 need 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.
%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 ChangeLog INSTALL NEWS README
%files devel
%defattr(-,root,root)
%{_includedir}/mimic*.h
%{_libdir}/libmimic.so
%{_libdir}/pkgconfig/libmimic.pc
%files static
%defattr(-,root,root)
%{_libdir}/libmimic.*a
%files apidocs
%defattr(-,root,root)
%doc doc/api/html
%changelog
* 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