Blob Blame History Raw
Name:           adime
Version:        2.2.1
Release:        8%{?dist}
Summary:        Allegro Dialogs Made Easy
Group:          System Environment/Libraries
License:        zlib
Patch0:         adime-2.2.1-so-fixes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  allegro-devel texinfo

Adime is a portable add-on library for Allegro with functions for generating
Allegro dialogs in a very simple way. Its main purpose is to give as easy an
API as possible to people who want dialogs for editing many kinds of input

%package devel
Summary: Development libraries and headers for adime
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: allegro-devel
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

%description devel
The developmental files that must be installed in order to compile
applications which use adime.

%setup -q
%patch0 -p1 -z .so-fixes
./ unix
rm docs/txt/tmpfile.txt
mkdir docs/html docs/rtf

make %{?_smp_mflags} lib docs \

make install install-man install-info \
rm $RPM_BUILD_ROOT%{_infodir}/dir
ln -s $RPM_BUILD_ROOT%{_libdir}/


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post devel
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :

%preun devel
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :

%doc license.txt thanks.txt changes.txt

%files devel
%doc readme.txt docs/txt/*.txt docs/rtf docs/html

* Mon Feb 23 2009 Fedora Release Engineering <> - 2.2.1-8
- Rebuilt for

* Tue Feb 19 2008 Fedora Release Engineering <> - 2.2.1-7
- Autorebuild for GCC 4.3

* Tue Aug 21 2007 Hans de Goede <> 2.2.1-6
- Rebuild for buildId

* Thu Aug  2 2007 Hans de Goede <> 2.2.1-5
- Update License tag for new Licensing Guidelines compliance

* Mon Aug 28 2006 Hans de Goede <> 2.2.1-4
- FE6 Rebuild

* Sun Mar 12 2006 Hans de Goede <> 2.2.1-3
- change license to "zlib License"
- modify adime-2.2.1-so-fixes.patch to strip -lalleg_unshareble from
  allegro-config --libs output instead of using a hardcoded allegro linkerflag

* Sun Mar 12 2006 Hans de Goede <> 2.2.1-2
- add BR texinfo
- mkdir docs/html and docs/rtf during %%prep to make "make docs" happy, include
  the results in %%doc
- don't link liballeg_unsharable.a into our .so.0 file

* Sat Mar 11 2006 Hans de Goede <> 2.2.1-1
- Initial Fedora Extras package