You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
polkit-kde/polkit-kde.spec

102 lines
2.7 KiB

15 years ago
Name: polkit-kde
Version: 0.95.1
Release: 7%{?dist}
15 years ago
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
15 years ago
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
15 years ago
BuildRequires: kdelibs4-devel
BuildRequires: polkit-qt-devel >= 0.95
15 years ago
BuildRequires: cmake
BuildRequires: gettext
15 years ago
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
Provides: PolicyKit-authentication-agent
Provides: polkit-kde-1 = %{version}-%{release}
15 years ago
Obsoletes: PolicyKit-kde < 4.5
%description
Provides Policy Kit Authentication Agent that nicely fits to KDE.
%prep
%setup -q -n polkit-kde-1-%{version}
15 years ago
%patch50 -p1 -b .ImplicitDSOLinking
%patch51 -p0
%patch52 -p1 -b .gcc45
15 years ago
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd
make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1
%install
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
%find_lang polkit-kde-authentication-agent-1
15 years ago
%clean
rm -rf %{buildroot}
%files -f polkit-kde-authentication-agent-1.lang
15 years ago
%defattr(-,root,root,-)
%doc COPYING
%{_libexecdir}/kde4/polkit-kde-authentication-agent-1
%{_sysconfdir}/xdg/autostart/*
%changelog
* Thu Nov 25 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-7
- rebuild (polkit-qt)
* Wed Aug 04 2010 Radek Novacek <rnovacek@redhat.com> - 0.95.1-6
- Fixed FTBFS with GCC-4.5
* Wed Aug 04 2010 Radek Novacek <rnovacek@redhat.com> - 0.95.1-5
- Add patch for showing "password for root" when root user is authenticating
- Related: #618543
* Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
- FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)
* Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3
- Again provides PolicyKit-authentication-agent
* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2
- Added Gettext BR
* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
- Update to official release
- Provides polkit-kde-1
15 years ago
* Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
- Adds desktop file
- Adds obsoletes
* Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn
- Initial package