# # Spec file for libitl # Summary: Islamic Tools and Libararies Name: libitl Version: 0.6.4 Release: 1%{?dist} Copyright: GPL Group: Applications/Religion BuildRoot: %{_builddir}/%{name}-%{version}-%{release}-root Source: http://nchc.dl.sourceforge.net/sourceforge/arabeyes/%{name}-%{version}.tar.bz2 URL: http://www.arabeyes.org/project.php?proj=ITL Distribution: PCLinuxOS Vendor: Arabeyes.org Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Patch101: libitl-makefile-destdir.patch Patch102: libitl-configure.patch #BuildRequires: autoconf %description The Islamic Tools and Libraries (ITL) is a project to provide a plethora of useful Islamic tools and applications as well as a comprehensive feature-full Islam-centric library. The ITL project currently includes Hijri date, Muslim prayer times, and Qibla. There is also Minbar, a Gnome GUI with tray icon, athan call and notifications at prayer times. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the development headers for the libitl package. %prep %setup -q %patch101 -p1 -b .makefile-destdir %patch102 -p1 -b .configure chmod +x configure %build ./autogen.sh ./configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT prefix=%{_exec_prefix} exec_prefix=%{_exec_prefix} install %clean rm -rf $RPM_BUILD_ROOT make clean %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_libdir}/libitl.so.* %files devel %defattr(-,root,root,-) %doc prayertime/doc/method-info.txt %doc prayertime/README %doc hijri/README %{_libdir}/libitl.so %{_includedir}/itl/ %changelog * Thu Apr 24 2008 Muhammad Suleman Khalid 0.6.4-1 - Initial package. Spec file adopted from the one from fedora source RPM from Mohd Izhar Firdaus Ismail 0.6.4-2. See http://izhar.fedorapeople.org/itl/.