]> git.pld-linux.org Git - packages/basket.git/blob - basket.spec
35b11e3d49a8c373145d269ff95ec3045b478c15
[packages/basket.git] / basket.spec
1 %define         _alpha  Beta2
2 %define         _alpha_m        %{nil}
3 %define         _alpha_f        %{_alpha}%{_alpha_m}
4 Summary:        A container for various types of data
5 Summary(pl.UTF-8):      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://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)
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
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).
31
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.
40
41 %prep
42 %setup -q -n %{name}-%{version}%{_alpha}
43 %{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,'  Makefile.am
44
45 %build
46 cp -f /usr/share/automake/config.sub admin
47 #export UNSERMAKE=/usr/share/unsermake/unsermake
48 %{__make} -f admin/Makefile.common cvs
49
50 %configure \
51 %if "%{_lib}" == "lib64"
52         --enable-libsuffix=64 \
53 %endif
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
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
69
70 %find_lang %{name} --with-kde
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
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
This page took 0.202849 seconds and 2 git commands to generate.