basket/basket.spec

103 lines
3.2 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`)
%define pkgver %(echo %version | sed "s|[a-z]||")
Name: basket
Version: 2.49b
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: https://launchpad.net/basket/kde5/%{version}/+download/basket-%{pkgver}-alpha.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgpg-error-devel
BuildRequires: libgpgme-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libqt5-devel
BuildRequires: libphonon-devel
BuildRequires: libqt-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
## AUTOBUILDREQ-END
BuildRequires: libgit2-devel >= 0.27.0-1mamba
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-%{pkgver}-alpha
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd build
%makeinstall
#%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_kde5_bindir}/basket
%{_kde5_datadir}/basket
%{_kde5_libdir}/libbasketcommon.so*
%{_libdir}/qt5/plugins/basketthumbcreator.so
%{_libdir}/qt5/plugins/kcm_basket.so
%{_datadir}/kxmlgui5/basket/basketui.rc
%doc %lang(en) %{_kde5_htmldir}/en/basket
%{_kde5_icondir}/hicolor
%{_kde5_servicesdir}/basket*
%{_kde5_xdgappsdir}/basket.desktop
%{_kde5_localedir}/*/LC_MESSAGES/basket.mo
%doc AUTHORS COPYING TODO
%changelog
* Tue Dec 03 2019 Automatic Build System <autodist@mambasoft.it> 2.49b-1mamba
- automatic version update by autodist
* Sat Apr 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49a-2mamba
- rebuilt by autoport with build requirements: libgit2-devel>=0.27.0-1mamba
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49a-1mamba
- update to 2.49a
* Fri Nov 28 2014 Automatic Build System <autodist@mambasoft.it> 2.10b-1mamba
- automatic update by autodist
* 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