LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File sqliteman.spec of Package sqliteman (Project home:llunak:attic)

#
# spec file for package sqliteman (Version 1.2.1)
#
# Copyright 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
 

Name:         sqliteman
BuildRequires: libqt4-devel cmake libqscintilla-devel fdupes
License:      GPLv2+
Group:        Productivity/Databases/Tools
Summary:      Admin Frontend For Sqlite Databases
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
URL:          http://sqliteman.com/
Version:      1.2.1
Release:      0
Source:       %name-%{version}.tar.bz2
Patch:        %name.diff
Requires:     qt-sql-sqlite

%description
A frontend for admins and developers to use sqlite database files. For debugging, editing,
...

Authors:
--------
    Petr Vanek <petr@scribus.info>

%prep
%setup -q
%patch

%build
mkdir builddir
cd builddir
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make

%install
cd builddir
make DESTDIR=$RPM_BUILD_ROOT install

%fdupes %{buildroot}/usr/share

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING
%{_bindir}/sqliteman
%{_datadir}/applications/sqliteman.desktop
%dir %{_datadir}/sqliteman
%{_datadir}/sqliteman/icons
%dir %{_datadir}/sqliteman/doc
%doc %lang(en) %{_datadir}/sqliteman/doc/en
%lang(en) %{_datadir}/sqliteman/sqliteman_en.qm
%lang(bg) %{_datadir}/sqliteman/sqliteman_bg.qm
%lang(cs) %{_datadir}/sqliteman/sqliteman_cs.qm
%lang(de) %{_datadir}/sqliteman/sqliteman_de.qm
%lang(fr) %{_datadir}/sqliteman/sqliteman_fr.qm
%lang(it) %{_datadir}/sqliteman/sqliteman_it.qm
%lang(pl) %{_datadir}/sqliteman/sqliteman_pl.qm
%lang(ru) %{_datadir}/sqliteman/sqliteman_ru.qm
%{_datadir}/pixmaps/sqliteman.png

%changelog
* Mon Apr 27 2009 - Buschmann <buschmann23@opensuse.org> - 1.2.1
- updated to version 1.2.1
- changed rpm group
- added libqscintilla-devel and fdupes to the BuildRequires