Package im-chooser: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | Group: System/Base # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/desktop-file-validate glib2-devel pkgconfig(gtk+-3.0) # END SourceDeps(oneline) %define fedora 29 # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %if 0%{!?_with_xfce:1} && 0%{!?_without_xfce:1} %if 0%{?rhel} %global _with_xfce 0 %else %global _with_xfce 1 %endif %endif Name: im-chooser Version: 1.7.3 Release: alt1_1 License: GPLv2+ and LGPLv2+ URL: http://pagure.io/im-chooser/ %{?_with_gtk2:BuildRequires: gtk-builder-convert gtk-demo libgail-devel libgtk+2-devel libgtk+2-gir-devel} %{!?_with_gtk2:BuildRequires: gtk3-demo libgail3-devel libgtk+3 libgtk+3-devel libgtk+3-gir-devel} BuildRequires: libSM-devel imsettings-devel >= 1.8.0 %if 0%{?_with_xfce} BuildRequires: libxfce4util-devel %endif BuildRequires: desktop-file-utils gettext gettext-tools BuildRequires: gcc Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 Patch0: %{name}-hide-desktop-in-gnome.patch Summary: Desktop Input Method configuration tool Obsoletes: im-chooser-gnome3 < 1.4.2-2 Provides: im-chooser-gnome3 = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} Source44: import.info %description im-chooser is a GUI configuration tool to choose the Input Method to be used or disable Input Method usage on the desktop. %package common Group: System/Base Summary: Common files for im-chooser subpackages Requires: imsettings >= 1.8.0 Obsoletes: im-chooser < 1.5.0.1 ## https://fedorahosted.org/fpc/ticket/174 Provides: bundled(egglib) %description common im-chooser is a GUI configuration tool to choose the Input Method to be used or disable Input Method usage on the desktop. This package contains the common libraries/files to be used in im-chooser subpackages. %if 0%{?_with_xfce} %package xfce Group: System/Base Summary: XFCE settings panel for im-chooser Requires: %{name}-common = %{version}-%{release} Obsoletes: im-chooser < 1.5.0.1 %description xfce im-chooser is a GUI configuration tool to choose the Input Method to be used or disable Input Method usage on the desktop. This package contains the XFCE settings panel for im-chooser. %endif %prep %setup -q %patch0 -p1 %build %configure %make_build %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p" desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/im-chooser.desktop %if 0%{?_with_xfce} desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/xfce4-im-chooser.desktop %endif #%%{!?_with_gtk2:desktop-file-validate $RPM_BUILD_ROOT%%{_datadir}/applications/im-chooser-panel.desktop} rm -rf $RPM_BUILD_ROOT%{_libdir}/libimchooseui.{so,la,a} #%%{!?_with_gtk2:rm -rf $RPM_BUILD_ROOT%%{_libdir}/control-center-1/panels/libim-chooser.{a,la}} # disable panel so far rm -rf $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/libim-chooser.so rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/im-chooser-panel.desktop %find_lang %{name} %files %{_bindir}/im-chooser %if 0%{?fedora} && 0%{?fedora} < 19 %{_datadir}/applications/fedora-im-chooser.desktop %else %{_datadir}/applications/im-chooser.desktop %endif %{_mandir}/man1/im-chooser.1* %files common -f %{name}.lang %doc AUTHORS ChangeLog README %doc --no-dereference COPYING %{_libdir}/libimchooseui.so.* %{_datadir}/icons/hicolor/*/apps/im-chooser.png %dir %{_datadir}/imchooseui %{_datadir}/imchooseui/imchoose.ui %if 0%{?_with_xfce} %files xfce %{_bindir}/xfce4-im-chooser %{_datadir}/applications/xfce4-im-chooser.desktop %endif %changelog * Sat Mar 16 2019 Igor Vlasenko <viy@altlinux.ru> 1.7.3-alt1_1 - update to new release by fcimport * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 1.7.1-alt1_5 - update to new release by fcimport * Mon May 07 2018 Igor Vlasenko <viy@altlinux.ru> 1.7.1-alt1_4 - update to new release by fcimport * Mon Nov 20 2017 Igor Vlasenko <viy@altlinux.ru> 1.7.1-alt1_1 - new version by request of oddity@ * Sat Mar 07 2015 Mikhail Efremov <sem@altlinux.org> 1.6.4-alt3 - Rebuild with libxfce4util-4.12. * Tue Aug 26 2014 Ilya Mashkin <oddity@altlinux.ru> 1.6.4-alt2 - build for Sisyphus * Mon Jul 07 2014 Igor Vlasenko <viy@altlinux.ru> 1.6.4-alt1_3 - update to new release by fcimport * Tue Aug 27 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.4-alt1_2 - update to new release by fcimport * Fri Jun 21 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.4-alt1_1 - update to new release by fcimport * Fri May 31 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.3-alt1_1 - update to new release by fcimport * Fri Mar 08 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.2-alt1_3 - update to new release by fcimport * Thu Dec 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.6.2-alt1_1 - initial fc import |