]> git.pld-linux.org Git - packages/basket.git/blobdiff - basket.spec
- fix problems with autoconf 2.60 which creates configure that runs in POSIX mode
[packages/basket.git] / basket.spec
index 11acd496420f65bff2fa0e27aa05a5002b4fb6e1..ce4bb7ecf8ce38a8b1b478d2559f6ced5498f14b 100644 (file)
@@ -1,46 +1,56 @@
-%define                _beta   beta2
+%define                _alpha  Beta2
+%define                _alpha_m        %{nil}
+%define                _alpha_f        %{_alpha}%{_alpha_m}
 Summary:       A container for various types of data
 Summary(pl):   Pojemnik na ró¿ne rodzaje danych
 Name:          basket
-Version:       0.5.0
-Release:       0.%{_beta}.1
+Version:       0.6.0
+Release:       0.%{_alpha_f}.1
 License:       GPL
 Group:         Applications
-Source0:       http://slaout.linux62.org/basket/downloads/%{name}-%{version}-%{_beta}.tar.gz
-# Source0-md5: b5d4a91948b08090b0c9691973cd0204
-URL:           http://basket.kde.org
+# from http://basket.kde.org/downloads/?file=%{name}-%{version}.tar.gz
+Source0:       http://basket.kde.org/downloads/%{name}-%{version}%{_alpha_f}.tar.gz
+# Source0-md5: 424a0ca635ca831baeb73a81352356bf
+URL:           http://basket.kde.org/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gpgme-devel
 BuildRequires: kdelibs-devel >= 9:3.2.0
 BuildRequires: rpmbuild(macros) >= 1.129
-BuildRequires: unsermake >= 040805
 BuildRequires: sed >= 4.0
+#BuildRequires:        unsermake >= 040805
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This application provide as many baskets (drawers) as you wish, and
 you can drag and drop various objects (text, URLs, images, sounds...)
 into its. Objects can be edited, copied, dragged... So, you can
-arrange them as you want ! This application can be used to quickly
-drop web objects (link, text, images...) or notes (texts or images
-and, later, sound), as well as free your clutered desktop (if any).
-
-#description -l pl
+arrange them as you want! This application can be used to quickly drop
+web objects (link, text, images...) or notes (texts or images and,
+later, sound), as well as free your clutered desktop (if any).
 
+%description -l pl
+Ta aplikacja udostêpnia dowoln± liczbê koszyków (szuflad) i pozwala
+przeci±gaæ i upuszczaæ na nie ró¿ne obiekty (tekst, URL-e, obrazki,
+d¼wiêki...). Obiekty mog± byæ modyfikowane, kopiowane, przeci±gane...
+Mo¿na je uk³adaæ jak tylko chcemy. Ta aplikacja mo¿e byæ u¿ywana do
+szybkiego upuszczania obiektów WWW (odno¶ników, tekstu, obrazków...)
+lub notatek (tekstów albo obrazków, pó¼niej d¼wiêków), a tak¿e
+uwalniania pulpitu ze ¶mieci.
 
 %prep
-%setup -q -n %{name}-%{version}-%{_beta}
+%setup -q -n %{name}-%{version}%{_alpha}
 %{__sed} -i -e 's,\$(TOPSUBDIRS),doc po src,'  Makefile.am
 
 %build
-cp -f %{_datadir}/automake/config.sub admin
-export UNSERMAKE=%{_datadir}/unsermake/unsermake
+cp -f /usr/share/automake/config.sub admin
+#export UNSERMAKE=/usr/share/unsermake/unsermake
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
-       %if "%{_lib}" == "lib64"
+%if "%{_lib}" == "lib64"
        --enable-libsuffix=64 \
-       %endif
+%endif
        --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
        --with-qt-libraries=%{_libdir}
 %{__make}
@@ -53,18 +63,30 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
        kde_htmldir=%{_kdedocdir} \
        kde_libs_htmldir=%{_kdedocdir}
 
-%find_lang basket      --with-kde
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 mv $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities/basket.desktop,%{_desktopdir}}
-echo "Categories:Qt;KDE;Utility;" >> $RPM_BUILD_ROOT%{_desktopdir}/basket.desktop
+echo "Categories=Qt;KDE;Utility;" >> $RPM_BUILD_ROOT%{_desktopdir}/basket.desktop
+
+%find_lang %{name} --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f basket.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/*.desktop
+%attr(755,root,root) %{_libdir}/libbasketcommon.so
+%attr(755,root,root) %{_libdir}/kde3/kcm_basket.so
+%attr(755,root,root) %{_libdir}/kde3/libbasketpart.so
+%{_libdir}/kde3/libbasketpart.la
+%{_libdir}/kde3/kcm_basket.la
+%{_libdir}/libbasketcommon.la
 %{_datadir}/apps/basket
+%{_datadir}/services/basket_config_apps.desktop
+%{_datadir}/services/basket_config_features.desktop
+%{_datadir}/services/basket_config_general.desktop
+%{_datadir}/services/basket_config_notes.desktop
+%{_datadir}/services/basket_part.desktop
 %{_iconsdir}/crystalsvg/*x*/*/*.png
 %{_iconsdir}/crystalsvg/scalable/apps/*.svg
+%{_desktopdir}/*.desktop
This page took 0.059635 seconds and 4 git commands to generate.