basket/basket.spec

90 lines
2.5 KiB
RPMSpec

%define qtver %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' libqt`)
%define kdedir %(echo `kde-config --prefix`)
%define kdever %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`)
Name: basket
Version: 1.90.git20090518
Release: 1mamba
Summary: BasKet note pads for KDE
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://basket.kde.org
Source: http://basket.kde.org/downloads/basket-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: kdelibs-devel
BuildRequires: libgcc
BuildRequires: libgpg-error-devel
BuildRequires: libgpgme-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libqt4-devel
BuildRequires: libphonon-devel
BuildRequires: libqt-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: xorg-proto-devel
BuildRequires: libxml2-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This application provide as many baskets 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!
%prep
%setup -q -n basket
%build
export KDEDIR=%{kdedir}
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd build
%makeinstall
#%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_kde4_bindir}/basket
%{_kde4_datadir}/basket
%{_kde4_icondir}/crystalsvg
%{_kde4_libdir}/libbasketcommon.so*
%{_kde4_libdir}/kde4/kcm_basket.so
%{_kde4_servicesdir}/basket*
%{_kde4_xdgappsdir}/basket.desktop
%{_kde4_localedir}/*/LC_MESSAGES/basket.mo
%doc AUTHORS COPYING README TODO
%changelog
* Mon May 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.90.git20090518-1mamba
- update to 1.90.git20090518
* Sat May 09 2009 Automatic Build System <autodist@mambasoft.it> 1.0.3.1-2mamba
- automatic rebuild by autodist
* Tue Jan 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3.1-1mamba
- update to 1.0.3.1
* Mon Dec 03 2007 Aleph0 <aleph0@openmamba.org> 1.0.2-2mamba
- new package mantainer
* Tue May 29 2007 Aleph0 <aleph0@openmamba.org> 1.0.2-1mamba
- update to 1.0.2
* Thu Mar 01 2007 Aleph0 <aleph0@openmamba.org> 1.0-1qilnx
- update to version 1.0 by autospec
* Tue Jan 02 2007 Aleph0 <aleph0@openmamba.org> 0.6.0-1qilnx
- package created by autospec