Author: lisu Date: Thu Sep 2 14:45:04 2010 GMT Module: packages Tag: HEAD ---- Log message: - start update to 4.5 - nfy
---- Files affected: packages/kmymoney2: kmymoney2.spec (1.23 -> 1.24) ---- Diffs: ================================================================ Index: packages/kmymoney2/kmymoney2.spec diff -u packages/kmymoney2/kmymoney2.spec:1.23 packages/kmymoney2/kmymoney2.spec:1.24 --- packages/kmymoney2/kmymoney2.spec:1.23 Tue Feb 13 07:46:49 2007 +++ packages/kmymoney2/kmymoney2.spec Thu Sep 2 16:44:59 2010 @@ -3,25 +3,26 @@ # Conditional build: %bcond_without kbanking # kbanking support # +%define real_name kmymoney Summary: Personal finance application similar to Microsoft Money Summary(pl.UTF-8): Program do finansów osobistych, podobny do Microsoft Money Name: kmymoney2 -Version: 0.8.5 +Version: 4.5 Release: 1 License: GPL Group: X11/Applications -Source0: http://heanet.dl.sourceforge.net/kmymoney2/%{name}-%{version}.tar.bz2 -# Source0-md5: a39bcd548df8b4c6b9b5cf68d574a18e +Source0: http://downloads.sourceforge.net/kmymoney2/%{version}/%{real_name}-%{version}.tar.bz2 +# Source0-md5: a764fe259c7885f22a10049cef68398e URL: http://kmymoney2.sourceforge.net/ -Patch0: %{name}-desktop.patch -%{?with_kbanking:BuildRequires: aqbanking-frontend-kbanking-devel >= 0.1.0.0} -BuildRequires: arts-qt-devel -BuildRequires: artsc-devel -BuildRequires: kdelibs-devel >= 9:3.0 -BuildRequires: libofx-devel -BuildRequires: libxml2-devel >= 2.0.0 -BuildRequires: rpmbuild(macros) >= 1.129 -BuildRequires: xrender-devel +#Patch0: %{name}-desktop.patch +#%%{?with_kbanking:BuildRequires: aqbanking-frontend-kbanking-devel >= 0.1.0.0} +#BuildRequires: arts-qt-devel +#BuildRequires: artsc-devel +#BuildRequires: kdelibs-devel >= 9:3.0 +#BuildRequires: libofx-devel +#BuildRequires: libxml2-devel >= 2.0.0 +BuildRequires: rpmbuild(macros) >= 1.577 +#BuildRequires: xrender-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -75,28 +76,36 @@ Wtyczka KBanking dla KMyMoney2. %prep -%setup -q -%patch0 -p1 +%setup -q -n kmymoney-%{version} +#%%patch0 -p1 %build -CONFIG_SHELL="/bin/bash" \ -%configure \ - %{?with_kbanking:--enable-kbanking} \ - --with-qt-libraries=%{_libdir} +#CONFIG_SHELL="/bin/bash" \ +#%%configure \ +#% %{?with_kbanking:--enable-kbanking} \ +#% --with-qt-libraries=%{_libdir} + +install -d build +cd build +%cmake .. + %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_desktopdir} -%{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - kde_htmldir=%{_kdedocdir} +#%%{__make} install \ +# DESTDIR=$RPM_BUILD_ROOT \ +# kde_htmldir=%{_kdedocdir} + +%{__make} -C build install \ + DESTDIR=$RPM_BUILD_ROOT -mv $RPM_BUILD_ROOT%{_iconsdir}/{l,L}ocolor -mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,} +#mv $RPM_BUILD_ROOT%{_iconsdir}/{l,L}ocolor +#mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,} -%find_lang %{name} --with-kde +%find_lang %{real_name} --with-kde %clean rm -rf $RPM_BUILD_ROOT @@ -104,9 +113,32 @@ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -f %{name}.lang +%files -f %{real_name}.lang %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/kmymoney +%dir %{_datadir}/apps/kmymoney/ +%{_datadir}/apps/kmymoney/icons +%{_datadir}/apps/kmymoney/pics +%dir %{_datadir}/apps/kmymoney/templates +%lang(en_GB) %{_datadir}/apps/kmymoney/templates/en_GB +%lang(en_US) %{_datadir}/apps/kmymoney/templates/en_US +%lang(it) %{_datadir}/apps/kmymoney/templates/it +%lang(pt_BR) %{_datadir}/apps/kmymoney/templates/pt_BR +%lang(sk) %{_datadir}/apps/kmymoney/templates/sk +%lang(zh_CN) %{_datadir}/apps/kmymoney/templates/zh_CN +%lang(zh_HK) %{_datadir}/apps/kmymoney/templates/zh_HK +%lang(zh_TW) %{_datadir}/apps/kmymoney/templates/zh_TW +%{_datadir}/apps/kmymoney/tips +%dir %{_iconsdir}/* +%dir %{_iconsdir}/*/* +%dir %{_iconsdir}/*/*/* +%{_iconsdir}/*/*/*/*.png +%{_datadir}/kde4/services/*.desktop +%{_datadir}/kde4/servicetypes/*.desktop +%{_mandir}/man1/kmymoney.1* + + +%if 0 %attr(755,root,root) %{_libdir}/libkmm_mymoney.so.*.*.* %attr(755,root,root) %{_libdir}/libkmm_plugin.so.*.*.* %{_libdir}/libkmm_mymoney.la @@ -119,11 +151,6 @@ %{_datadir}/apps/kmymoney2/templates/README %{_datadir}/apps/kmymoney2/templates/en_GB %{_datadir}/apps/kmymoney2/templates/en_US -%lang(de) %{_datadir}/apps/kmymoney2/templates/de_DE -%lang(fr) %{_datadir}/apps/kmymoney2/templates/fr_FR -%lang(gl) %{_datadir}/apps/kmymoney2/templates/gl_ES -%lang(pt_BR) %{_datadir}/apps/kmymoney2/templates/pt_BR -%lang(ru) %{_datadir}/apps/kmymoney2/templates/ru_SU %dir %{_datadir}/apps/kmymoney2/html %{_datadir}/apps/kmymoney2/html/home.html %{_datadir}/apps/kmymoney2/html/whats_new.html @@ -139,29 +166,24 @@ %lang(it) %{_datadir}/apps/kmymoney2/html/home_it.html %lang(it) %{_datadir}/apps/kmymoney2/html/whats_new_it.html %lang(ru) %{_datadir}/apps/kmymoney2/html/home_ru.ru.html -%{_datadir}/apps/kmymoney2/icons -%{_datadir}/apps/kmymoney2/pics -%{_datadir}/apps/kmymoney2/tips %{_datadir}/apps/kmymoney2/kmymoney2ui.rc %{_desktopdir}/kde/*.desktop -%{_iconsdir}/*/*/*/* %{_datadir}/mimelnk/application/x-kmymoney2.desktop -%{_datadir}/services/kmm_ofximport.desktop -%{_datadir}/servicetypes/* -%{_mandir}/man1/* +%endif %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libkmm_mymoney.so %attr(755,root,root) %{_libdir}/libkmm_plugin.so -%{_includedir}/kmymoney +%dir %{_includedir}/kmymoney +%{_includedir}/kmymoney/*.h %files kbanking %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/kde3/kmm_kbanking.so -%{_libdir}/kde3/kmm_kbanking.la -%{_datadir}/apps/kmm_kbanking -%{_datadir}/services/kmm_kbanking.desktop +#%%attr(755,root,root) %{_libdir}/kde3/kmm_kbanking.so +#%%{_libdir}/kde3/kmm_kbanking.la +#%%{_datadir}/apps/kmm_kbanking +#%%{_datadir}/services/kmm_kbanking.desktop %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -169,6 +191,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.24 2010/09/02 14:44:59 lisu +- start update to 4.5 +- nfy + Revision 1.23 2007/02/13 06:46:49 glen - tabs in preamble ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kmymoney2/kmymoney2.spec?r1=1.23&r2=1.24&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
