A new user interface for you!

File libgtextutils.spec of Package libgtextutils

# spec file for package libgtextutils
# Copyright (c) 2012 Scott R. Santos (santos@auburn.edu), Auburn University
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via
# <halocaridina@gmail.com>

Name:		libgtextutils
Version:	0.6.1
Release:	1
Summary:	Assaf Gordon text utilities    
Group:		Other
License:	AGPLv3+
URL:		http://hannonlab.cshl.edu/fastx_toolkit/
Source0:	http://hannonlab.cshl.edu/fastx_toolkit/%{name}-%{version}.tar.bz2
BuildRequires: 	binutils, gcc, make, autoconf, automake, pkgconfig, gcc-c++, wget glibc-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

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}.

%setup -q

%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}"

rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
find %{buildroot} -name '*.la' -exec rm -f {} ';'

rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files devel

* Wed Nov 14 2012 Scott Santos <santos@auburn.edu> - 0.6.1-1
- initial release

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sun Nov 14 2010 Adam Huffman <bloch@verdurin.com> - 0.6-4
- fix formatting and change license to AGPLv3+

* Wed Aug 25 2010 Adam Huffman <bloch@verdurin.com> - 0.6-3
- fix CXXFLAGS too
- use macros consistently
- fix files locations

* Thu Jun 24 2010 Adam Huffman <bloch@verdurin.com> - 0.6-2
- remove unnecessary BR
- fix CFLAGS

* Tue May 11 2010 Adam Huffman <bloch@verdurin.com> - 0.6-1
- initial version