SPECS: kde4-kernelupdatenotifier.spec - up to 1.1.1 which uses cmake

shadzik shadzik at pld-linux.org
Tue Mar 24 00:53:11 CET 2009


Author: shadzik                      Date: Mon Mar 23 23:53:11 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.1.1 which uses cmake

---- Files affected:
SPECS:
   kde4-kernelupdatenotifier.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/kde4-kernelupdatenotifier.spec
diff -u SPECS/kde4-kernelupdatenotifier.spec:1.8 SPECS/kde4-kernelupdatenotifier.spec:1.9
--- SPECS/kde4-kernelupdatenotifier.spec:1.8	Mon Mar 23 20:49:43 2009
+++ SPECS/kde4-kernelupdatenotifier.spec	Tue Mar 24 00:53:05 2009
@@ -3,12 +3,13 @@
 Summary:	Kernel Update Notifier for KDE4
 Summary(pl.UTF-8):	Powiadomienie o zaktualizowanym kernelu dla KDE4
 Name:		kde4-%{appname}
-Version:	1.1
+Version:	1.1.1
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	%{appname}-%{version}.tar.gz
-# Source0-md5:	893c98029d54ed7417e1301774460733
+# Source0-md5:	908fd0a521b87b75168f020b648cdf03
+BuildRequires:	cmake
 BuildRequires:	kde4-kdebase-workspace-devel
 BuildRequires:	kde4-kdelibs-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,18 +21,23 @@
 Powiadomienie o zaktualizowanym kernelu dla KDE4.
 
 %prep
-%setup -q -n %{appname}
+%setup -q -n %{appname}-%{version}
 
 %build
-%{__make} \
-	INCPATH+="-I/usr/include -I/usr/include/KDE -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I." \
-	LIBS+="-lknotifyconfig -lkworkspace -lkdeui"
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	../
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/apps/kernelupdatenotifier}
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/apps/kernelupdatenotifier
 install *.notifyrc $RPM_BUILD_ROOT%{_datadir}/apps/kernelupdatenotifier
-install kernelupdatenotifier $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/03/23 23:53:05  shadzik
+- up to 1.1.1 which uses cmake
+
 Revision 1.8  2009/03/23 19:49:43  shadzik
 - new tarball
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kde4-kernelupdatenotifier.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list