Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 14a040d26029e59ca0ba124e0de0a910 > files > 2

Mowitz-0.3.0-1mdk.src.rpm

%define name Mowitz
%define version 0.3.0
%define release 1mdk

%define major 0
%define libname %mklibname %{name} %major
%define libnamedev %mklibname %{name} %major -d


Summary:   Collection of widgets for X applications
Name:      %{name}
Version:   %{version}
Release:   %{release}
URL:       http://siag.nu/mowitz/
Source:    http://siag.nu/pub/mowitz/%{name}-%{version}.tar.bz2
License:   GPL
Group:     System/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Buildrequires: libXawM-devel XFree86-devel libxpm-devel  
Buildrequires: libneXtaw-devel glibc-static-devel

%description
The Mowitz library contains a large collection of widgets for X applications 
to use. It complements a widget set such as Xaw3d or neXtaw.

%package -n %{libname}
Summary: Collection of widgets for X applications
Group: System/Libraries

%description -n %{libname}
The Mowitz library contains a large collection of widgets for X applications 
to use. It complements a widget set such as Xaw3d or neXtaw.

%package -n %{libnamedev}
Summary:  Collection of widgets for X applications
Group:    Development/C
Requires: %{libname} = %{version}
Provides: libMowitz-devel

%description -n %{libnamedev}
The Mowitz library contains a large collection of widgets for X applications
to use. It complements a widget set such as Xaw3d or neXtaw.

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build

%configure

%make

%install

%makeinstall

rm -rf $RPM_BUILD_ROOT/usr/doc/

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %{libname}
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL ChangeLog README
%doc doc/*.gif
%doc doc/*.html doc/List* doc/Sl*
%{_libdir}/lib*.so.*
%_datadir/%name

%files -n %{libnamedev}
%defattr(-,root,root)
%_bindir/*
%_includedir/%name/
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/lib*.la

%changelog
* Wed Jun 02 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.3.0-1mdk
- 0.3.0

* Fri Apr 25 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2.2-2mdk
- adjust buildrequires

* Wed Jan 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2.2-1mdk
- 0.2.2
- use mklibname

* Fri Jun 07 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.2.1-2mdk
- Buildrequires: libXawM1-devel 

* Mon May 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.2.1-1mdk
- 0.2.1

* Mon Mar 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-1mdk
- updated for new siag

* Tue Jan 08 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1.1-1mdk
- new & needed to update siag