[gl3n] Minor SPEC cleanup

Christopher Meng cicku at fedoraproject.org
Mon Feb 23 12:40:37 UTC 2015


commit 8f96f3e3405574e6c8ca44f1fdf1a39bf68fd4a3
Author: Christopher Meng <i at cicku.me>
Date:   Mon Feb 23 20:40:26 2015 +0800

    Minor SPEC cleanup

 gl3n.spec | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/gl3n.spec b/gl3n.spec
index c80c353..876b695 100644
--- a/gl3n.spec
+++ b/gl3n.spec
@@ -16,15 +16,14 @@ Version:        0.%{snapdate}
 Release:        13%{?dist}
 Summary:        An OpenGL Mathematics library for D
 Summary(fr):    Une bibliothèque Mathématique utilisant OpenGL pour D
-
 License:        MIT
-URL:            http://dav1d.bitbucket.org/gl3n/
+URL:            http://dav1dde.github.io/gl3n/
 Source0:        %{name}-%{alphatag}.tar.xz
 
 # https://github.com/ldc-developers/ldc/issues/613
 ExcludeArch:    %{arm}
-
-BuildRequires:  ldc, ldc-phobos-devel
+BuildRequires:  ldc
+BuildRequires:  ldc-phobos-devel
 
 %description
 gl3n provides all the math you need to work with OpenGL, DirectX.
@@ -62,14 +61,14 @@ plus encore!
 %package        devel
 Summary:        Support for developing D application
 Summary(fr):    Appui pour le développement d'application D
-Requires:       %{name}%{?_isa} =  %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 BuildRequires:  geany
 
-%description devel
+%description    devel
 The gl3n-devel package contains header files for developing gl3n
 applications.
 
-%description devel -l fr_FR
+%description    devel -l fr_FR
 Le paquet gl3n-devel contient les fichiers d'entêtes pour développer
 des applications utilisant gl3n.
 
@@ -77,28 +76,27 @@ des applications utilisant gl3n.
 %setup -q -n %{name}-%{alphatag}
 
 %build
-make %{?_smp_mflags}  all-shared geany-tag DFLAGS_IMPORT="-Igl3n" DCFLAGS="%{_d_optflags}"
+make %{?_smp_mflags} all-shared geany-tag DFLAGS_IMPORT="-Igl3n" DCFLAGS="%{_d_optflags}"
 
 %install
 # build library
 make %{?_smp_mflags} install-shared install-geany-tag PREFIX=%{buildroot}%{_prefix} LIB_DIR=%{buildroot}%{_libdir} DATA_DIR=%{buildroot}%{_datadir}
 
 %post   -p  /sbin/ldconfig
+
 %postun -p  /sbin/ldconfig
 
 %files
-%doc LICENSE
+%license LICENSE
 %{_libdir}/lib%{name}-ldc.so.1.0.0
 %{_libdir}/lib%{name}-ldc.so.1
 
-
 %files devel
 %{_libdir}/lib%{name}-ldc.so
 %{_datadir}/geany/tags/gl3n.d.tags
 %{_d_includedir}/%{name}
 %{_datadir}/pkgconfig/%{name}.pc
 
-
 %changelog
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20140505-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild


More information about the scm-commits mailing list