Name: dsqlite Version: 1.0 Release: 4%{?dist} Summary: High level library around SQLite for D language License: GPLv3 URL: https://github.com/bioinfornatics/DSQLite Source0: https://github.com/downloads/bioinfornatics/DSQLite/%{name}-%{version}.tar.xz BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, geany %description DSQLite is a Hight level library for SQLite. Use sqlite in D programming with this library is so easy. %description -l fr_FR DSQLite est une bibliothèque de haut niveau pour SQLite. Utiliser sqlite dans la programmation D avec cette bibliothèque est si facile. %package devel Summary: It is a high level library around SQLite for D language Requires: ldc-phobos-devel, ldc-druntime-devel Requires: %{name}%{?_isa} = %{version}-%{release} %description devel DSQLite is a Hight level library for SQLite. Use sqlite in D programming with this library is so easy. %description -l fr devel DSQLite est une bibliothèque de haut niveau pour SQLite. Utiliser sqlite dans la programmation D avec cette bibliothèque est si facile. %prep %setup -q -n %{name}-%{version} %build make %{?_smp_mflags} all-shared geany-tag DFLAGS_IMPORT="-Isrc" DCFLAGS="%{_d_optflags}" %install # build library make %{?_smp_mflags} install-shared install-geany-tag PREFIX=%{buildroot}%{_prefix} LIB_DIR=%{buildroot}%{_libdir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc LICENSE LICENCE README %{_defaultdocdir}/dsqlite %{_libdir}/libDSQLite-ldc.so.1 %files devel %{_datadir}/pkgconfig/DSQLite.pc %{_d_includedir}/sqlite %{_libdir}/libDSQLite-ldc.so %{_datadir}/geany/tags/DSQLite.d.tags %changelog * Fri Nov 16 2012 Christophe Burgun 1.0-4 - Delete global debug_package because it is not a static library * Fri Nov 16 2012 Christophe Burgun 1.0-3 - Add dist macro to release tag - Improvement of french descriptions * Thu Oct 25 2012 Christophe Burgun 1.0-2 - Change summary to be not a sentence - Solve mistake in french description * Thu Oct 25 2012 Christophe Burgun 1.0-1 - Change Source0 url - Change version and release tag - Deleting duplicate license file in devel * Mon Aug 6 2012 Christophe Burgun 1-3.20120803git1113632 - Add requires for devel package * Wed Aug 1 2012 Christophe Burgun 1-2.20120803git1113632 - Add devel package - Add post and postun - Update build and install - Delete sub package geany-tag * Fri Dec 9 2011 Jonathan MERCIER 1-1.20120803git309742c - Add doc for devhelp - Add tag for geany - Init spec