%define name libview %define version 0.6.6 %define release %mkrel 4 %define major 2 %define libname %mklibname view %major %define develname %mklibname -d view Summary: VMware's Incredibly Exciting Widgets Name: %{name} Version: %{version} Release: %{release} Source0: http://prdownloads.sourceforge.net/view/%{name}-%{version}.tar.bz2 Patch: libview-0.6.2-fix-pkgconfig.patch Patch1: libview-0.6.6-automake-1.13.patch License: MIT Group: System/Libraries Url: http://view.sourceforge.net/ BuildRequires: gtkmm2.4-devel %description libview is VMware's Incredibly Exciting Widgets, a useful collection of GTK+ widgets used within VMware products, free for everybody's use. %package -n %libname Group: System/Libraries Summary: VMware's Incredibly Exciting Widgets %description -n %libname libview is VMware's Incredibly Exciting Widgets, a useful collection of GTK+ widgets used within VMware products, free for everybody's use. %package -n %develname Group: Development/C++ Summary: VMware's Incredibly Exciting Widgets Requires: %libname = %version-%release Provides: libview-devel = %version-%release %description -n %develname libview is VMware's Incredibly Exciting Widgets, a useful collection of GTK+ widgets used within VMware products, free for everybody's use. %prep %setup -q %patch -p1 %patch1 -p1 -b .automake-1_13 %build #gw 0.6.6: wrong libtool version autoreconf -fi %configure2_5x --enable-deprecated --disable-static %make %install rm -rf %{buildroot} %makeinstall_std rm -f %{buildroot}%_libdir/*.la %clean rm -rf %{buildroot} %files -n %libname %defattr(-,root,root) %doc AUTHORS README NEWS %_libdir/libview.so.%{major}* %files -n %develname %defattr(-,root,root) %doc ChangeLog %_libdir/libview.so %_libdir/pkgconfig/libview.pc %_includedir/libview %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.6.6-4.mga3 + Revision: 358333 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 cjw <cjw> 0.6.6-3.mga3 + Revision: 341449 - patch1: fix build with automake 1.13 * Thu Aug 04 2011 fwang <fwang> 0.6.6-2.mga2 + Revision: 131770 - do not ship .la files * Fri Feb 25 2011 ennael <ennael> 0.6.6-1.mga1 + Revision: 59404 - clean spec file - imported package libview