Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
devel
>
libast
> libast.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libast.spec of Package libast
# Arches on which the multilib {sysdefs,types}.h hack is needed: # (Update libast-wrapper.h when adding archs) %define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 Summary: Library of Assorted Spiffy Things Name: libast Version: 0.7.1 Release: 0.5.20060818cvs%{?dist} Group: System Environment/Libraries License: BSD URL: http://www.eterm.org/ Source: http://www.eterm.org/download/%{name}-%{version}.tar.gz Source1: libast-wrapper.h BuildRequires: imlib2-devel pcre-devel libXt-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description LibAST is the Library of Assorted Spiffy Things. It contains various handy routines and drop-in substitutes for some good-but-non-portable functions. It currently has a built-in memory tracking subsystem as well as some debugging aids and other similar tools. It's not documented yet, mostly because it's not finished. Hence the version number that begins with 0. %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 -q %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} install # Fix multiarch stuff %ifarch %{multilib_arches} for header in sysdefs types ; do mv %{buildroot}%{_includedir}/%{name}/$header.h \ %{buildroot}%{_includedir}/%{name}/$header-%{_arch}.h %{__install} -m 0644 -c %{SOURCE1} %{buildroot}%{_includedir}/%{name}/$header.h %{__sed} -i -e 's/<HEADER>/'$header'/g' %{buildroot}%{_includedir}/%{name}/$header.h touch -r ChangeLog %{buildroot}%{_includedir}/%{name}/$header.h done %{__sed} -i -e '/^LDFLAGS=/d' %{buildroot}%{_bindir}/%{name}-config touch -r ChangeLog %{buildroot}%{_bindir}/%{name}-config %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc ChangeLog DESIGN README LICENSE %{_libdir}/%{name}.so.* %files devel %defattr(-, root, root, -) %dir %{_includedir}/%{name} %{_bindir}/%{name}-config %{_libdir}/%{name}.so %{_includedir}/%{name}.h %{_includedir}/%{name}/*.h %{_datadir}/aclocal/%{name}.m4 %exclude %{_libdir}/*.la %exclude %{_libdir}/*.a %changelog * Sat Feb 11 2008 Terje Røsten <terje.rosten@ntnu.no> - 0.7.1-0.5.20060818cvs - fix date * Sat Feb 9 2008 Terje Røsten <terje.rosten@ntnu.no> - 0.7.1-0.4.20060818cvs - rebuild * Sat Jan 20 2008 Terje Røsten <terje.rosten@ntnu.no> - 0.7.1-0.3.20060818cvs - Fix multiarch stuff - Some style cleanup * Tue Aug 28 2007 Terje Røsten <terje.rosten@ntnu.no> - 0.7.1-0.2.20060818cvs - Rebuild * Sat Sep 2 2006 Terje Røsten <terje.rosten@ntnu.no> - 0.7.1-0.1.20060818cvs - 0.7.1 (from CVS) - LICENCE now included in upstrean package * Sun Feb 26 2006 Terje Røsten <terje.rosten@ntnu.no> - 0.7-3 - Add LICENSE * Tue Feb 21 2006 Terje Røsten <terje.rosten@ntnu.no> - 0.7-2 - Fix buildroot var - Clean buildroot before install - Remove static libs - Add imlib2 to buildrequires * Sun Feb 19 2006 Terje Røsten <terje.rosten@ntnu.no> - 0.7-1 - Initial packaging based on upstream spec file.