Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 6c57062de64bf4024ca9d9b226ec8a5f > files > 2

sqliteman-1.2.1-1mdv2010.0.src.rpm

Summary:	Lightweigth but powerfull Sqlite3 manager
Name:		sqliteman
Version:	1.2.1
Release:	%mkrel 1
License:	GPLv2+
Group:		Development/Databases
URL:		http://sqliteman.sourceforge.net/
Source:		http://downloads.sourceforge.net/sqliteman/%{name}-%{version}.tar.bz2
BuildRequires:	qt4-devel >= 4.3.0
%if %mdkversion < 200900
BuildRequires:	qt4-database-plugin-sqlite-lib
%else
BuildRequires:	qt4-database-plugin-sqlite
%endif
BuildRequires:	cmake
BuildRequires:	qscintilla-qt4-devel
%if %mdkversion < 200900
Requires:	qt4-database-plugin-sqlite-lib
%else
Requires:	qt4-database-plugin-sqlite
%endif
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
The best developer's and/or admin's GUI tool for Sqlite3
in the world. No joking here (or just a bit only) - it
contains the most complette feature set of all tools available.

%prep
%setup -q

%build
%cmake_qt4
%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall_std -C build

%if %mdkversion < 200900
%post
%{update_menus}
%{update_desktop_database}
%update_icon_cache hicolor
%endif

%if %mdkversion < 200900
%postun
%{clean_menus}
%{clean_desktop_database}
%clean_icon_cache hicolor
%endif

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(644,root,root,755)
%doc %{_datadir}/%{name}/doc/*
%attr(755,root,root) %{_bindir}/sqliteman
%{_datadir}/applications/sqliteman.desktop
%{_iconsdir}/sqliteman.png
%{_datadir}/%{name}/icons/*.png
%lang(bg) %{_datadir}/%{name}/sqliteman_bg.qm
%lang(cs) %{_datadir}/%{name}/sqliteman_cs.qm
%lang(de) %{_datadir}/%{name}/sqliteman_de.qm
%lang(en) %{_datadir}/%{name}/sqliteman_en.qm
%lang(fr) %{_datadir}/%{name}/sqliteman_fr.qm
%lang(it) %{_datadir}/%{name}/sqliteman_it.qm
%lang(pl) %{_datadir}/%{name}/sqliteman_pl.qm
%lang(ru) %{_datadir}/%{name}/sqliteman_ru.qm


%changelog
* Sun Jun 07 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 1.2.1-1mdv2010.0
+ Revision: 383487
- update to new version 1.2.1
- fix file list

  + Jerome Martin <jmartin@mandriva.org>
    - Fixed BuildRequires/Requires for 2008.1

* Wed Nov 19 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.2.0-2mdv2009.1
+ Revision: 304485
- rebuild

* Wed Aug 06 2008 Funda Wang <fundawang@mandriva.org> 1.2.0-1mdv2009.0
+ Revision: 264718
- New version 1.2.0
- use non-arch dependencies

* Sun Jul 13 2008 Funda Wang <fundawang@mandriva.org> 1.0.1-2mdv2009.0
+ Revision: 234232
- add requires on qt4-sqlite

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Thu Jan 31 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.0.1-1mdv2008.1
+ Revision: 160882
- new version
- fix file list

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Jul 18 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.0-1mdv2008.0
+ Revision: 53317
- new version
- drop X-MandrivaLinux
- drop buildrequires on desktop-file-utils
- fix file list

* Tue Apr 24 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.99-0.20070421.1mdv2008.0
+ Revision: 17936
- correct buildrequires
- fix building on x86_64
- Import sqliteman