-%define _beta beta2
Summary: A container for various types of data
-Summary(pl): Pojemnik na ró¿ne rodzaje danych
+Summary(pl.UTF-8): Pojemnik na różne rodzaje danych
Name: basket
-Version: 0.5.0
-Release: 0.%{_beta}.1
+Version: 1.0.2
+Release: 2
License: GPL
Group: Applications
-Source0: http://slaout.linux62.org/basket/downloads/%{name}-%{version}-%{_beta}.tar.gz
-# Source0-md5: b5d4a91948b08090b0c9691973cd0204
+# from http://basket.kde.org/downloads/?file=%{name}-%{version}.tar.gz
+Source0: http://basket.kde.org/downloads/%{name}-%{version}.tar.gz
+# Source0-md5: d71c62a56de9cc32ba2633e63e99071f
+Patch0: %{name}-am.patch
+Patch1: kde-ac260-lt.patch
URL: http://basket.kde.org/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: gpgme-devel
BuildRequires: kdelibs-devel >= 9:3.2.0
+BuildRequires: kdepim-devel
BuildRequires: rpmbuild(macros) >= 1.129
BuildRequires: sed >= 4.0
-BuildRequires: unsermake >= 040805
+#BuildRequires: unsermake >= 040805
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This application provide as many baskets (drawers) as you wish, and
you can drag and drop various objects (text, URLs, images, sounds...)
into its. Objects can be edited, copied, dragged... So, you can
-arrange them as you want! This application can be used to quickly
-drop web objects (link, text, images...) or notes (texts or images
-and, later, sound), as well as free your clutered desktop (if any).
+arrange them as you want! This application can be used to quickly drop
+web objects (link, text, images...) or notes (texts or images and,
+later, sound), as well as free your clutered desktop (if any).
-%description -l pl
-Ta aplikacja udostêpnia dowoln± liczbê koszyków (szuflad) i pozwala
-przeci±gaæ i upuszczaæ na nie ró¿ne obiekty (tekst, URL-e, obrazki,
-d¼wiêki...). Obiekty mog± byæ modyfikowane, kopiowane, przeci±gane...
-Mo¿na je uk³adaæ jak tylko chcemy. Ta aplikacja mo¿e byæ u¿ywana do
-szybkiego upuszczania obiektów WWW (odno¶ników, tekstu, obrazków...)
-lub notatek (tekstów albo obrazków, pó¼niej d¼wiêków), a tak¿e
-uwalniania pulpitu ze ¶mieci.
+%description -l pl.UTF-8
+Ta aplikacja udostępnia dowolną liczbę koszyków (szuflad) i pozwala
+przeciągać i upuszczać na nie różne obiekty (tekst, URL-e, obrazki,
+dźwięki...). Obiekty mogą być modyfikowane, kopiowane, przeciągane...
+Można je układać jak tylko chcemy. Ta aplikacja może być używana do
+szybkiego upuszczania obiektów WWW (odnośników, tekstu, obrazków...)
+lub notatek (tekstów albo obrazków, później dźwięków), a także
+uwalniania pulpitu ze śmieci.
%prep
-%setup -q -n %{name}-%{version}-%{_beta}
+%setup -q
+%patch0 -p1
+%patch1 -p1
%{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,' Makefile.am
%build
-cp -f /usr/share/automake/config.sub admin
-export UNSERMAKE=/usr/share/unsermake/unsermake
+cp -f /usr/share/automake/config.* admin
%{__make} -f admin/Makefile.common cvs
%configure \
mv $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities/basket.desktop,%{_desktopdir}}
echo "Categories=Qt;KDE;Utility;" >> $RPM_BUILD_ROOT%{_desktopdir}/basket.desktop
-%find_lang basket --with-kde
+mv $RPM_BUILD_ROOT%{_datadir}/locale/pl_PL $RPM_BUILD_ROOT%{_datadir}/locale/pl
+
+%find_lang %{name} --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f basket.lang
+%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/*.desktop
+%attr(755,root,root) %{_libdir}/libbasketcommon.so
+%attr(755,root,root) %{_libdir}/kde3/kcm_basket.so
+%attr(755,root,root) %{_libdir}/kde3/libbasketpart.so
+%{_libdir}/kde3/libbasketpart.la
+%{_libdir}/kde3/kcm_basket.la
+%{_libdir}/libbasketcommon.la
%{_datadir}/apps/basket
+%{_datadir}/services/basket_config_apps.desktop
+%{_datadir}/services/basket_config_baskets.desktop
+%{_datadir}/services/basket_config_features.desktop
+%{_datadir}/services/basket_config_general.desktop
+%{_datadir}/services/basket_config_notes.desktop
+%{_datadir}/services/basket_config_new_notes.desktop
+%{_datadir}/services/basket_config_notes_appearance.desktop
+%{_datadir}/services/basket_part.desktop
%{_iconsdir}/crystalsvg/*x*/*/*.png
%{_iconsdir}/crystalsvg/scalable/apps/*.svg
+%{_desktopdir}/*.desktop