SPECS: libmutil.spec (NEW) - new
charles
charles at pld-linux.org
Fri Dec 2 22:55:02 CET 2005
Author: charles Date: Fri Dec 2 21:55:02 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
libmutil.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libmutil.spec
diff -u /dev/null SPECS/libmutil.spec:1.1
--- /dev/null Fri Dec 2 22:55:02 2005
+++ SPECS/libmutil.spec Fri Dec 2 22:54:57 2005
@@ -0,0 +1,102 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
+Summary: libmutil - different utilities classes for portable C++ development
+Name: libmutil
+Version: 0.3.0
+Release: 0.1
+License: LGPL
+Group: Libraries
+Source0: http://www.minisip.org/source/%{name}-%{version}.tar.gz
+# Source0-md5: 3fd720e036a8b1ccc8eedcdce3bcfa47
+URL: http://www.minisip.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: openssl-devel >= 0.9.7d
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libmutil contains different classes useful for C++ programming, mostly
+string handling, cryptography and portable thread control. It is used
+by the minisip SIP user agent.
+
+%package devel
+Summary: Header files for libmutil library
+Summary(pl): Pliki nagłówkowe biblioteki libmutil
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: openssl-devel >= 0.9.7d
+
+%description devel
+Header files for libmutil library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki libmutil.
+
+%package static
+Summary: Static libmutil library
+Summary(pl): Statyczna biblioteka libmutil
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libmutil library.
+
+%description static -l pl
+Statyczna biblioteka libmutil.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ %{!?with_static_libs:--disable-static}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/libmutil.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmutil.so
+%{_libdir}/libmutil.la
+%{_includedir}/libmutil
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmutil.a
+%endif
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/12/02 21:54:57 charles
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list