%define major 2 %define libname %mklibname view %major %define develname %mklibname -d view Summary: VMware's Incredibly Exciting Widgets Name: libview Version: 0.6.6 Release: %mkrel 7 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 %makeinstall_std rm -f %{buildroot}%_libdir/*.la %files -n %libname %doc AUTHORS README NEWS %_libdir/libview.so.%{major}* %files -n %develname %doc ChangeLog %_libdir/libview.so %_libdir/pkgconfig/libview.pc %_includedir/libview %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.6.6-7.mga5 + Revision: 749238 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.6.6-6.mga5 + Revision: 681840 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.6.6-5.mga4 + Revision: 507423 - Mageia 4 Mass Rebuild * 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 * Sat Jul 10 2010 Götz Waschk <waschk@mandriva.org> 0.6.6-1mdv2011.0 + Revision: 550275 - new version - fix build * Tue Mar 16 2010 Oden Eriksson <oeriksson@mandriva.com> 0.6.4-2mdv2010.1 + Revision: 520926 - rebuilt for 2010.1 * Mon Jun 08 2009 Götz Waschk <waschk@mandriva.org> 0.6.4-1mdv2010.0 + Revision: 383895 - update to new version 0.6.4 * Thu Nov 27 2008 Götz Waschk <waschk@mandriva.org> 0.6.2-2mdv2009.1 + Revision: 307284 - fix pkgconfig file * Thu Nov 27 2008 Götz Waschk <waschk@mandriva.org> 0.6.2-1mdv2009.1 + Revision: 307260 - import libview