File novell-ifolder-client-plugins.spec of Package novell-ifolder-client-plugins

#
# spec file for package novell-ifolder-client-plugins (Version 3.8.0.10264.3)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           novell-ifolder-client-plugins

BuildRequires:  aspell-en cairo cairo-devel e2fsprogs-devel gcc-c++ gnutls-devel gtk-sharp2 gtk-sharp2-complete gtk2 gtk2-devel ifolder3 libflaim libflaim-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libpng-devel libwnck-devel log4net mDNSResponder mono-core mono-data mono-devel mono-web pango pango-devel simias xsp
%if 0%{suse_version} > 1120
BuildRequires:  ifolder3-devel
%endif

%define buildnum 10091

Url:            http://www.ifolder.com
%define prefix /usr
%define sysconfdir /etc
License:        GPLv2
Group:          System/GUI/Other
AutoReqProv:    on
Requires:       simias >= 1.8.3
Requires:       ifolder3 >= 3.8.0
Requires:       gconf-sharp2
Requires:       gnome-sharp2
Requires:       gtk-sharp2
Requires:       xsp >= 1.2.5
#Obsoletes:      %{name} < %{version}
Version:        3.8.0.10264.3
Release:        1
Summary:        Plugins adding additional capability to iFolder 3 client
Source:         %{name}.tar.gz
Patch:          novell-ifolder-client-plugins-lib64.patch
Patch1:         novell-ifolder-client-plugins-buildfix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#=============================================================================

%description
Plugins adding additional capability to iFolder 3 client

%prep
export BUILDNUM=%{buildnum}
%setup -n %{name} -q
%patch
%patch1
#=============================================================================

%build
export BUILDNUM=%{buildnum}
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./autogen.sh --prefix=%{prefix} --with-clientplugins
make
#make dist
#=============================================================================

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{prefix}/share/plugins/COPYING
#=============================================================================

%files
%defattr(644,root,root, 755)
%doc COPYING
%dir %{prefix}/%_lib/plugins/
%dir %{prefix}/share/plugins/
%attr(755,root,root) %{prefix}/%_lib/plugins/*
%attr(755,root,root) %{prefix}/bin/AutoAccount.xsd
%attr(755,root,root) %{prefix}/bin/AutoAccount.xml

%changelog
openSUSE Build Service is sponsored by