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: 424a0ca635ca831baeb73a81352356bf
14 URL: http://basket.kde.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gpgme-devel
18 BuildRequires: kdelibs-devel >= 9:3.2.0
19 BuildRequires: rpmbuild(macros) >= 1.129
20 BuildRequires: sed >= 4.0
21 #BuildRequires: unsermake >= 040805
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This application provide as many baskets (drawers) as you wish, and
26 you can drag and drop various objects (text, URLs, images, sounds...)
27 into its. Objects can be edited, copied, dragged... So, you can
28 arrange them as you want! This application can be used to quickly drop
29 web objects (link, text, images...) or notes (texts or images and,
30 later, sound), as well as free your clutered desktop (if any).
33 Ta aplikacja udostêpnia dowoln± liczbê koszyków (szuflad) i pozwala
34 przeci±gaæ i upuszczaæ na nie ró¿ne obiekty (tekst, URL-e, obrazki,
35 d¼wiêki...). Obiekty mog± byæ modyfikowane, kopiowane, przeci±gane...
36 Mo¿na je uk³adaæ jak tylko chcemy. Ta aplikacja mo¿e byæ u¿ywana do
37 szybkiego upuszczania obiektów WWW (odno¶ników, tekstu, obrazków...)
38 lub notatek (tekstów albo obrazków, pó¼niej d¼wiêków), a tak¿e
39 uwalniania pulpitu ze ¶mieci.
42 %setup -q -n %{name}-%{version}%{_alpha}
43 %{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,' Makefile.am
46 cp -f /usr/share/automake/config.sub admin
47 #export UNSERMAKE=/usr/share/unsermake/unsermake
48 %{__make} -f admin/Makefile.common cvs
51 %if "%{_lib}" == "lib64"
52 --enable-libsuffix=64 \
54 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
55 --with-qt-libraries=%{_libdir}
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_desktopdir}
62 DESTDIR=$RPM_BUILD_ROOT \
63 kde_htmldir=%{_kdedocdir} \
64 kde_libs_htmldir=%{_kdedocdir}
66 install -d $RPM_BUILD_ROOT%{_desktopdir}
67 mv $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities/basket.desktop,%{_desktopdir}}
68 echo "Categories=Qt;KDE;Utility;" >> $RPM_BUILD_ROOT%{_desktopdir}/basket.desktop
70 %find_lang %{name} --with-kde
73 rm -rf $RPM_BUILD_ROOT
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/*
78 %attr(755,root,root) %{_libdir}/libbasketcommon.so
79 %attr(755,root,root) %{_libdir}/kde3/kcm_basket.so
80 %attr(755,root,root) %{_libdir}/kde3/libbasketpart.so
81 %{_libdir}/kde3/libbasketpart.la
82 %{_libdir}/kde3/kcm_basket.la
83 %{_libdir}/libbasketcommon.la
84 %{_datadir}/apps/basket
85 %{_datadir}/services/basket_config_apps.desktop
86 %{_datadir}/services/basket_config_features.desktop
87 %{_datadir}/services/basket_config_general.desktop
88 %{_datadir}/services/basket_config_notes.desktop
89 %{_datadir}/services/basket_part.desktop
90 %{_iconsdir}/crystalsvg/*x*/*/*.png
91 %{_iconsdir}/crystalsvg/scalable/apps/*.svg
92 %{_desktopdir}/*.desktop