rpms/kpackagekit/F-9 kpackagekit.spec,NONE,1.1

Steven M. Parrish tuxbrewr at fedoraproject.org
Wed Nov 12 12:01:53 UTC 2008


Author: tuxbrewr

Update of /cvs/pkgs/rpms/kpackagekit/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30124

Added Files:
	kpackagekit.spec 
Log Message:
Initial build for F9


--- NEW FILE kpackagekit.spec ---
%define betaversion b4

Name:	  	kpackagekit
Version:	0.3.1
Release:	5%{?dist}
Summary:	KDE interface for PackageKit

License:	GPLv2+
Group:		Applications/System
Source0: 	http://www.kde-apps.org/CONTENT/content-files/84745-kpackagekit-%{version}.tar.bz2
URL:		http://www.kde-apps.org/content/show.php/KPackageKit?content=84745
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# http://websvn.kde.org/*checkout*/trunk/playground/sysadmin/kpackagekit/cmake/modules/FindQPackageKit.cmake
Source1: FindQPackageKit.cmake

Patch1: kpackagekit-0.3.1-kdeinit.patch
Patch2: kpackagekit-0.3.1-cmake_module_path.patch
Patch3: kpackagekit-0.3.1-pk_api.patch

BuildRequires:	cmake
BuildRequires:  desktop-file-utils
BuildRequires:	kde-filesystem
BuildRequires:	kdelibs4-devel
BuildRequires:	PackageKit-qt-devel >= 0.3.9-3

%description
KDE interface for PackageKit.

%prep
%setup -q -n KPackageKit 

%patch1 -p1 -b .kdeinit

#install -p -D %{SOURCE1} cmake/modules/FindQPackageKit.cmake
#patch2 -p1 -b .cmake_module_path

%patch3 -p1 -b .pk_api


%build
%{cmake_kde4} \
  -DQPACKAGEKIT_INCLUDE_DIR=%{_includedir}/PackageKit/ \
  .

make %{?_smp_mflags} VERBOSE=1

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=${RPM_BUILD_ROOT}

desktop-file-install \
  --dir=$RPM_BUILD_ROOT%{_kde4_datadir}/applications/kde4 \
  --vendor="" \
  --remove-category="SoftwareManagement" \
  --add-category="X-SoftwareManagement" \
  $RPM_BUILD_ROOT%{_kde4_datadir}/applications/kde4/kpackagekit.desktop


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_bindir}/kpackagekit
%{_bindir}/kpackagekit-smart-icon
%{_kde4_libdir}/kde4/*.so
%{_kde4_datadir}/applications/kde4/kpackagekit.desktop
%{_kde4_datadir}/kde4/services/*.desktop
%{_kde4_datadir}/kde4/services/kded/*.desktop
%{_kde4_appsdir}/kpackagekit/
%{_kde4_appsdir}/KPackageKit/


%changelog
* Sat Nov 01 2008 Rex Dieter <rdieter at fedoraproject.org> 0.3.1-5
- use PackageKit's FindQPackageKit.cmake

* Tue Oct 21 2008 Rex Dieter <rdieter at fedoraproject.org> 0.3.1-4
- build against PackageKit-qt

* Mon Oct 20 2008 Rex Dieter <rdieter at fedoraproject.rog> 0.3.1-3
- patch kpackagekit.desktop (guessed correct X-DBUS-ServiceName value), 
  fixes: KDEInit could not launch "/usr/bin/kpackagekit" 
- cleanup %%files

* Thu Oct 16 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.3.1-2
- Fix build error

* Thu Oct 16 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.3.1-1
- New upstream release

* Mon Sep 29 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-1
- Official 0.1 release

* Sun Aug 24 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.3.b4
- Excluded underdevelopment binaries and associated files 

* Fri Aug 22 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.2.b4
- Adding missing files

* Tue Aug 19 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.1.b4
- New upstream release

* Fri Aug 01 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.5.b3
- Corrected SPEC file regression

* Thu Jul 31 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.4.b3
- Changed wording on serveral windows to make them better understood

* Thu Jul 24 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.3.b3
- Removed additional uneeded BRs

* Tue Jul 22 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.2.b3
- Removed uneeded BRs
- Made use of predefined macros

* Wed Jul 16 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.1-0.1.b3
- Initial SPEC file




More information about the fedora-extras-commits mailing list