libease/libease.spec

Name: libease
Summary: Easing algorithms for graphical effects and mathematical calculations
Version: 0.0.3
Release: 1
License: GPL
Group: Development/Libraries
URL: http://libease.sourceforge.net/
Description: libease is a shared library containing easing algorithms that can be used for graphical effects or mathematical calculations. The main goal of this project is to try and create a centralised library for easing effects within the window manager environment.

CentOS 7 x86_64

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

Build Status

CentOS 6 x86_64

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

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: stroppytux$hotmail,com

Summary: Easing algorithms for graphical effects and mathematical calculations
Name: libease
Version: 0.0.3
Release: 1%{?dist}
License: GPL
Group: Development/Libraries
URL: http://libease.sourceforge.net/

Source: http://dl.sf.net/libease/libease-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

#BuildRequires:

%description
libease is a shared library containing easing algorithms that can be used
for graphical effects or mathematical calculations. The main goal of this
project is to try and create a centralised library for easing effects within
the window manager environment.

%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
%{__perl} -pi -e "s|.*ldconfig.*||g;" Makefile
%{__perl} -pi -e "s|ln -s (.*)/libease(.*) (.*)/libease.so|ln -s %{_libdir}/libease\$2 \${3}/libease.so|g;" Makefile

%build
# FIXME 'make' without arguments also installs everything

%install
%{__rm} -rf %{buildroot}
%{__install} -d %{buildroot}%{_includedir} %{buildroot}%{_bindir} %{buildroot}%{_libdir} %{buildroot}%{_mandir}/man3
%{__make} all install PREFIX=%{buildroot}%{_prefix} LIBPATH=%{buildroot}%{_libdir}

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

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

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

%files
%defattr(-, root, root, 0755)
%doc COPYING INSTALL
%{_libdir}/libease.so.*
%doc %{_mandir}/man3/libease*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/ease.h
%{_libdir}/libease.so

%changelog
* Mon Apr 16 2007 Dries Verachtert <dries@ulyssis.org> - 0.0.3-1
- Updated to release 0.0.3.

* Fri Apr 28 2006 Dries Verachtert <dries@ulyssis.org> - 0.0.2-1
- Updated to release 0.0.2.

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

* Thu Sep 22 2005 Dries Verachtert <dries@ulyssis.org> - 0.0.1-1
- Initial package.