]>
Commit | Line | Data |
---|---|---|
81ab73be | 1 | %define _alpha Beta2 |
64c8e036 | 2 | %define _alpha_m %{nil} |
5c2c4ad1 | 3 | %define _alpha_f %{_alpha}%{_alpha_m} |
8245e04f | 4 | Summary: A container for various types of data |
5a11753e | 5 | Summary(pl.UTF-8): Pojemnik na różne rodzaje danych |
8245e04f | 6 | Name: basket |
5c2c4ad1 | 7 | Version: 0.6.0 |
8 | Release: 0.%{_alpha_f}.1 | |
8245e04f | 9 | License: GPL |
10 | Group: Applications | |
11ac5a87 | 11 | # from http://basket.kde.org/downloads/?file=%{name}-%{version}.tar.gz |
64c8e036 | 12 | Source0: http://basket.kde.org/downloads/%{name}-%{version}%{_alpha_f}.tar.gz |
81ab73be | 13 | # Source0-md5: 424a0ca635ca831baeb73a81352356bf |
e682e9bb | 14 | URL: http://basket.kde.org/ |
8245e04f | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
81ab73be | 17 | BuildRequires: gpgme-devel |
8245e04f | 18 | BuildRequires: kdelibs-devel >= 9:3.2.0 |
19 | BuildRequires: rpmbuild(macros) >= 1.129 | |
8245e04f | 20 | BuildRequires: sed >= 4.0 |
81ab73be | 21 | #BuildRequires: unsermake >= 040805 |
8245e04f | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
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 | |
81ab73be | 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). | |
8245e04f | 31 | |
5a11753e JR |
32 | %description -l pl.UTF-8 |
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. | |
8245e04f | 40 | |
41 | %prep | |
5c2c4ad1 | 42 | %setup -q -n %{name}-%{version}%{_alpha} |
8245e04f | 43 | %{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,' Makefile.am |
44 | ||
45 | %build | |
e682e9bb | 46 | cp -f /usr/share/automake/config.sub admin |
5c2c4ad1 | 47 | #export UNSERMAKE=/usr/share/unsermake/unsermake |
8245e04f | 48 | %{__make} -f admin/Makefile.common cvs |
49 | ||
50 | %configure \ | |
e682e9bb | 51 | %if "%{_lib}" == "lib64" |
8245e04f | 52 | --enable-libsuffix=64 \ |
e682e9bb | 53 | %endif |
8245e04f | 54 | --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \ |
55 | --with-qt-libraries=%{_libdir} | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT \ | |
63 | kde_htmldir=%{_kdedocdir} \ | |
64 | kde_libs_htmldir=%{_kdedocdir} | |
65 | ||
8245e04f | 66 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
67 | mv $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities/basket.desktop,%{_desktopdir}} | |
e682e9bb JB |
68 | echo "Categories=Qt;KDE;Utility;" >> $RPM_BUILD_ROOT%{_desktopdir}/basket.desktop |
69 | ||
81ab73be | 70 | %find_lang %{name} --with-kde |
8245e04f | 71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
81ab73be | 75 | %files -f %{name}.lang |
8245e04f | 76 | %defattr(644,root,root,755) |
77 | %attr(755,root,root) %{_bindir}/* | |
81ab73be | 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 | |
8245e04f | 84 | %{_datadir}/apps/basket |
81ab73be | 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 | |
8245e04f | 90 | %{_iconsdir}/crystalsvg/*x*/*/*.png |
91 | %{_iconsdir}/crystalsvg/scalable/apps/*.svg | |
81ab73be | 92 | %{_desktopdir}/*.desktop |