%define name Glasses %define version 0.1a %define release 6mdk %define major 1 %define libname %mklibname %name %major %define libnamedev %mklibname %name %major -d Version: %version Summary: View the class structure of a GTK program Name: %name Release: %release License: GPL Group: Development/Other Source: %name-%version.tar.bz2 URL: http://john.tunison.net/code/glasses/ Buildrequires: gnome-libs-devel glib-devel ORBit-devel imlib-devel Buildrequires: audiofile-devel esound-devel BuildRoot: %_tmppath/%name-buildroot %description Glasses is a small program to view the class structure of a GTK program at runtime. It is probably only useful for developers. %package -n %libname Group: Development/Other Summary: View the class structure of a GTK program %description -n %libname Glasses is a small program to view the class structure of a GTK program at runtime. It is probably only useful for developers %package -n %libnamedev Group: Development/Other Summary: View the class structure of a GTK program Requires: %libname = %version Provides: libGlasses-devel Provides: Glasses-devel %description -n %libnamedev Glasses is a small program to view the class structure of a GTK program at runtime. It is probably only useful for developers. %prep rm -rf $RPM_BUILD_ROOT %setup %build %configure %make %install %makeinstall %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 README COPYING INSTALL ChangeLog %_bindir/* %_datadir/gnome/apps/Applications/* %_libdir/*.so.* %files -n %libnamedev %defattr (-,root,root) %_includedir/* %_libdir/*.so %_libdir/*.a %_libdir/*.la %changelog * Thu Jan 13 2004 Franck Villaume <fvill@freesurf.fr> 0.1a-6mdk - buildrequires 64bits support * Fri Apr 25 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.1a-5mdk - adjust buildrequires - mklibname * Thu Aug 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.1a-4mdk - rebuild * Tue Jun 19 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1a-3mdk - s/Copyright/License/g - split * Mon Jan 01 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1a-2mdk - clean * Thu Oct 26 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1a-1mdk - new in contribs