2 %define _alpha_m %{nil}
3 %define _alpha_f %{_alpha}%{_alpha_m}
4 Summary: A container for various types of data
5 Summary(pl): Pojemnik na ró¿ne rodzaje danych
8 Release: 0.%{_alpha_f}.1
11 # from http://basket.kde.org/downloads/?file=%{name}-%{version}.tar.gz
12 Source0: http://basket.kde.org/downloads/%{name}-%{version}%{_alpha_f}.tar.gz
13 # Source0-md5: 671143e28ee2d1cbc0b76960810297ae
14 URL: http://basket.kde.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: kdelibs-devel >= 9:3.2.0
18 BuildRequires: rpmbuild(macros) >= 1.129
19 BuildRequires: sed >= 4.0
20 BuildRequires: unsermake >= 040805
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This application provide as many baskets (drawers) as you wish, and
25 you can drag and drop various objects (text, URLs, images, sounds...)
26 into its. Objects can be edited, copied, dragged... So, you can
27 arrange them as you want! This application can be used to quickly
28 drop web objects (link, text, images...) or notes (texts or images
29 and, later, sound), as well as free your clutered desktop (if any).
32 Ta aplikacja udostêpnia dowoln± liczbê koszyków (szuflad) i pozwala
33 przeci±gaæ i upuszczaæ na nie ró¿ne obiekty (tekst, URL-e, obrazki,
34 d¼wiêki...). Obiekty mog± byæ modyfikowane, kopiowane, przeci±gane...
35 Mo¿na je uk³adaæ jak tylko chcemy. Ta aplikacja mo¿e byæ u¿ywana do
36 szybkiego upuszczania obiektów WWW (odno¶ników, tekstu, obrazków...)
37 lub notatek (tekstów albo obrazków, pó¼niej d¼wiêków), a tak¿e
38 uwalniania pulpitu ze ¶mieci.
41 %setup -q -n %{name}-%{version}%{_alpha}
42 %{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,' Makefile.am
45 cp -f /usr/share/automake/config.sub admin
46 #export UNSERMAKE=/usr/share/unsermake/unsermake
47 %{__make} -f admin/Makefile.common cvs
50 %if "%{_lib}" == "lib64"
51 --enable-libsuffix=64 \
53 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
54 --with-qt-libraries=%{_libdir}
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_desktopdir}
61 DESTDIR=$RPM_BUILD_ROOT \
62 kde_htmldir=%{_kdedocdir} \
63 kde_libs_htmldir=%{_kdedocdir}
65 install -d $RPM_BUILD_ROOT%{_desktopdir}
66 mv $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities/basket.desktop,%{_desktopdir}}
67 echo "Categories=Qt;KDE;Utility;" >> $RPM_BUILD_ROOT%{_desktopdir}/basket.desktop
69 %find_lang basket --with-kde
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/*
77 %{_desktopdir}/*.desktop
78 %{_datadir}/apps/basket
79 %{_iconsdir}/crystalsvg/*x*/*/*.png
80 %{_iconsdir}/crystalsvg/scalable/apps/*.svg