diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f42b3a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/polkit-kde-agent-1-0.98.1.tar.gz diff --git a/polkit-kde.spec b/polkit-kde.spec index d52bf8c..7791fed 100644 --- a/polkit-kde.spec +++ b/polkit-kde.spec @@ -1,21 +1,16 @@ Name: polkit-kde -Version: 0.95.1 -Release: 7%{?dist} +Version: 0.98.1 +Release: 1%{?dist} Summary: PolicyKit integration for KDE Desktop Group: Applications/System License: GPLv2+ URL: http://www.kde.org/ -Source0: polkit-kde-1-0.95.1.tar.bz2 +# git archive --format=tar --prefix polkit-kde-agent-1/ HEAD | gzip > polkit-kde-agent-1-0.98.1.tar.gz +Source0: polkit-kde-agent-1-0.98.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -## upstreamable patches -Patch50: polkit-kde-1-0.95.1-ImplicitDSOLinking.patch -# Already in kde svn -Patch51: polkit-kde-1_root-password.patch -Patch52: polkit-kde-1_gcc45.patch - BuildRequires: kdelibs4-devel BuildRequires: polkit-qt-devel >= 0.95 BuildRequires: cmake @@ -32,11 +27,7 @@ Obsoletes: PolicyKit-kde < 4.5 Provides Policy Kit Authentication Agent that nicely fits to KDE. %prep -%setup -q -n polkit-kde-1-%{version} - -%patch50 -p1 -b .ImplicitDSOLinking -%patch51 -p0 -%patch52 -p1 -b .gcc45 +%setup -q -n polkit-kde-agent-1 %build @@ -52,24 +43,30 @@ make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1 rm -rf %{buildroot} make install DESTDIR=%{buildroot} -C %{_target_platform} -desktop-file-install --delete-original \ - --dir %{buildroot}%{_sysconfdir}/xdg/autostart \ - %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop +desktop-file-install \ + --dir %{buildroot}%{_datadir}/autostart \ + %{buildroot}%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop -%find_lang polkit-kde-authentication-agent-1 +#%find_lang polkit-kde-authorization %clean rm -rf %{buildroot} -%files -f polkit-kde-authentication-agent-1.lang +%files +# -f polkit-kde-authentication-agent-1.lang %defattr(-,root,root,-) %doc COPYING %{_libexecdir}/kde4/polkit-kde-authentication-agent-1 -%{_sysconfdir}/xdg/autostart/* +%{_datadir}/kde4/apps/policykit1-kde/policykit1-kde.notifyrc +%{_datadir}/autostart/* + %changelog +* Thu Nov 25 2010 Radek Novacek 0.98.1-1 +- Update to polkit-kde-0.98.1 + * Thu Nov 25 2010 Rex Dieter - 0.95.1-7 - rebuild (polkit-qt) diff --git a/sources b/sources index f400735..6f4a228 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -68e40d2a43335cb5876a1c8bc51c461b polkit-kde-1-0.95.1.tar.bz2 +5963e6b87b3a3899dc977a6473cba847 polkit-kde-agent-1-0.98.1.tar.gz