[11000] | 1 | %define major_ver 1.18 |
---|
| 2 | %define ver %{major_ver}.0 |
---|
| 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 | |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
[10886] | 25 | Packager: Takemikaduchi, iwaim |
---|
[5311] | 26 | |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | PolicyKit-mate provides an Authentication Agent for PolicyKit that |
---|
| 30 | integrates well with the MATE desktop environment |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development tools for mate-polkit |
---|
| 35 | Summary(ja): mate-polkit の開発環境 |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Header files and libraries for building a extension library for the |
---|
| 42 | mate-polkit. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 51 | %configure \ |
---|
| 52 | --libexecdir=%{_libexecdir}/mate \ |
---|
[6679] | 53 | --disable-static |
---|
[5311] | 54 | |
---|
| 55 | %{__make} %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 64 | |
---|
[6679] | 65 | %find_lang %{name} |
---|
[5311] | 66 | |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 70 | |
---|
| 71 | %post -p /sbin/ldconfig |
---|
| 72 | |
---|
| 73 | %postun -p /sbin/ldconfig |
---|
| 74 | |
---|
[6679] | 75 | %files -f %{name}.lang |
---|
[5311] | 76 | %defattr(-,root,root,-) |
---|
| 77 | %doc COPYING ChangeLog NEWS README |
---|
| 78 | %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop |
---|
| 79 | %{_libdir}/libpolkit-gtk-mate-1.so.* |
---|
| 80 | %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib |
---|
| 81 | %{_libexecdir}/mate/polkit-mate-authentication-agent-1 |
---|
| 82 | |
---|
| 83 | %files devel |
---|
| 84 | %defattr(-,root,root,-) |
---|
| 85 | %{_includedir}/polkit-gtk-mate-1 |
---|
| 86 | %{_libdir}/libpolkit-gtk-mate-1.so |
---|
| 87 | %{_libdir}/pkgconfig/polkit-gtk-mate-1.pc |
---|
| 88 | %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[11000] | 92 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 93 | - update to 1.18.0 |
---|
| 94 | |
---|
[10886] | 95 | * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 96 | - new upstream release |
---|
| 97 | - update GTK+ version |
---|
| 98 | - BR: gtk3-devel |
---|
| 99 | - fix License |
---|
| 100 | - update Packager |
---|
| 101 | |
---|
[10255] | 102 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[9797] | 105 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[9760] | 108 | * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[9726] | 111 | * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[9552] | 114 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[8359] | 117 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[8068] | 120 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 121 | - rebuild with VineSeed environment |
---|
| 122 | |
---|
[7697] | 123 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[6679] | 126 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[6172] | 129 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[5316] | 132 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 133 | - change category |
---|
| 134 | |
---|
[5311] | 135 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 136 | - initial build for Vine Linux |
---|
| 137 | |
---|