|
|
@ -1,27 +1,23 @@
|
|
|
|
Name: polkit-kde
|
|
|
|
Name: polkit-kde
|
|
|
|
Version: 0.95
|
|
|
|
Version: 0.95.1
|
|
|
|
Release: 0.2.20091125svn%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: PolicyKit integration for KDE Desktop
|
|
|
|
Summary: PolicyKit integration for KDE Desktop
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/System
|
|
|
|
Group: Applications/System
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.kde.org/
|
|
|
|
URL: http://www.kde.org/
|
|
|
|
|
|
|
|
|
|
|
|
# To prepare snapshot tarball follow these steps
|
|
|
|
Source0: polkit-kde-1-0.95.1.tar.bz2
|
|
|
|
# svn co svn://anonsvn.kde.org/home/kde/trunk/kdereview/PolicyKit-kde/
|
|
|
|
|
|
|
|
# svn export PolicyKit-kde/ polkit-kde-0.95
|
|
|
|
|
|
|
|
# tar cjf polkit-kde-0.95.20091125svn.tar.bz2 polkit-kde-0.95/
|
|
|
|
|
|
|
|
Source0: polkit-kde-0.95.20091125svn.tar.bz2
|
|
|
|
|
|
|
|
Source1: polkit-kde-authentication-agent-1.desktop
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kdelibs4-devel
|
|
|
|
BuildRequires: kdelibs4-devel
|
|
|
|
BuildRequires: polkit-qt-devel >= 0.95
|
|
|
|
#BuildRequires: polkit-qt-devel >= 0.95
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
|
|
|
|
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
|
|
|
|
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
|
|
|
|
|
|
|
|
|
|
|
|
Provides: PolicyKit-authentication-agent
|
|
|
|
Provides: PolicyKit-authentication-agent
|
|
|
|
|
|
|
|
Provides: polkit-kde-1 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: PolicyKit-kde < 4.5
|
|
|
|
Obsoletes: PolicyKit-kde < 4.5
|
|
|
|
|
|
|
|
|
|
|
@ -29,7 +25,7 @@ Obsoletes: PolicyKit-kde < 4.5
|
|
|
|
Provides Policy Kit Authentication Agent that nicely fits to KDE.
|
|
|
|
Provides Policy Kit Authentication Agent that nicely fits to KDE.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -n polkit-kde-1-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -45,17 +41,17 @@ make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir %{buildroot}%{_sysconfdir}/xdg/autostart \
|
|
|
|
--dir %{buildroot}%{_sysconfdir}/xdg/autostart \
|
|
|
|
%{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
|
|
|
|
%{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang polkit-kde-authentication-agent-1
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files -f polkit-kde-authentication-agent-1.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%doc COPYING
|
|
|
|
%{_libexecdir}/kde4/polkit-kde-authentication-agent-1
|
|
|
|
%{_libexecdir}/kde4/polkit-kde-authentication-agent-1
|
|
|
@ -63,6 +59,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
|
|
|
|
|
|
|
|
- Update to official release
|
|
|
|
|
|
|
|
- Provides polkit-kde-1
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
|
|
|
|
* Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
|
|
|
|
- Adds desktop file
|
|
|
|
- Adds desktop file
|
|
|
|
- Adds obsoletes
|
|
|
|
- Adds obsoletes
|
|
|
|