%define version 4.6.2 %define release %mkrel 5 %define libticables_version 3.6.1 %define libtifiles_version 0.6.1 %define major 4 %define libname %mklibname ticalcs %{major} %define develname %mklibname -d ticalcs Summary: Library to handle the different TI calculators Name: libticalcs Version: %{version} Release: %{release} License: LGPLv2+ Group: Communications URL: http://tilp.sourceforge.net/ Source: http://prdownloads.sourceforge.net/tilp/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libticables-devel >= %{libticables_version} BuildRequires: libtifiles-devel >= %{libtifiles_version} Requires: %{libname} = %{version} %description The TiCalcs library is a part of the TiLP project and constitutes with the other libraries a complete framework for developping and/or linking TI files oriented applications. It is a library which brings about all the functions needed to communicate with a Texas Instruments graphing calculator (or hand-held), without worrying about packet oriented protocol, the file management and some other stuffs. Currently, it does not support some education devices (such as CBL/CBR and others). It supports all currently available calculators and their associated file formats: - TI8x calculators: TI73, 82, 83, TI83+, 85 and 86 (with 2 sub-classes: TI73/83+ and 85/86). - TI9x calculators: TI89, 92, 92+ and V200PLT. %package -n %{libname} Summary: Library to handle different TI calculators Group: System/Libraries Requires: %{name} = %{version}-%{release} %description -n %{libname} The TiCalcs library is a part of the TiLP project and constitutes with the other libraries a complete framework for developping and/or linking TI files oriented applications. It is a library which brings about all the functions needed to communicate with a Texas Instruments graphing calculator (or hand-held), without worrying about packet oriented protocol, the file management and some other stuffs. Currently, it does not support some education devices (such as CBL/CBR and others). It supports all currently available calculators and their associated file formats: - TI8x calculators: TI73, 82, 83, TI83+, 85 and 86 (with 2 sub-classes: TI73/83+ and 85/86). - TI9x calculators: TI89, 92, 92+ and V200PLT. %package -n %{develname} Summary: Development related files for %{name} Group: Development/Other Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %mklibname -d ticalcs 4 %description -n %{develname} This package contains headers and other necessary files to develop or compile applications that use %{name}. %prep %setup -q %build %configure2_5x --enable-static=yes %make %install rm -rf ${RPM_BUILD_ROOT} %makeinstall_std gnulocaledir=${RPM_BUILD_ROOT}%{_datadir}/locale #fix conflicts with libticables-devel rm -f %buildroot%_includedir/tilp/export.h %find_lang %{name} %if %mdkversion < 200900 %post -n %{libname} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %{libname} -p /sbin/ldconfig %endif %clean rm -rf ${RPM_BUILD_ROOT} %files -f %{name}.lang %defattr(-,root,root) %files -n %{libname} %defattr(-,root,root) %doc COPYING %{_libdir}/*.so.%{major} %{_libdir}/*.so.%{major}.* %files -n %{develname} %defattr(-,root,root) %doc AUTHORS ChangeLog README %{_includedir}/tilp/* %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.6.2-5mdv2009.0 + Revision: 268035 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sat Jun 07 2008 Funda Wang <fundawang@mandriva.org> 4.6.2-4mdv2009.0 + Revision: 216577 - fix conflicts with libticables * Tue Mar 25 2008 Emmanuel Andry <eandry@mandriva.org> 4.6.2-3mdv2008.1 + Revision: 189888 - Fix lib group - protect major + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Dec 10 2007 Funda Wang <fundawang@mandriva.org> 4.6.2-2mdv2008.1 + Revision: 116807 - New devel package policy * Sun Jan 21 2007 Olivier Thauvin <nanardon@mandriva.org> 4.6.2-1mdv2007.0 + Revision: 111423 - 4.6.2 - 4.6.1 - Import libticalcs * Wed Jun 29 2005 Olivier Thauvin <nanardon@mandriva.org> 4.5.9-1mdk - 4.5.9 * Sun Feb 06 2005 Abel Cheung <deaddog@mandrake.org> 4.5.5-1mdk - New version - Split package, otherwise can't have multilib * Mon May 31 2004 Abel Cheung <deaddog@deaddog.org> 4.5.3-1mdk - New version - Doesn't need to build against multiple version of glib, thus change package name back to old one