[libcutl] Initial import (libcutl)

Dave Johansen daveisfera at fedoraproject.org
Thu Jul 25 04:22:13 UTC 2013


commit 30276d634b7a0d173a0b5b14527268042da17ccd
Author: Dave Johansen <davejohansen at gmail.com>
Date:   Wed Jul 24 21:21:41 2013 -0700

    Initial import (libcutl)

 .gitignore                     |    1 +
 libcutl.spec                   |   81 ++++++++++++++++++++++++++++++++++++++++
 libcutl_no_boost_license.patch |   11 +++++
 sources                        |    1 +
 4 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..978c17d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libcutl-1.7.1.tar.bz2
diff --git a/libcutl.spec b/libcutl.spec
new file mode 100644
index 0000000..6bf4504
--- /dev/null
+++ b/libcutl.spec
@@ -0,0 +1,81 @@
+Name:           libcutl
+Version:        1.7.1
+Release:        1%{?dist}
+Summary:        C++ utility library from Code Synthesis
+
+Group:          System Environment/Libraries
+License:        MIT
+URL:            http://www.codesynthesis.com/projects/libcutl/
+Source0:        http://www.codesynthesis.com/download/libcutl/1.7/%{name}-%{version}.tar.bz2
+Patch0:         libcutl_no_boost_license.patch
+
+# Set BuildRoot for compatibility with EPEL <= 5
+# See: http://fedoraproject.org/wiki/EPEL:Packaging#BuildRoot_tag
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+# Use the system Boost instead of the internal one
+BuildRequires: boost-devel
+# Uses pkgconfig
+BuildRequires: pkgconfig
+
+
+%description
+libcutl is a C++ utility library. It contains a collection of generic and
+fairly independent components.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+%patch0
+
+
+%build
+%configure --disable-static --with-external-boost
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc LICENSE
+%{_libdir}/libcutl-1.7.so
+# Exclude the documentation that doesn't need to be packaged
+%exclude %{_datadir}/doc/%{name}/INSTALL
+%exclude %{_datadir}/doc/%{name}/LICENSE
+%exclude %{_datadir}/doc/%{name}/NEWS
+%exclude %{_datadir}/doc/%{name}/README
+%exclude %{_datadir}/doc/%{name}/version
+
+%files devel
+%doc NEWS
+%{_includedir}/cutl/
+%{_libdir}/libcutl.so
+%{_libdir}/pkgconfig/libcutl.pc
+
+
+%changelog
+* Tue Jul 23 2013 Dave Johansen <davejohansen at gmail.com> 1.7.1-1
+- Initial build
diff --git a/libcutl_no_boost_license.patch b/libcutl_no_boost_license.patch
new file mode 100644
index 0000000..5e3da07
--- /dev/null
+++ b/libcutl_no_boost_license.patch
@@ -0,0 +1,11 @@
+--- LICENSE.with_boost_license
++++ LICENSE
+@@ -1,7 +1,4 @@
+-Code found in the cutl/details/boost/ directory is distributed under
+-the Boost Software License (see the accompanying LICENSE file).
+-
+-The rest is Copyright (c) 2009-2011 Code Synthesis Tools CC and is
++The code is Copyright (c) 2009-2011 Code Synthesis Tools CC and is
+ distributed under the following license (MIT License):
+ 
+ Permission is hereby granted, free of charge, to any person obtaining
diff --git a/sources b/sources
index e69de29..0ebd346 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b8c129a11416cf8a62d456d861f28f7f  libcutl-1.7.1.tar.bz2


More information about the scm-commits mailing list