Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 3c2b16a401307c55ef019aa800b1b332 > files > 2

libmatchbox-1.6-1mdk.src.rpm

%define name 	libmatchbox
%define version	1.6
%define release 1mdk

%define major 	1
%define libname %mklibname mb %major

Summary: 	Libraries for the Matchbox Desktop
Name: 		%name
Version: 	%version
Release: 	%release
Url: 		http://matchbox.handhelds.org/
License: 	GPL
Group: 		System/Libraries
Source: 	ftp://ftp.handhelds.org/matchbox/sources/libmatchbox/%version/%{name}-%{version}.tar.bz2

BuildRequires:	XFree86-devel pango-devel png-devel jpeg-devel libXsettings-client-devel
Buildroot: 	%_tmppath/%name-%version-buildroot

%description
Matchbox is a base environment for the X Window System running on non-desktop
embedded platforms such as handhelds, set-top boxes, kiosks and anything else
for which screen space, input mechanisms or system resources are limited.

%package -n	%libname
Group:		System/Libraries
Summary:	Inter-toolkit configuration settings

%description -n %libname
Libraries for the Matchbox Desktop.

%package -n %libname-devel
Group:          Development/C
Summary:        Static libraries and header files from %name
Provides:	matchbox-devel = %version-%release
Provides:       %name-devel = %version-%release
Provides:	lib%name-devel = %version-%release
Provides:	libmb-devel = %version-%release
Requires:       %libname = %version-%release

%description -n %libname-devel
Static libraries and header files from %name

%prep
%setup -q

%build
%configure2_5x --enable-xsettings --enable-png --enable-jpeg --enable-pango
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%files -n %libname
%defattr(-,root,root)
%_libdir/*.so.*

%files -n %libname-devel
%defattr(-,root,root)
%doc AUTHORS ChangeLog README
%_libdir/pkgconfig/*.pc
%_libdir/*.so
%_libdir/*.la
%_libdir/*.a
%_includedir/libmb/*.h

%changelog
* Mon Jan 24 2005 Austin Acton <austin@mandrake.org> 1.6-1mdk
- 1.6

* Tue Jan 4 2005 Austin Acton <austin@mandrake.org> 1.5-1mdk
- 1.5

* Wed Sep 29 2004 Austin Acton <austin@mandrake.org> 1.4-1mdk
- 1.4

* Mon Aug 23 2004 Austin Acton <austin@mandrake.org> 1.3-1mdk
- 1.3

* Mon Jul 20 2004 Austin Acton <austin@mandrake.org> 1.2-1mdk
- initial package