%define major 7 %define libname %mklibname monetra %{major} %define develname %mklibname monetra -d Summary: Library to allow credit card processing through MCVE Name: libmonetra Version: 7.0.5 Release: %mkrel 4 Group: System/Libraries License: BSD URL: http://www.mainstreetsoftworks.com/ Source0: ftp://ftp.mcve.com/pub/libmonetra/%{name}-%{version}.tar.gz BuildRequires: autoconf2.5 BuildRequires: libtool BuildRequires: openssl-devel %description library for connecting to a MCVE Credit Card Processing Daemon via SSL, TCP/IP, and drop-files. %package -n %{libname} Summary: Library to allow credit card processing through MCVE Group: System/Libraries %description -n %{libname} library for connecting to a MCVE Credit Card Processing Daemon via SSL, TCP/IP, and drop-files. %package -n %{develname} Summary: Static library and header files for the %{name} library Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{mklibname monetra 5 -d} %description -n %{develname} library for connecting to a MCVE Credit Card Processing Daemon via SSL, TCP/IP, and drop-files. This package contains the static %{name} library and its header files. %prep %setup -q -n %{name}-%{version} %build export WANT_AUTOCONF_2_5=1 rm -f configure libtoolize --copy --force; aclocal; autoconf; automake --add-missing --copy %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files -n %{libname} %defattr(-,root,root) %doc AUTHORS ChangeLog LICENSE README %{_libdir}/*.so.%{major}* %files -n %{develname} %defattr(-,root,root) %doc LICENSE %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %changelog * Sat Jan 12 2013 umeabot <umeabot> 7.0.5-4.mga3 + Revision: 357785 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Feb 06 2011 spuhler <spuhler> 7.0.5-3.mga1 + Revision: 48098 - removed buildroot definition from .spec removed the if mdkversion lines - imported package libmonetra