diff --git a/ibus-table-others.spec b/ibus-table-others.spec index 8a9247b..11ed20e 100644 --- a/ibus-table-others.spec +++ b/ibus-table-others.spec @@ -2,7 +2,7 @@ Name: ibus-table-others Version: 1.3.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Various tables for IBus-Table License: GPLv3 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 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 < + + emoji-table.db + CC0-1.0 + Emoji + Emoji input method + +

+ 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. +

+

+ 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. +

+
+ https://code.google.com/p/ibus-table-emoji/ + + + + http://ibus-table-emoji.googlecode.com/hg/screenshot.png + + + https://code.google.com/p/ibus/issues/list + https://code.google.com/p/ibus/wiki/FAQ + +
+EOF +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/ipa-x-sampa.appdata.xml < + + ipa-x-sampa.db + CC0-1.0 + International Phonetic Alphabet + IPA X-SAMPA input method + +

+ 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. +

+

+ 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. +

+

+ 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. +

+
+ https://github.com/mike-fabian/ibus-table-others + https://code.google.com/p/ibus/issues/list + https://code.google.com/p/ibus/wiki/FAQ + +
+EOF +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/mathwriter-ibus.appdata.xml < + + mathwriter-ibus.db + CC0-1.0 + Mathwriter + Math symbols input method + +

+ The input method is designed for entering mathematical symbols. +

+

+ 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. +

+
+ https://github.com/mike-fabian/ibus-table-others + https://code.google.com/p/ibus/issues/list + https://code.google.com/p/ibus/wiki/FAQ + +
+EOF + %files %doc AUTHORS COPYING README %files -n ibus-table-code +%{_datadir}/appdata/emoji-table.appdata.xml %{_datadir}/ibus-table/tables/latex.db %{_datadir}/ibus-table/tables/cns11643.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 %files -n ibus-table-latin +%{_datadir}/appdata/ipa-x-sampa.appdata.xml %{_datadir}/ibus-table/tables/compose.db %{_datadir}/ibus-table/tables/ipa-x-sampa.db %{_datadir}/ibus-table/icons/compose.svg @@ -123,10 +219,14 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/ %{_datadir}/ibus-table/icons/viqr.png %files -n ibus-table-mathwriter +%{_datadir}/appdata/mathwriter-ibus.appdata.xml %{_datadir}/ibus-table/tables/mathwriter-ibus.db %{_datadir}/ibus-table/icons/mathwriter.png %changelog +* Wed Mar 25 2015 Richard Hughes - 1.3.7-2 +- Register as AppStream components. + * Tue Jan 13 2015 Mike FABIAN - 1.3.7-1 - update to latest upstream 1.3.7 - Use F1,F2,F3,F4,F5,F6,F7,F8,F9 as select keys for the latex table