SPECS: sofia-sip.spec - pl, Source0 URL, some cleanups
qboosh
qboosh at pld-linux.org
Sat Nov 26 22:59:30 CET 2005
Author: qboosh Date: Sat Nov 26 21:59:30 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, Source0 URL, some cleanups
---- Files affected:
SPECS:
sofia-sip.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/sofia-sip.spec
diff -u SPECS/sofia-sip.spec:1.3 SPECS/sofia-sip.spec:1.4
--- SPECS/sofia-sip.spec:1.3 Fri Nov 25 16:12:28 2005
+++ SPECS/sofia-sip.spec Sat Nov 26 22:59:25 2005
@@ -1,26 +1,28 @@
# $Revision$, $Date$
-# Bconds:
-%bcond_with doxygen # Generate documents using doxygen and dot
-%bcond_with check # Run tests
-%bcond_without openssl # No OpenSSL (TLS)
-%bcond_with sigcomp # with Sofia SigComp
+#
+# Conditional build:
+%bcond_with doxygen # Generate documents using doxygen and dot
+%bcond_with check # Run tests
+%bcond_without openssl # No OpenSSL (TLS)
+%bcond_with sigcomp # with Sofia SigComp
#
Summary: Sofia SIP User-Agent library
+Summary(pl): Biblioteka agenta użytkownika Sofia SIP
Name: sofia-sip
Version: 1.11.4
Release: 1
License: LGPL 2.1
Group: Libraries
-URL: http://sf.net/projects/sofia-sip
-Source0: %{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/sofia-sip/%{name}-%{version}.tar.gz
+URL: http://sf.net/projects/sofia-sip/
%if %{with doxygen}
-BuildRequires: doxygen >= 1.3.4
-BuildRequires: graphviz >= 1.9
+BuildRequires: doxygen >= 1.3.4
+BuildRequires: graphviz >= 1.9
%endif
-%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7}
+%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7}
%if %{with sigcomp}
-BuildRequires: sofia-sigcomp-devel >= 2.5.0
-Requires: sofia-sigcomp >= 2.5.0
+BuildRequires: sofia-sigcomp-devel >= 2.5.0
+Requires: sofia-sigcomp >= 2.5.0
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,30 +32,46 @@
Sofia SIP is a RFC-3261-compliant library for SIP user agents and
other network elements.
-%package devel
+%description -l pl
+Sofia SIP to zgodna z RFC-3261 biblioteka dla agentów użytkownika SIP
+i innych elementów sieciowych.
+
+%package devel
Summary: Sofia-SIP Development Package
+Summary(pl): Pakiet programistyczny Sofia-SIP
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-%description devel
+%description devel
Development package for Sofia SIP UA library.
-%package static
+%description devel -l pl
+Pakiet programistyczny dla biblioteki Sofia SIP UA.
+
+%package static
Summary: Sofia-SIP Development Package - static library
+Summary(pl): Statyczna biblioteka Sofia-SIP
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
-%description static
+%description static
Static library for Sofia SIP UA library.
-%package utils
+%description static -l pl
+Statyczna biblioteka Sofia SIP UA.
+
+%package utils
Summary: Sofia-SIP utils
-Group: ?
-Requires: sofia-sip = %{version}-%{release}
+Summary(pl): Narzędzia Sofia-SIP
+Group: Networking/Utilities
+Requires: %{name} = %{version}-%{release}
-%description utils
+%description utils
Command line utilities for Sofia SIP UA library.
+%description utils -l pl
+Działające z linii poleceń narzędzia do biblioteki Sofia SIP UA.
+
%prep
%setup -q
@@ -63,14 +81,16 @@
--with%{!?with_sigcomp:out}-sigcomp
%{__make}
-%{?with_check:make check}
-%{?with_doxygen:make check}
+%{?with_check:%{__make} check}
+%{?with_doxygen:%{__make} check} # ???
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT/%{_bindir}/addrinfo
+
+rm $RPM_BUILD_ROOT%{_bindir}/addrinfo
%clean
rm -rf $RPM_BUILD_ROOT
@@ -82,13 +102,12 @@
%files devel
%defattr(644,root,root,755)
-%doc TODO README.developers
-%{?with_doxygen:docs/*}
-%{_aclocaldir}/*.m4
-%{_includedir}/sofia-sip
-%{_libdir}/sofia
+%doc TODO README.developers %{?with_doxygen:docs/*}
+%attr(755,root,root) %{_libdir}/libsofia-sip-ua.so
%{_libdir}/libsofia-sip-ua.la
-%{_libdir}/libsofia-sip-ua.so
+%{_libdir}/sofia
+%{_includedir}/sofia-sip
+%{_aclocaldir}/*.m4
%{_pkgconfigdir}/%{name}-ua.pc
%files static
@@ -108,6 +127,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/11/26 21:59:25 qboosh
+- pl, Source0 URL, some cleanups
+
Revision 1.3 2005/11/25 15:12:28 wiget
- rewritten
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sofia-sip.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list