Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > b1fbbc2b71f552839ee7f095d3529227 > files > 2

libmowgli-0.7.0-1mdv2010.0.src.rpm

%define name libmowgli
%define version 0.7.0
%define release %mkrel 1

%define major 2
%define libname %mklibname mowgli %major
%define libnamedev %mklibname -d mowgli

Summary: Development framework with high performance algorithms
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://distfiles.atheme.org/libmowgli-%version.tbz2
License: BSD
Group: System/Libraries
Url: http://www.atheme-project.org/projects/mowgli.shtml
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
mowgli is a development framework for C (like GLib), which provides
high performance and highly flexible algorithms. It can be used as a
suppliment to GLib (to add additional functions (dictionaries,
hashes), or replace some of the slow GLib list manipulation
functions), or stand alone. It also provides a powerful hook system
and convenient logging for your code, as well as a high performance
block allocator.


%package -n %libname
Group: System/Libraries
Summary: Development framework library

%description -n %libname
mowgli is a development framework for C (like GLib), which provides
high performance and highly flexible algorithms. It can be used as a
suppliment to GLib (to add additional functions (dictionaries,
hashes), or replace some of the slow GLib list manipulation
functions), or stand alone. It also provides a powerful hook system
and convenient logging for your code, as well as a high performance
block allocator.

%package -n %libnamedev
Group: Development/C
Summary: Development framework header files
Requires: %libname = %version
Provides: %name-devel = %version-%release

%description -n %libnamedev
mowgli is a development framework for C (like GLib), which provides
high performance and highly flexible algorithms. It can be used as a
suppliment to GLib (to add additional functions (dictionaries,
hashes), or replace some of the slow GLib list manipulation
functions), or stand alone. It also provides a powerful hook system
and convenient logging for your code, as well as a high performance
block allocator.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%if %mdkversion < 200900
%post -n %libname -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libname -p /sbin/ldconfig
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %libname
%defattr(-,root,root)
%_libdir/libmowgli.so.%{major}*

%files -n %libnamedev
%defattr(-,root,root)
%doc AUTHORS
%_libdir/libmowgli.so
%_libdir/pkgconfig/libmowgli.pc
%_includedir/%name/


%changelog
* Mon Jul 21 2008 Götz Waschk <waschk@mandriva.org> 0.7.0-1mdv2009.0
+ Revision: 239309
- new version
- new major

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Mon Feb 18 2008 Götz Waschk <waschk@mandriva.org> 0.6.1-1mdv2008.1
+ Revision: 170663
- new version

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Jan 01 2008 Götz Waschk <waschk@mandriva.org> 0.6.0-1mdv2008.1
+ Revision: 140063
- new version

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Oct 15 2007 Götz Waschk <waschk@mandriva.org> 0.5.0-1mdv2008.1
+ Revision: 98443
- new version

* Tue Oct 09 2007 Götz Waschk <waschk@mandriva.org> 0.4.0-1mdv2008.1
+ Revision: 96174
- new version

* Mon Jul 23 2007 Götz Waschk <waschk@mandriva.org> 0.3.0-1mdv2008.0
+ Revision: 54554
- Import libmowgli



* Mon Jul 23 2007 Götz Waschk <waschk@mandriva.org> 0.3.0-1mdv2008.0
- initial package