diff options
author | Tim Williams <tmw@autotrain.org> | 2011-10-17 18:47:27 +0100 |
---|---|---|
committer | Tim Williams <tmw@autotrain.org> | 2011-10-17 18:47:27 +0100 |
commit | 76ef832ce5348d12a871223d4c034c7daeaddb82 (patch) | |
tree | 7024a1f39a6114daa8c5ed24bb31a8687c832b9a /mandriva/2010.2/applications/kbudget | |
parent | ec2515f058c60d2478a549f58376db628ba556b9 (diff) | |
download | tde-packaging-76ef832ce5348d12a871223d4c034c7daeaddb82.tar.gz tde-packaging-76ef832ce5348d12a871223d4c034c7daeaddb82.zip |
Adding the remaining Mandriva patches and spec files
Diffstat (limited to 'mandriva/2010.2/applications/kbudget')
-rw-r--r-- | mandriva/2010.2/applications/kbudget/kbudget-0.6-stdio.patch | 12 | ||||
-rw-r--r-- | mandriva/2010.2/applications/kbudget/kbudget.spec | 159 |
2 files changed, 171 insertions, 0 deletions
diff --git a/mandriva/2010.2/applications/kbudget/kbudget-0.6-stdio.patch b/mandriva/2010.2/applications/kbudget/kbudget-0.6-stdio.patch new file mode 100644 index 000000000..3da01d31d --- /dev/null +++ b/mandriva/2010.2/applications/kbudget/kbudget-0.6-stdio.patch @@ -0,0 +1,12 @@ +--- kbudget/kbudget.cpp.orig 2009-03-25 18:31:24.000000000 +0100 ++++ kbudget/kbudget.cpp 2009-03-25 18:34:08.000000000 +0100 +@@ -16,7 +16,8 @@ + ***************************************************************************/ + + #include <config.h> +- ++#include <stdlib.h> ++ + // include files for QT + #include <qdir.h> + #include <qprinter.h> diff --git a/mandriva/2010.2/applications/kbudget/kbudget.spec b/mandriva/2010.2/applications/kbudget/kbudget.spec new file mode 100644 index 000000000..7ee2eec42 --- /dev/null +++ b/mandriva/2010.2/applications/kbudget/kbudget.spec @@ -0,0 +1,159 @@ +Summary: Budgeting and personal finance program for KDE +Name: kbudget +Version: 0.6 +Release: %mkrel 13 +License: GPL +Group: Office +Source0: %{name}-%{version}.tar.bz2 +URL: http://www.garandnet.net/kbudget/ +BuildRoot: %{_tmppath}/%{name}-buildroot +BuildRequires: kdelibs3-devel +Patch0: kbudget-0.6-stdio.patch + +%description +KBudget is a budgeting and personal finance program for KDE. +It requires KDE 3 and is currently in early development. + +%prep +rm -rf $RPM_BUILD_ROOT + +%setup -q +%patch0 -p0 + +%build +#make -f admin/Makefile.common cvs + +export QTDIR=%_prefix/%_lib/qt3 +export KDEDIR=%_prefix + +export LD_LIBRARY_PATH=$QTDIR/%_lib:$KDEDIR/%_lib:$LD_LIBRARY_PATH +export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH + +# Search for qt/kde libraries in the right directories (avoid patch) +# NOTE: please don't regenerate configure scripts below +perl -pi -e "s@/lib(\"|\b[^/])@/%_lib\1@g if /(kde|qt)_(libdirs|libraries)=/" configure + +%configure_kde3 + +%make + +%install +rm -rf %{buildroot} +#make prefix=%{buildroot}%{_prefix} install +%makeinstall +%find_lang kbudget + +%{__cp} %{buildroot}%{_iconsdir}/crystalsvg/22x22/apps/%{name}.png %{buildroot}%{_iconsdir}/%{name}.png +mkdir -p %{buildroot}%{_miconsdir} +%{__cp} %{buildroot}%{_iconsdir}/crystalsvg/16x16/apps/%{name}.png %{buildroot}%{_miconsdir}/%{name}.png +mkdir -p %{buildroot}%{_liconsdir} +%{__cp} %{buildroot}%{_iconsdir}/crystalsvg/48x48/apps/%{name}.png %{buildroot}%{_liconsdir}/%{name}.png + + +install -m 755 -d %buildroot%{_menudir} + +%clean +rm -rf %{buildroot} + +%post +%if %mdkversion > 200600 +%update_icon_cache crystalsvg +%endif + +%postun +%if %mdkversion > 200600 +%clean_icon_cache crystalsvg +%endif + +%files -f kbudget.lang +%defattr(-, root, root, 0755) +%doc README AUTHORS +%_bindir/%{name} + + +# copy regular icons to %_icondir +%_iconsdir/%name.png +%_liconsdir/%name.png +%_miconsdir/%name.png + + +%_iconsdir/crystalsvg/128x128/apps/* +%_iconsdir/crystalsvg/128x128/mimetypes/* +%_iconsdir/crystalsvg/16x16/apps/* +%_iconsdir/crystalsvg/16x16/mimetypes/* +%_iconsdir/crystalsvg/22x22/apps/* +%_iconsdir/crystalsvg/22x22/mimetypes/* +%_iconsdir/crystalsvg/32x32/apps/* +%_iconsdir/crystalsvg/32x32/mimetypes/* +%_iconsdir/crystalsvg/48x48/apps/* +%_iconsdir/crystalsvg/48x48/mimetypes/* +%_iconsdir/crystalsvg/scalable/apps/* +%_iconsdir/crystalsvg/scalable/mimetypes/* + +%_datadir/applnk/Applications/%{name}.desktop +%_datadir/mimelnk/application/x-%{name}.desktop +%dir %_datadir/apps/%{name} +%_datadir/apps/%{name}/*.rc + +# other html doc +%dir %_defaultdocdir/HTML/en/kbudget +%_defaultdocdir/HTML/en/kbudget/* + + + +%changelog +* Wed Jul 21 2011 Tim Williams <tim@my-place.org.uk> 0.6-13mdv2010.2 ++ Rebuild against Trinity 3.5.12 + +* Wed Jul 21 2010 Tim Williams <tim@my-place.org.uk> 0.6-12mdv2010.1 ++ MDV 2010.1 rebuild + +* Tue Nov 17 2009 Tim Williams <tim@my-place.org.uk> 0.6-11mdv2010.0 ++ MDV 2010.0 rebuild + +* Wed Mar 25 2009 Helio Chissini de Castro <helio@mandriva.com> 0.6-10mdv2009.1 ++ Revision: 361079 +- Bump to rebuild against cooker + + + Thierry Vignaud <tvignaud@mandriva.com> + - rebuild + +* Tue Feb 19 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.6-7mdv2008.1 ++ Revision: 172392 +- fix update-menus-without-menu-file-in-%%post(|un) +- kdedesktop2mdkmenu.pl is no more +- rebuild +- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake +- kill re-definition of %%buildroot on Pixel's request +- import kbudget + + + Olivier Blin <oblin@mandriva.com> + - restore BuildRoot + + +* Mon Jun 26 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.6-6mdv2007.0 +- Use new menu +- Register icons + +* Fri Dec 23 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.6-5mdk +- Fix Build +- use mkrel +- BuildRequires : kdelibs-devel + +* Fri May 06 2005 Laurent MONTEL <lmontel@mandriva.com> 0.6-4mdk +- Fix build on x86_64 + +* Mon Jun 14 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.6-3mdk +- Rebuils + +* Tue Feb 24 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.6-2mdk +- Fix distlint + +* Wed Dec 31 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6-1mdk +- 0.6 + +* Sun Oct 15 2003 Nicolas CHIPAUX <chipaux@mandrakesoft.com> 0.5-2mdk +- libdir fix + +* Sun Sep 23 2003 Nicolas CHIPAUX <chipaux@mandrakesoft.com> 0.5-1mdk +- Initial release |