Register as AppStream components
This commit is contained in:
parent
e9f983eb39
commit
237a4b59db
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: ibus-table-others
|
Name: ibus-table-others
|
||||||
Version: 1.3.7
|
Version: 1.3.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Various tables for IBus-Table
|
Summary: Various tables for IBus-Table
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -85,10 +85,105 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/
|
|||||||
%{_bindir}/ibus-table-createdb -i -n yawerty.db
|
%{_bindir}/ibus-table-createdb -i -n yawerty.db
|
||||||
%{_bindir}/ibus-table-createdb -i -n mathwriter-ibus.db
|
%{_bindir}/ibus-table-createdb -i -n mathwriter-ibus.db
|
||||||
|
|
||||||
|
# Register as AppStream components to be visible in the software center
|
||||||
|
#
|
||||||
|
# NOTE: It would be *awesome* if these files were maintained by the upstream
|
||||||
|
# project, translated and installed into the right place during `make install`.
|
||||||
|
#
|
||||||
|
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||||
|
#
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||||
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/emoji-table.appdata.xml <<EOF
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="inputmethod">
|
||||||
|
<id>emoji-table.db</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>Emoji</name>
|
||||||
|
<summary>Emoji input method</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Emoji is an input method that allows the user to enter pictographs that are used
|
||||||
|
like emoticons.
|
||||||
|
Some emoji strings are specific to Japanese culture.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Input methods are typing systems allowing users to input complex languages.
|
||||||
|
They are necessary because these contain too many characters to simply be laid
|
||||||
|
out on a traditional keyboard.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">https://code.google.com/p/ibus-table-emoji/</url>
|
||||||
|
<screenshots>
|
||||||
|
<!-- FIXME: Needs an official up to date screenshot -->
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>http://ibus-table-emoji.googlecode.com/hg/screenshot.png</image>
|
||||||
|
<caption><!-- Describe this screenshot in less than ~10 words --></caption>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots> <url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
|
||||||
|
<url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
|
||||||
|
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||||
|
</component>
|
||||||
|
EOF
|
||||||
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/ipa-x-sampa.appdata.xml <<EOF
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="inputmethod">
|
||||||
|
<id>ipa-x-sampa.db</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>International Phonetic Alphabet</name>
|
||||||
|
<summary>IPA X-SAMPA input method</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
International Phonetic Alphabet X-SAMPA is an input method.
|
||||||
|
The Extended Speech Assessment Methods Phonetic Alphabet is a type of SAMPA
|
||||||
|
developed by John C. Wells.
|
||||||
|
It was designed to unify the individual SAMPA alphabets.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Input methods are typing systems allowing users to input complex languages.
|
||||||
|
They are necessary because these contain too many characters to simply be laid
|
||||||
|
out on a traditional keyboard.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Input methods are typing systems allowing users to input complex languages.
|
||||||
|
They are necessary because these contain too many characters to simply be laid
|
||||||
|
out on a traditional keyboard.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">https://github.com/mike-fabian/ibus-table-others</url>
|
||||||
|
<url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
|
||||||
|
<url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
|
||||||
|
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||||
|
</component>
|
||||||
|
EOF
|
||||||
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/mathwriter-ibus.appdata.xml <<EOF
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="inputmethod">
|
||||||
|
<id>mathwriter-ibus.db</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>Mathwriter</name>
|
||||||
|
<summary>Math symbols input method</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
The input method is designed for entering mathematical symbols.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Input methods are typing systems allowing users to input complex languages.
|
||||||
|
They are necessary because these contain too many characters to simply be laid
|
||||||
|
out on a traditional keyboard.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">https://github.com/mike-fabian/ibus-table-others</url>
|
||||||
|
<url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
|
||||||
|
<url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
|
||||||
|
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||||
|
</component>
|
||||||
|
EOF
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
|
|
||||||
%files -n ibus-table-code
|
%files -n ibus-table-code
|
||||||
|
%{_datadir}/appdata/emoji-table.appdata.xml
|
||||||
%{_datadir}/ibus-table/tables/latex.db
|
%{_datadir}/ibus-table/tables/latex.db
|
||||||
%{_datadir}/ibus-table/tables/cns11643.db
|
%{_datadir}/ibus-table/tables/cns11643.db
|
||||||
%{_datadir}/ibus-table/tables/emoji-table.db
|
%{_datadir}/ibus-table/tables/emoji-table.db
|
||||||
@ -105,6 +200,7 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/
|
|||||||
%{_datadir}/ibus-table/icons/yawerty.png
|
%{_datadir}/ibus-table/icons/yawerty.png
|
||||||
|
|
||||||
%files -n ibus-table-latin
|
%files -n ibus-table-latin
|
||||||
|
%{_datadir}/appdata/ipa-x-sampa.appdata.xml
|
||||||
%{_datadir}/ibus-table/tables/compose.db
|
%{_datadir}/ibus-table/tables/compose.db
|
||||||
%{_datadir}/ibus-table/tables/ipa-x-sampa.db
|
%{_datadir}/ibus-table/tables/ipa-x-sampa.db
|
||||||
%{_datadir}/ibus-table/icons/compose.svg
|
%{_datadir}/ibus-table/icons/compose.svg
|
||||||
@ -123,10 +219,14 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/
|
|||||||
%{_datadir}/ibus-table/icons/viqr.png
|
%{_datadir}/ibus-table/icons/viqr.png
|
||||||
|
|
||||||
%files -n ibus-table-mathwriter
|
%files -n ibus-table-mathwriter
|
||||||
|
%{_datadir}/appdata/mathwriter-ibus.appdata.xml
|
||||||
%{_datadir}/ibus-table/tables/mathwriter-ibus.db
|
%{_datadir}/ibus-table/tables/mathwriter-ibus.db
|
||||||
%{_datadir}/ibus-table/icons/mathwriter.png
|
%{_datadir}/ibus-table/icons/mathwriter.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 25 2015 Richard Hughes <rhughes@redhat.com> - 1.3.7-2
|
||||||
|
- Register as AppStream components.
|
||||||
|
|
||||||
* Tue Jan 13 2015 Mike FABIAN <mfabian@redhat.com> - 1.3.7-1
|
* Tue Jan 13 2015 Mike FABIAN <mfabian@redhat.com> - 1.3.7-1
|
||||||
- update to latest upstream 1.3.7
|
- update to latest upstream 1.3.7
|
||||||
- Use F1,F2,F3,F4,F5,F6,F7,F8,F9 as select keys for the latex table
|
- Use F1,F2,F3,F4,F5,F6,F7,F8,F9 as select keys for the latex table
|
||||||
|
Loading…
Reference in New Issue
Block a user