libunicode/libunicode.spec

Name: libunicode
Summary: Unicode manipulation library
Version: 0.7
Release: 1.2
License: LGPL
Group: System Environment/Libraries
URL: http://www.pango.org/
Description: A library to handle unicode strings

CentOS 7 x86_64

The build could not start because the following file is missing: libunicode-0.7.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: libunicode-0.7.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL2 ships with libunicode-0.4-6
%{?el2:# Tag: rfx}

Summary: Unicode manipulation library
Name: libunicode
Version: 0.7
Release: 1.2%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://www.pango.org/

Source: http://dl.sf.net/libunicode/libunicode-%{version}.tar.gz
#Patch0: libunicode-0.4-64bit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: automake, autoconf, libtool

%description
A library to handle unicode strings

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup
#%patch -p0 -b .64bit

%build
#%{__libtoolize} --copy --force
#%{__aclocal}-1.4
#%{__automake}-1.4
#%{__autoconf}

%configure
%{__make} %{?_smp_mflags} \
	RPM_OPT_FLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
#mkdir -p $RPM_BUILD_ROOT%{_prefix}
%makeinstall

### Clean up buildroot
%{__rm} -f %{buildroot}%{_libdir}/*.la

%clean
%{__rm} -rf %{buildroot}

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
#%{_bindir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*.h

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.7-1.2
- Rebuild for Fedora Core 5.

* Sun Nov 13 2005 Dries Verachtert <dries@ulyssis.org> - 0.7-2
- Some fixes.

* Wed Sep 14 2005 Dries Verachtert <dries@ulyssis.org> - 0.7-1
- Updated to release 0.7.

* Sat Jan 03 2004 Dag Wieers <dag@wieers.com> - 0.4-12.0
- Initial package. (using DAR)