Пакет mate-file-manager-actions: 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 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/desktop-file-validate /usr/bin/glib-genmarshal /usr/bin/glib-gettextize /usr/bin/gtkdocize intltool # END SourceDeps(oneline) BuildRequires: /usr/bin/db2html %define _libexecdir %_prefix/libexec %define oldname caja-actions %define fedora 25 # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Summary: Caja extension for customizing the context menu Name: mate-file-manager-actions Version: 1.8.3 Release: alt4_1.gitd958bf9 Group: Graphical desktop/MATE License: GPL-2.0-or-later and LGPL-2.0-or-later URL: https://github.com/raveit65/%{oldname} Source0: https://github.com/raveit65/%{oldname}/releases/download/v%{version}/%{oldname}-%{version}.tar.xz # only for rhel Patch1: caja-actions_0001-Revert-No-version-in-documentation-install-path.patch Patch2: 1002_cross.patch Patch3: caja-actions-1.8.3-alt-fix-doc-build-gtk-doc.patch BuildRequires: mate-file-manager-devel BuildRequires: libuuid-devel BuildRequires: libSM-devel BuildRequires: mate-common BuildRequires: libxml2-devel BuildRequires: yelp-tools BuildRequires: libgtop-devel libgtop-gir-devel BuildRequires: dblatex Requires: mate-file-manager-actions-doc = %{version}-%{release} Source44: import.info %description Caja actions is an extension for Caja, the MATE file manager. It provides an easy way to configure programs to be launch on files selected in Caja interface %package doc Summary: Documentations for %{oldname} Group: Documentation BuildArch: noarch %description doc This package contains the documentation for %{oldname} %package devel Summary: Development tools for the caja-actions Group: Development/Other BuildArch: noarch Requires: %{name} = %{version}-%{release} %description devel This package contains headers and shared libraries needed for development with caja-actions. %prep %setup -n %{oldname}-%{version} -q # move doc dir for rhel %if 0%{?rhel} %patch1 -p2 NOCONFIGURE=1 ./autogen.sh %endif #patch2 -p1 %patch3 -p2 %build %autoreconf %configure \ --enable-html-manuals \ --enable-pdf-manuals %make_build %install %{makeinstall_std} find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' # clean docs dirs %if 0%{?rhel} rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/INSTALL rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/ChangeLog-2008 rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/ChangeLog-2009 rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/ChangeLog-2010 rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/ChangeLog-2011 rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/ChangeLog-2012 rm -f $RPM_BUILD_ROOT%{_docdir}/%{%{oldname}-%{version}}/MAINTAINERS %else rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/INSTALL rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/ChangeLog-2008 rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/ChangeLog-2009 rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/ChangeLog-2010 rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/ChangeLog-2011 rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/ChangeLog-2012 rm -f $RPM_BUILD_ROOT%{_docdir}/%{oldname}/MAINTAINERS %endif %find_lang %{oldname} --with-gnome --all-name %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/cact.desktop %files %doc AUTHORS COPYING COPYING-DOCS ChangeLog NEWS README %{_bindir}/caja-actions-run %{_bindir}/caja-actions-config-tool %{_bindir}/caja-actions-new %{_bindir}/caja-actions-print %{_libexecdir}/caja-actions/ %{_libdir}/caja-actions/ %dir %{_libdir}/caja %dir %{_libdir}/caja/extensions-2.0 %{_libdir}/caja/extensions-2.0/libcaja-actions-menu.so %{_libdir}/caja/extensions-2.0/libcaja-actions-tracker.so %{_datadir}/caja-actions/ %dir %{_datadir}/icons/hicolor/22x22 %dir %{_datadir}/icons/hicolor/22x22/apps %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/*/apps/caja-actions.* %{_datadir}/applications/cact.desktop %files doc -f %{oldname}.lang %if 0%{?fedora} > 19 || 0%{?rhel} > 7 %dir %{_docdir}/caja-actions %{_docdir}/caja-actions/html/ %{_docdir}/caja-actions/pdf/ %{_docdir}/caja-actions/objects-hierarchy.odg %else %dir %{_docdir}/caja-actions-%{version} %{_docdir}/caja-actions-%{version}/html/ %{_docdir}/caja-actions-%{version}/pdf/ %{_docdir}/caja-actions-%{version}/objects-hierarchy.odg %endif %dir %{_datadir}/help %dir %{_datadir}/help/C %dir %{_datadir}/help/de %dir %{_datadir}/help/el %dir %{_datadir}/help/es %dir %{_datadir}/help/fr %dir %{_datadir}/help/sl %files devel %{_includedir}/caja-actions/ #%%dir %{_datadir}/gtk-doc #%%dir %{_datadir}/gtk-doc/html #%%{_datadir}/gtk-doc/html/caja-actions-3/ %changelog * Fri Jan 10 2020 Leontiy Volodin <lvol@altlinux.org> 1.8.3-alt4_1.gitd958bf9 - Built from git (with Russian translation by Olesya Gerasimenko). * Tue Sep 17 2019 Leontiy Volodin <lvol@altlinux.org> 1.8.3-alt3_3 - Fixed cross build. - Excluded docs in caja-actions. - Fixed post-install files. * Sun Mar 11 2018 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.8.3-alt2_3 - Added BR: intltool. - Fixed build with gtk-doc 1.27. * Wed Sep 06 2017 Vladimir D. Seleznev <vseleznv@altlinux.org> 1.8.3-alt1_3 - new fc release * Fri Oct 14 2016 Igor Vlasenko <viy@altlinux.ru> 1.8.1-alt1_3 - update to 1.16 * Wed Feb 17 2016 Igor Vlasenko <viy@altlinux.ru> 1.8.1-alt1_1 - new version * Wed Oct 21 2015 Igor Vlasenko <viy@altlinux.ru> 1.8.0-alt1_2 - new version * Tue Jun 10 2014 Igor Vlasenko <viy@altlinux.ru> 1.7.1-alt2_1 - rebuild with libgtop * Tue Apr 01 2014 Igor Vlasenko <viy@altlinux.ru> 1.7.1-alt1_1 - new fc release * Mon Mar 24 2014 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_1 - new fc release * Sat Mar 22 2014 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1_0 - new fc release * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt2_0101 dropped obsolete mate-conf BR: * Wed Feb 20 2013 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1_0101 - initial import |