]> git.pld-linux.org Git - packages/basket.git/blob - basket.spec
1ad4024dac2cc74047026de779df31acba9c81c9
[packages/basket.git] / basket.spec
1 %define         _alpha  Alpha1
2 %define         _alpha_m        C
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
6 Name:           basket
7 Version:        0.6.0
8 Release:        0.%{_alpha_f}.1
9 License:        GPL
10 Group:          Applications
11 # from  http://basket.kde.org/downloads/?file=%{name}-%{version}.tar.gz
12 Source0:        http://team.pld-linux.org/~djurban/kde/%{name}-%{version}%{_alpha_f}.tar.gz
13 # Source0-md5:  6cda67414de6bc3757a591225ee80c2a
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)
22
23 %description
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).
30
31 %description -l pl
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.
39
40 %prep
41 %setup -q -n %{name}-%{version}%{_alpha}
42 %{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,'  Makefile.am
43
44 %build
45 cp -f /usr/share/automake/config.sub admin
46 #export UNSERMAKE=/usr/share/unsermake/unsermake
47 %{__make} -f admin/Makefile.common cvs
48
49 %configure \
50 %if "%{_lib}" == "lib64"
51         --enable-libsuffix=64 \
52 %endif
53         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
54         --with-qt-libraries=%{_libdir}
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_desktopdir}
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         kde_htmldir=%{_kdedocdir} \
63         kde_libs_htmldir=%{_kdedocdir}
64
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
68
69 %find_lang basket --with-kde
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f basket.lang
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
This page took 0.061761 seconds and 3 git commands to generate.