Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 5a72e92a23d7650d27653c25cc5462e3 > files > 2

basket-1.81-4.mga3.src.rpm

%define name           basket
%define longtitle      BasKet for KDE
%define version        1.81
%define release        %mkrel 4

Name:           %name
Summary:        %longtitle
Version:        %version
Release:        %release
URL:            http://basket.kde.org/
Source0:        http://basket.kde.org/downloads/%{name}-%{version}.tar.bz2
Group:          Office/Organizer
License:        GPLv2+
BuildRequires:  kdepim4-devel
BuildRequires:  kdepimlibs4-devel
BuildRequires:  qimageblitz-devel
BuildRequires:  desktop-file-utils
Requires:       kdebase4-runtime

conflicts:      %{_lib}%{name}4 < 1.80-2

%description
This application is mainly an all-purpose notes taker. 
It provide several baskets where to drop every sort of 
items: text, rich text, links, images, sounds, files, 
colors, application launcher...
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, as well as to free your 
clutered desktop (if any).
It is also useful to collect informations for a report. 
Those data can be shared with co-workers by exporting 
baskets to HTML.

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_kde_bindir}/%{name}
%{_kde_appsdir}/%{name}
%{_kde_applicationsdir}/%{name}.desktop
%{_kde_datadir}/config/magic/%{name}.magic
%{_kde_datadir}/mimelnk/application/x-%{name}-archive.desktop
%{_kde_datadir}/mimelnk/application/x-%{name}-template.desktop
%{_kde_datadir}/kde4/services/*.desktop
%{_kde_iconsdir}/*/*/*/*
%{_kde_datadir}/kde4/services/kontact/basket_plugin.desktop
%{_kde_libdir}/kde4/basketthumbcreator.so
%{_kde_libdir}/kde4/kcm_basket.so
%{_kde_libdir}/kde4/kontact_basketplugin.so
%{_kde_libdir}/kde4/libbasketpart.so

#--------------------------------------------------------------------

%define basketcommon_major 4
%define libbasketcommon %mklibname basketcommon %{basketcommon_major}

%package -n %{libbasketcommon}
Summary:    Library files for %{name}
Group:      Office/Organizer
Obsoletes:  %{_lib}%{name}4 < 1.80-2
Provides:   %{_lib}%{name}4 = %version-%release

%description -n %{libbasketcommon}
Library files for %{name}

%files -n %{libbasketcommon}
%{_kde_libdir}/libbasketcommon.so.%{basketcommon_major}*

#--------------------------------------------------------------------

%prep
%setup -q -n %{name}-%{version}

%build
%cmake_kde4 -DBUILD_KPARTS=1
%make

%install
rm -rf %{buildroot}
%makeinstall_std -C build

%{find_lang} %name --with-html


# XDG Menu
desktop-file-install --vendor=""\
  --add-category="KDE" \
  --add-category="Qt" \
  --add-category="Office" \
  --add-category="Utility" \
  --dir %{buildroot}%{_kde_datadir}/applications/kde4/ %{buildroot}%{_kde_datadir}/applications/kde4/%{name}.desktop

rm -f %buildroot%_kde_libdir/*.so

%check
for f in %{buildroot}%{_kde_datadir}/applications/kde4/*.desktop ; do
     desktop-file-validate $f
done 

%clean
rm -rf %buildroot




%changelog

* Fri Jan 11 2013 umeabot <umeabot> 1.81-4.mga3
+ Revision: 346875
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 07 2013 neoclust <neoclust> 1.81-3.mga3
+ Revision: 341077
- Fix group

* Tue Sep 06 2011 tv <tv> 1.81-1.mga2
+ Revision: 139246
- new release

* Wed May 11 2011 dmorgan <dmorgan> 1.80-3.mga1
+ Revision: 97157
- imported package basket