Accepting request 296127 from home:dimstar:Factory
- Add a metainfo.xml file for presence in AppStream metadata. OBS-URL: https://build.opensuse.org/request/show/296127 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/adobe-sourcecodepro-fonts?expand=0&rev=13
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:10:28 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Add a metainfo.xml file for presence in AppStream metadata.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 08:46:26 UTC 2013 - fa0sck@gmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package adobe-sourcecodepro-fonts
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,6 +25,7 @@ License: OFL-1.1
|
||||
Group: System/X11/Fonts
|
||||
Url: http://sourceforge.net/projects/sourcecodepro.adobe
|
||||
Source: %{_name}_FontsOnly-%{version}.zip
|
||||
Source1: adobe-sourcecodepro-fonts.metainfo.xml
|
||||
Obsoletes: SourceCodePro-fonts < %version-%release
|
||||
Provides: SourceCodePro-fonts = %version-%release
|
||||
BuildRequires: fontpackages-devel
|
||||
@@ -50,12 +51,16 @@ chmod a-x LICENSE.txt *.html
|
||||
install -d %{buildroot}%{_ttfontsdir}
|
||||
# by default install command uses 755 umask
|
||||
install -m 644 OTF/*.otf TTF/*.ttf %{buildroot}%{_ttfontsdir}
|
||||
install -d -m0755 %{buildroot}%{_datadir}/appdata
|
||||
install -D -m0644 %{S:1} %{buildroot}%{_datadir}/appdata/
|
||||
|
||||
%reconfigure_fonts_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt *.html
|
||||
%dir %{_datadir}/appdata
|
||||
%{_datadir}/appdata/adobe-sourcecodepro-fonts.metainfo.xml
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/*
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>adobe-sourcecodepro-fonts</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Source Code Pro</name>
|
||||
<summary>A set of mono-spaced fonts designed for coding environments</summary>
|
||||
</component>
|
||||
|
||||
Reference in New Issue
Block a user