[libmutil] initial commit

Peter Lemenkov peter at fedoraproject.org
Sat Sep 25 05:08:09 UTC 2010


commit 9fb388de5f4c99314711a12c0457e5b68515d9cb
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Sat Sep 25 09:08:01 2010 +0400

    initial commit
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 .gitignore    |    1 +
 libmutil.spec |  106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 108 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2ec2845 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libmutil-0.8.0.tar.bz2
diff --git a/libmutil.spec b/libmutil.spec
new file mode 100644
index 0000000..30e4003
--- /dev/null
+++ b/libmutil.spec
@@ -0,0 +1,106 @@
+Summary:		Minisip library providing various C++ utility classes
+Name:			libmutil
+Version:		0.8.0
+Release:		0.3.20100319svn3760%{?dist}
+License:		LGPLv2+
+URL:			http://www.minisip.org/
+Group:			System Environment/Libraries
+# svn export -r 3760  svn://svn.minisip.org/minisip/trunk/libmutil libmutil-0.8.0
+# tar cjf libmutil-0.8.0.tar.bz2 libmutil-0.8.0/
+Source0:		%{name}-%{version}.tar.bz2
+BuildRequires:		autoconf
+BuildRequires:		automake
+BuildRequires:		libtool
+BuildRequires:		libtool-ltdl-devel
+BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+libmutil is a library providing convenient C++ utilities (threads, mutexes,
+memory object management, ...). It is used by the minisip project.
+
+%package devel
+Summary:		Development files for the libmutil library
+# %%{_datadir}/aclocal/winfuncs.m4 is under GPLv2+
+License:		LGPLv2+ and GPLv2+
+Group:			Development/Libraries
+Requires:		%{name} = %{version}-%{release}
+Requires:		automake
+Requires:		pkgconfig
+
+
+%description devel
+This package contains the development files for library %{name}.
+
+%prep
+%setup -q
+# Fix DOS line-endings
+for f in examples/*; do
+	sed "s|\r||g" $f > $f.new
+	touch -r $f $f.new
+	mv $f.new $f
+done
+
+
+%build
+sh ./bootstrap
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
+# Removed installed examples
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS README COPYING.LIB
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%doc examples/mutextest.cpp
+%doc examples/semaphoretest.cpp
+%doc examples/threadtest.cpp
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/%{name}
+%{_datadir}/aclocal/*.m4
+
+
+%changelog
+* Thu Sep 23 2010 Peter Lemenkov <lemenkov at gmail.com> - 0.8.0-0.3.20100319svn3760
+- Changed descriptions
+- Fixed wrong line-encoding of examples
+
+* Thu Sep 23 2010 Peter Lemenkov <lemenkov at gmail.com> - 0.8.0-0.2.20100319svn3760
+- Clarified licensing terms
+- Installed example sources as docs
+
+* Mon Aug 23 2010 Peter Lemenkov <lemenkov at gmail.com> - 0.8.0-0.1.20100319svn3760
+- Initial package for Fedora
+
+* Thu Oct 11 2008 Erik Eliasson <ere at kth.se>
+- new upstream release
+
+* Fri Mar 18 2005 Johan Bilien <jobi at via.ecp.fr>
+- new upstream release
+
+* Fri Feb 18 2005 Johan Bilien <jobi at via.ecp.fr>
+- new upstream release
+
+* Mon Nov 22 2004 Johan Bilien <jobi at via.ecp.fr>
+- new upstream release
+
+* Wed Jun 9 2004 Johan Bilien <jobi at via.ecp.fr>
+- initial release
+
diff --git a/sources b/sources
index e69de29..8f7f30d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3a168554cd19236022c010e7c2b9141d  libmutil-0.8.0.tar.bz2


More information about the scm-commits mailing list