[libgtextutils] Initial import (#598511)
verdurin
verdurin at fedoraproject.org
Tue Nov 16 23:04:41 UTC 2010
commit 966fdecdaef597d05775010ab86c162572b31b58
Author: Adam Huffman <bloch at verdurin.com>
Date: Tue Nov 16 23:04:42 2010 +0000
Initial import (#598511)
.gitignore | 1 +
libgtextutils.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..29f22fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libgtextutils-0.6.tar.bz2
diff --git a/libgtextutils.spec b/libgtextutils.spec
new file mode 100644
index 0000000..07d4d6a
--- /dev/null
+++ b/libgtextutils.spec
@@ -0,0 +1,81 @@
+Name: libgtextutils
+Version: 0.6
+Release: 4%{?dist}
+Summary: Assaf Gordon text utilities
+
+Group: System Environment/Libraries
+License: AGPLv3+
+URL: http://hannonlab.cshl.edu/fastx_toolkit/
+Source0: http://hannonlab.cshl.edu/fastx_toolkit/%{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+
+%description
+Text utilities library used by the fastx_toolkit, from the Hannon Lab
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+#fix for unused-direct-shlib-dependency
+sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+
+make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README THANKS NEWS
+%{_libdir}/libgtextutils-*.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/gtextutils
+%{_libdir}/libgtextutils*.so
+%{_libdir}/pkgconfig/gtextutils.pc
+
+%changelog
+* Sun Nov 14 2010 Adam Huffman <bloch at verdurin.com> - 0.6-4
+- fix formatting and change license to AGPLv3+
+
+* Wed Aug 25 2010 Adam Huffman <bloch at verdurin.com> - 0.6-3
+- fix CXXFLAGS too
+- use macros consistently
+- fix files locations
+
+* Thu Jun 24 2010 Adam Huffman <bloch at verdurin.com> - 0.6-2
+- remove unnecessary BR
+- fix CFLAGS
+
+* Tue May 11 2010 Adam Huffman <bloch at verdurin.com> - 0.6-1
+- initial version
+
diff --git a/sources b/sources
index e69de29..d2e7041 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d6969aa0d31cc934e1fedf3fe3d0dc63 libgtextutils-0.6.tar.bz2
More information about the scm-commits
mailing list