- Update to official release

- Provides polkit-kde-1
epel9
Jaroslav Reznik 15 years ago
parent 81504c8fb2
commit e17534e6b9

@ -1 +1 @@
polkit-kde-0.95.20091125svn.tar.bz2
polkit-kde-1-0.95.1.tar.bz2

@ -1,27 +1,23 @@
Name: polkit-kde
Version: 0.95
Release: 0.2.20091125svn%{?dist}
Version: 0.95.1
Release: 1%{?dist}
Summary: PolicyKit integration for KDE Desktop
Group: Applications/System
License: GPLv2+
URL: http://www.kde.org/
# To prepare snapshot tarball follow these steps
# 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
Source0: polkit-kde-1-0.95.1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdelibs4-devel
BuildRequires: polkit-qt-devel >= 0.95
#BuildRequires: polkit-qt-devel >= 0.95
BuildRequires: cmake
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
Provides: PolicyKit-authentication-agent
Provides: polkit-kde-1 = %{version}-%{release}
Obsoletes: PolicyKit-kde < 4.5
@ -29,7 +25,7 @@ Obsoletes: PolicyKit-kde < 4.5
Provides Policy Kit Authentication Agent that nicely fits to KDE.
%prep
%setup -q
%setup -q -n polkit-kde-1-%{version}
%build
@ -45,17 +41,17 @@ make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1
rm -rf %{buildroot}
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 \
--dir %{buildroot}%{_sysconfdir}/xdg/autostart \
%{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
%find_lang polkit-kde-authentication-agent-1
%clean
rm -rf %{buildroot}
%files
%files -f polkit-kde-authentication-agent-1.lang
%defattr(-,root,root,-)
%doc COPYING
%{_libexecdir}/kde4/polkit-kde-authentication-agent-1
@ -63,6 +59,10 @@ rm -rf %{buildroot}
%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
- Adds desktop file
- Adds obsoletes

@ -1 +1 @@
9056c1625ac6838aa8f6b6de27ae41dd polkit-kde-0.95.20091125svn.tar.bz2
68e40d2a43335cb5876a1c8bc51c461b polkit-kde-1-0.95.1.tar.bz2

Loading…
Cancel
Save