File the-board.spec of Package the-board

#
# spec file for package the-board
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           the-board
Version:        0.1.3
Release:        1
License:        GPLv3+
Summary:        A space for quickly placing daily records
Url:            http://live.gnome.org/TheBoardProject
Group:          Productivity/Other
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(clutter-1.0)
BuildRequires:  pkgconfig(clutter-gst-1.0)
BuildRequires:  pkgconfig(clutter-gtk-1.0)
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(gjs-1.0)
BuildRequires:  pkgconfig(gjs-dbus-1.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libnautilus-extension)
BuildRequires:  pkgconfig(libsoup-2.4)
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(mx-1.0)
# We need a Requires on the typelib (bnc#590025#c1)
Requires:       libthe-board-1_0-0 >= %{version}
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The Board is a space for quickly placing daily records: photos, video,
audio, text, and more. Think of it as a combination of a note-taking
app, a photo and video booth, a photo album, a sketching board, and a
digital scrapbook.

%package -n nautilus-extension-the-board
License:        GPLv3+
Summary:        The Board extension for Nautilus
Group:          Productivity/Other
Requires:       %{name} = %{version}
Requires:       nautilus
Supplements:    packageand(%{name}:nautilus)

%description -n nautilus-extension-the-board
The Board is a space for quickly placing daily records: photos, video,
audio, text, and more. Think of it as a combination of a note-taking
app, a photo and video booth, a photo album, a sketching board, and a
digital scrapbook.

%package -n libthe-board-1_0-0
License:        GPLv3+
Summary:        The Board Library
Group:          System/Libraries

%description -n libthe-board-1_0-0
The Board is a space for quickly placing daily records: photos, video,
audio, text, and more. Think of it as a combination of a note-taking
app, a photo and video booth, a photo album, a sketching board, and a
digital scrapbook.

%package -n libthe-board-devel
License:        GPLv3+
Summary:        The Board Library -- Development Files
Group:          Development/Libraries/GNOME
Requires:       libthe-board-1_0-0 = %{version}

%description -n libthe-board-devel
The Board is a space for quickly placing daily records: photos, video,
audio, text, and more. Think of it as a combination of a note-taking
app, a photo and video booth, a photo album, a sketching board, and a
digital scrapbook.

%lang_package
%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%find_lang the-board
%suse_update_desktop_file the-board Utility DesktopUtility
%fdupes %{buildroot}%{_datadir}/the-board/

%clean
%{?buildroot:rm -rf %{buildroot}}

%post -n libthe-board-1_0-0 -p /sbin/ldconfig

%postun -n libthe-board-1_0-0 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/the-board
%{_libexecdir}/the-board-start
%{_datadir}/applications/the-board.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/the-board/

%files -n nautilus-extension-the-board
%defattr(-,root,root)
%{_libdir}/nautilus/extensions-3.0/libnautilus-the-board.so

%files -n libthe-board-1_0-0
%defattr(-,root,root)
%{_libdir}/libthe-board-1.0.so.*
%{_libdir}/girepository-1.0/TheBoard-1.0.typelib

%files -n libthe-board-devel
%defattr(-,root,root)
%{_bindir}/tb-js-unit
%{_libdir}/libthe-board-1.0.so
%{_datadir}/gir-1.0/TheBoard-1.0.gir

%files lang -f the-board.lang

%changelog
openSUSE Build Service is sponsored by