[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    raphgro pushed to sharpfont (master).  "initial import, rhbz#1279087"
From:       notifications () fedoraproject ! org
Date:       2016-08-31 21:08:24
Message-ID: 20160831210824.43A4E60620C7 () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

From e47f4d678d67e646ba30cbd32aa846ff0cb790a0 Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphgro@fedoraproject.org>
Date: Wed, 31 Aug 2016 23:08:13 +0200
Subject: initial import, rhbz#1279087

---
 .gitignore     |   1 +
 sharpfont.spec | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |   1 +
 3 files changed, 107 insertions(+)
 create mode 100644 sharpfont.spec

diff --git a/.gitignore b/.gitignore
index e69de29..0b84ae6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sharpfont-4.0.1.tar.gz
diff --git a/sharpfont.spec b/sharpfont.spec
new file mode 100644
index 0000000..4af0b0a
--- /dev/null
+++ b/sharpfont.spec
@@ -0,0 +1,105 @@
+#
+# spec file for package sharpfont
+#
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+%global libname SharpFont
+%global debug_package %{nil}
+
+Name:           sharpfont
+Version:        4.0.1
+Release:        1%{?dist}
+Url:            https://github.com/Robmaister/%{libname}
+Summary:        Cross-platform FreeType bindings for .NET
+License:        MIT
+Source:         %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+ExclusiveArch:  %mono_arches
+
+BuildRequires:  pkgconfig(mono)
+
+%description
+SharpFont is a library that provides FreeType bindings for .NET.
+Everything from format-specific APIs to the caching subsystem are included.
+
+
+%package devel
+Summary:        Cross-platform FreeType bindings for .NET
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+SharpFont is a library that provides FreeType bindings for .NET.
+Everything from format-specific APIs to the caching subsystem are included.
+
+
+%prep
+%autosetup -p1 -n%{libname}-%{version}
+rm -r Build Dependencies
+
+%build
+#make debug
+pushd Source/%{libname}
+# override the .NET Framework Target for predefined types
+# https://stackoverflow.com/questions/27594393/compiled-mono-missing-default-net-libraries-system-object-is-not-defined-or-i
 +xbuild /p:TargetFrameworkVersion=v4.5 /p:Configuration=Debug
+
+%install
+mkdir -p %{buildroot}%{_prefix}/lib/mono/gac/
+gacutil -i Binaries/%{libname}/Debug/%{libname}.dll -f -package %{name} -root \
%{buildroot}%{_prefix}/lib +cp -p Source/%{libname}.dll.config \
%{buildroot}%{_monodir}/%{name} +
+mkdir -p %{buildroot}/%{_datadir}/pkgconfig
+cat <<EOT >>%{buildroot}/%{_datadir}/pkgconfig/%{name}.pc
+Name: %{libname}
+Description: %{summary}
+Version: 4.0.1
+Requires: mono
+Libs: -r:%{_monodir}/%{name}/%{libname}.dll
+Libraries=%{_monodir}/%{name}/%{libname}.dll
+EOT
+
+
+%files
+%license LICENSE
+%doc README.md
+%doc Source/Examples/
+%{_monogacdir}/%{libname}
+%{_monodir}/%{name}/%{libname}.dll*
+%dir %{_monodir}/%{name}
+ 
+
+%files devel
+%{_datadir}/pkgconfig/%{name}.pc
+
+
+%changelog
+* Wed Aug 31 2016 Raphael Groner <projects.rg@smart.ms> - 4.0.1-1
+- new version
+
+* Tue May 17 2016 Raphael Groner <projects.rg@smart.ms> - 3.1.0-1
+- new version
+- remove upstreamed patches
+- call xbuild directly
+- build in debug configuration
+- apply specifics of mono packaging
+- add LICENSE and README.md
+- use Examples as documentation
+- add dist tag
+
+* Wed Mar 02 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.1-1
+- adjust for Fedora
+
+* Tue Nov 24 2015 Matthias Mailänder <mailaender@opensuse.org> - 3.0.1-0
+- initial packaging
diff --git a/sources b/sources
index e69de29..5ebbdea 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f7e9144e1d9969373e854e34c551099c  sharpfont-4.0.1.tar.gz
-- 
cgit v0.12


	http://pkgs.fedoraproject.org/cgit/sharpfont.git/commit/?h=master&id=e47f4d678d67e646ba30cbd32aa846ff0cb790a0
                
--
scm-commits mailing list
scm-commits@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/scm-commits@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic