Пакет mate-polkit: 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 | Group: File tools # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/glib-gettextize /usr/bin/gtkdocize pkgconfig(gio-2.0) pkgconfig(glib-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-2.0) pkgconfig(gtk+-3.0) pkgconfig(polkit-agent-1) pkgconfig(polkit-gobject-1) # END SourceDeps(oneline) BuildRequires: libgtk+2-gir-devel libgtk+3-gir-devel libpolkit-gir-devel %define _libexecdir %_prefix/libexec # %%name or %%version is ahead of its definition. Predefining for rpm 4.0 compatibility. %define name mate-polkit %define version 1.12.0 # Conditional for release and snapshot builds. Uncomment for release-builds. %global rel_build 1 # This is needed, because src-url contains branched part of versioning-scheme. %global branch 1.12 # Settings used for build from snapshots. %{!?rel_build:%global commit 8e0c8e17e0138afa7757a1bdf8edd6f2c7b47a14} %{!?rel_build:%global commit_date 20150930} %{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})} %{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}} %{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}} %{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz} Name: mate-polkit Version: %{branch}.0 %if 0%{?rel_build} Release: alt1_1 %else Release: alt1_1 %endif Summary: Integrates polkit authentication for MATE desktop License: LGPLv2+ URL: http://mate-desktop.org # for downloading the tarball use 'spectool -g -R mate-polkit.spec' # Source for release-builds. %{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz} # Source for snapshot-builds. %{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}} BuildRequires: libgtk+3-devel BuildRequires: mate-common BuildRequires: libpolkit-devel BuildRequires: gobject-introspection-devel BuildRequires: libdbus-glib-devel # needed for gobject-introspection support somehow, # https://bugzilla.redhat.com/show_bug.cgi?id=847419#c17 asserts this is a bug (elsewhere) # but I'm not entirely sure -- rex BuildRequires: libcairo-gobject-devel Provides: PolicyKit-authentication-agent Source44: import.info %description Integrates polkit with the MATE Desktop environment %package devel Group: Development/C Requires: %{name}%{?_isa} = %{version}-%{release} Summary: Integrates polkit with the MATE Desktop environment %description devel Development libraries for mate-polkit %prep %setup -q%{!?rel_build:n %{name}-%{commit}} %if 0%{?rel_build} #NOCONFIGURE=1 ./autogen.sh %else # 0%{?rel_build} # for snapshots # needed for git snapshots NOCONFIGURE=1 ./autogen.sh %endif # 0%{?rel_build} %build %configure \ --disable-static \ --with-gtk=3.0 \ --enable-introspection \ --enable-accountsservice \ --enable-gtk-doc-html make %{?_smp_mflags} V=1 %install %{makeinstall_std} %find_lang %{name} find %{buildroot} -name '*.la' -exec rm -fv {} ';' %files -f %{name}.lang # yes, license really is LGPLv2+, despite included COPYING is about GPL, poke upstreamo # to include COPYING.LIB here instead -- rex %doc AUTHORS COPYING README %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop %{_libdir}/libpolkit-gtk-mate-1.so.0 %{_libdir}/libpolkit-gtk-mate-1.so.0.0.0 %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib %{_libexecdir}/polkit-mate-authentication-agent-1 %files devel %{_libdir}/libpolkit-gtk-mate-1.so %{_libdir}/pkgconfig/polkit-gtk-mate-1.pc %{_includedir}/polkit-gtk-mate-1 %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir %changelog * Wed Feb 17 2016 Igor Vlasenko <viy@altlinux.ru> 1.12.0-alt1_1 - new version * Mon Nov 02 2015 Igor Vlasenko <viy@altlinux.ru> 1.10.2-alt2_1 - fixed dependencies * Fri Oct 30 2015 Igor Vlasenko <viy@altlinux.ru> 1.10.2-alt1_1 - new version * Wed Mar 19 2014 Igor Vlasenko <viy@altlinux.ru> 1.8.0-alt1_1 - new fc release * Wed Aug 07 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.0-alt1_2 - new fc release * Sat Apr 06 2013 Igor Vlasenko <viy@altlinux.ru> 1.6.0-alt1_1 - new fc release * Tue Mar 05 2013 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1_2 - new fc release * Fri Nov 16 2012 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1_1 - use F19 import base * Wed Oct 24 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 1.4.0-alt1_1.1 - Build for Sisyphus * Fri Aug 03 2012 Igor Vlasenko <viy@altlinux.ru> 1.4.0-alt1_1 - 20120801 mate snapshot * Wed Jun 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.0-alt2_1 - 20120622 mate snapshot * Tue May 01 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.0-alt1_1 - converted by srpmconvert script |