packages: apper/apper-crash_fix.patch (NEW), apper/apper.spec (NEW)=?UTF-8?Q?=20?=- initial

atler atler at pld-linux.org
Sat Feb 11 15:21:15 CET 2012


Author: atler                        Date: Sat Feb 11 14:21:15 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/apper:
   apper-crash_fix.patch (NONE -> 1.1)  (NEW), apper.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/apper/apper-crash_fix.patch
diff -u /dev/null packages/apper/apper-crash_fix.patch:1.1
--- /dev/null	Sat Feb 11 15:21:15 2012
+++ packages/apper/apper-crash_fix.patch	Sat Feb 11 15:21:09 2012
@@ -0,0 +1,20 @@
+diff -ur apper-0.7.0.orig/Apper/main.cpp apper-0.7.0/Apper/main.cpp
+--- apper-0.7.0.orig/Apper/main.cpp	2012-02-05 13:08:14.521574875 +0100
++++ apper-0.7.0/Apper/main.cpp	2012-02-05 16:24:35.096903422 +0100
+@@ -75,6 +75,8 @@
+     options.add("+[package]", ki18n("Package file to install"));
+     KCmdLineArgs::addCmdLineOptions(options);
+ 
++    Apper app;
++
+     KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ 
+     if (args->count()) {
+@@ -131,7 +133,5 @@
+         return 0;
+     }
+ 
+-    Apper app;
+-
+     return app.exec();
+ }

================================================================
Index: packages/apper/apper.spec
diff -u /dev/null packages/apper/apper.spec:1.1
--- /dev/null	Sat Feb 11 15:21:15 2012
+++ packages/apper/apper.spec	Sat Feb 11 15:21:09 2012
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+Summary:	Application to get and manage software
+Name:		apper
+Version:	0.7.0
+Release:	0.1
+License:	GPL v2
+Group:		X11/Applications
+Source0:	http://dl.dropbox.com/u/37314029/%{name}-%{version}.tar.bz2
+# Source0-md5:	712b52dd9bd9eda7368d0820404d50f8
+Patch0:		%{name}-crash_fix.patch
+URL:		http://dantti.wordpress.com/
+BuildRequires:	PackageKit-qt2-devel >= 0.6.17
+BuildRequires:	automoc4 >= 0.9.88
+BuildRequires:	cmake >= 2.8.0
+BuildRequires:	kde4-kdelibs-devel
+BuildRequires:	qt4-build
+BuildRequires:	qt4-qmake
+BuildRequires:	rpmbuild(macros) >= 1.600
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Application to get and manage software.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+install -d build
+cd build
+%cmake \
+	../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install/fast \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/apper
+%dir %{_libdir}/apper
+%attr(755,root,root) %{_libdir}/apper/libapper.so
+%attr(755,root,root) %{_libdir}/kde4/kcm_apper.so
+%attr(755,root,root) %{_libdir}/kde4/kded_apperd.so
+%attr(755,root,root) %{_libdir}/kde4/libexec/apper-sentinel
+%{_desktopdir}/kde4/apper.desktop
+%{_datadir}/apps/apper
+%dir %{_datadir}/apps/ApperSentinel
+%{_datadir}/apps/ApperSentinel/ApperSentinel.notifyrc
+%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service
+%{_datadir}/dbus-1/services/org.kde.ApperSentinel.service
+%{_datadir}/kde4/services/kded/apperd.desktop
+%{_datadir}/kde4/services/kcm_apper.desktop
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
================================================================


More information about the pld-cvs-commit mailing list