[11650] | 1 | %define major_ver 1.20 |
---|
| 2 | %define ver %{major_ver}.0 |
---|
[11000] | 3 | %define rel 1 |
---|
| 4 | |
---|
[5311] | 5 | Summary: PolicyKit integration for the MATE desktop |
---|
| 6 | Name: mate-polkit |
---|
[11000] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[10886] | 10 | License: LGPLv2 |
---|
[5316] | 11 | Group: Applications/System |
---|
[6679] | 12 | URL: http://mate-desktop.org/ |
---|
[5311] | 13 | |
---|
| 14 | BuildRequires: mate-common |
---|
[10886] | 15 | BuildRequires: gtk3-devel |
---|
[11000] | 16 | BuildRequires: polkit-devel >= 0.97 |
---|
[5311] | 17 | BuildRequires: gtk-doc |
---|
| 18 | BuildRequires: autoconf |
---|
| 19 | BuildRequires: automake |
---|
| 20 | |
---|
[11650] | 21 | Obsoletes: mate-polkit-devel < 1.20.0 |
---|
| 22 | |
---|
[5311] | 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 24 | |
---|
| 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
[10886] | 27 | Packager: Takemikaduchi, iwaim |
---|
[5311] | 28 | |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | PolicyKit-mate provides an Authentication Agent for PolicyKit that |
---|
| 32 | integrates well with the MATE desktop environment |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 41 | %configure \ |
---|
| 42 | --libexecdir=%{_libexecdir}/mate \ |
---|
[6679] | 43 | --disable-static |
---|
[5311] | 44 | |
---|
| 45 | %{__make} %{?_smp_mflags} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 50 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 51 | |
---|
| 52 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 53 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 54 | |
---|
[6679] | 55 | %find_lang %{name} |
---|
[5311] | 56 | |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 60 | |
---|
| 61 | %post -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | %postun -p /sbin/ldconfig |
---|
| 64 | |
---|
[6679] | 65 | %files -f %{name}.lang |
---|
[5311] | 66 | %defattr(-,root,root,-) |
---|
| 67 | %doc COPYING ChangeLog NEWS README |
---|
| 68 | %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop |
---|
| 69 | %{_libexecdir}/mate/polkit-mate-authentication-agent-1 |
---|
| 70 | |
---|
| 71 | %changelog |
---|
[11650] | 72 | * Fri May 4 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1 |
---|
| 73 | - update to 1.20.0 |
---|
| 74 | - drop devel sub package; upstream dropped polkitgtkmate library |
---|
| 75 | - add Obsoletes: mate-polkit-devel < 1.20.0 |
---|
| 76 | |
---|
[11415] | 77 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
| 78 | - update to 1.18.2 |
---|
| 79 | |
---|
[11079] | 80 | * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 81 | - update to 1.18.1 |
---|
| 82 | |
---|
[11000] | 83 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 84 | - update to 1.18.0 |
---|
| 85 | |
---|
[10886] | 86 | * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - update GTK+ version |
---|
| 89 | - BR: gtk3-devel |
---|
| 90 | - fix License |
---|
| 91 | - update Packager |
---|
| 92 | |
---|
[10255] | 93 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[9797] | 96 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[9760] | 99 | * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[9726] | 102 | * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[9552] | 105 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[8359] | 108 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[8068] | 111 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 112 | - rebuild with VineSeed environment |
---|
| 113 | |
---|
[7697] | 114 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[6679] | 117 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[6172] | 120 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[5316] | 123 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 124 | - change category |
---|
| 125 | |
---|
[5311] | 126 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 127 | - initial build for Vine Linux |
---|
| 128 | |
---|