forked from pool/libzrtpcpp
fix up name
OBS-URL: https://build.opensuse.org/package/show/network:telephony/libzrtpcpp?expand=0&rev=12
This commit is contained in:
parent
b2ce4fa130
commit
2a114ceb7f
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libzrtpcpp (Version 2.0.0)
|
# spec file for package libzrtpcpp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,7 +15,10 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
Name: libzrtpcpp2
|
|
||||||
|
|
||||||
|
Name: libzrtpcpp
|
||||||
|
%define lname libzrtpcpp2
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -36,19 +39,28 @@ that offers compatibility with Phil Zimmermann's zrtp/Zfone voice
|
|||||||
encryption, and which can be directly embedded into telephony
|
encryption, and which can be directly embedded into telephony
|
||||||
applications.
|
applications.
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: A ccrtp extension for ZRTP support
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
This library is a GPL licensed extension to the GNU RTP Stack, ccrtp,
|
||||||
|
that offers compatibility with Phil Zimmermann's zrtp/Zfone voice
|
||||||
|
encryption, and which can be directly embedded into telephony
|
||||||
|
applications.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Summary: Headers and link library for libzrtpcpp
|
Summary: Headers and link library for libzrtpcpp
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: libccrtp2-devel >= 2.0.0
|
Requires: ccrtp-devel >= 2.0.0
|
||||||
Requires: %{name} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the header files, link libraries, and
|
This package provides the header files, link libraries, and
|
||||||
documentation for building applications that use libzrtpcpp.
|
documentation for building applications that use libzrtpcpp.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libzrtpcpp-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -64,7 +76,6 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -73,7 +84,7 @@ rm -rf %{buildroot}
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files -n libzrtpcpp2
|
%files -n %lname
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
@ -85,8 +96,8 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/libzrtpcpp/*.h
|
%{_includedir}/libzrtpcpp/*.h
|
||||||
%dir %{_includedir}/libzrtpcpp
|
%dir %{_includedir}/libzrtpcpp
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig -n %lname
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig -n %lname
|
||||||
|
|
||||||
%changelog
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user