Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.4
simias
simias.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File simias.spec of Package simias
# # spec file for package simias (Version 1.8.3.10090.1) # # 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: simias BuildRequires: bison dos2unix e2fsprogs e2fsprogs-devel flex gcc-c++ gconf2 glib2 glib2-devel libflaim libflaim-devel libxml2 libxml2-devel log4net mono-core mono-data mono-devel mono-web ncurses-devel pkgconfig xsp %define buildnum 10090 Url: http://www.ifolder.com %define prefix /usr %define sysconfdir /etc License: GPLv2 Group: System/Libraries AutoReqProv: on Requires: mono-core >= 1.2.2 Requires: mono-data >= 1.2.2 Requires: mono-web >= 1.2.2 Requires: log4net >= 1.2.9 Requires: xsp >= 1.2.5 #Obsoletes: %{name} < 1.8.2.10090.1 Version: 1.8.3.10090.1 Release: 5 Summary: Collection-Oriented Data Storage Source: simias.tar.gz Patch: simias-lib64.patch Patch1: simias-libflaim.patch Patch2: simias-buildfix.patch Patch3: simias-make.patch Patch4: simias-warnings.patch Patch5: simias-ext.patch Patch6: simias-WebServer2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build #============================================================================= %description Simias is a technology that will allow various types of data to be stored and related in what is known as a collection. Initially Simias is the underlying data store for the iFolder project, although it has potential to do much more. %if 0%{suse_version} > 1120 %package devel License: GPLv2 Summary: Development files for simias Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel Development files for simias. Simias is a technology that will allow various types of data to be stored and related in what is known as a collection. Initially Simias is the underlying data store for the iFolder project, although it has potential to do much more. %endif %prep export BUILDNUM=%{buildnum} %setup -q -n %{name} %patch %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 #============================================================================= %build export SUSE_ASNEEDED=0 export BUILDNUM=%{buildnum} export LIBDIR=%{_lib} export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./autogen.sh --prefix=%{prefix} --with-runasclient --sysconfdir=%{sysconfdir} rm dependencies/external/tools/gsoap/linux-2.7/soapcpp2 rm dependencies/external/tools/gsoap/linux-2.7/wsdl2h pushd dependencies/external/tools/gsoap/linux-2.7 cd src make -f MakefileMacOSX COFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" LIBS="" cp soapcpp2 .. cd .. cd wsdl make -f MakefileSolaris COFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" LIBS="-lnsl" cd .. popd make #make dist #============================================================================= %install export BUILDNUM=%{buildnum} make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT/%{prefix}/* -type f | xargs chmod 644 find $RPM_BUILD_ROOT/%{prefix}/* -type d | xargs chmod 755 chmod a+x $RPM_BUILD_ROOT/%{prefix}/%_lib/simias/web/bin/ifdata mv $RPM_BUILD_ROOT/%{_bindir}/SimiasDirectoryMapping $RPM_BUILD_ROOT/%{sysconfdir}/simias # COPYING goes to usr/src/packages/simias rm -rf $RPM_BUILD_ROOT/%{prefix}/share/simias/ #============================================================================= %clean %{__rm} -rf $RPM_BUILD_ROOT #============================================================================= %preun if [ -d %{prefix}/%_lib/simias/web/bin/\$\{HOME\}/ ] then rm -rf %{prefix}/%_lib/simias/web/bin/\$\{HOME\}/ fi if [ -d %{prefix}/%_lib/simias/web/bin/\$\{APPDATA\}/ ] then rm -rf %{prefix}/%_lib/simias/web/bin/\$\{APPDATA\}/ fi %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING %attr(755,root,root) %{prefix}/bin/* %dir %{sysconfdir}/simias %attr(644,root,root) %config %{sysconfdir}/simias/Simias.config %attr(644,root,root) %config %{sysconfdir}/simias/Simias.log4net %attr(644,root,root) %config %{sysconfdir}/simias/defaults.config %attr(644,root,root) %config %{sysconfdir}/simias/SimiasDirectoryMapping %{prefix}/%_lib/libFlaimWrapper.so %{prefix}/%_lib/libFlaimWrapper.so.0 %{prefix}/%_lib/libFlaimWrapper.so.0.0.0 %{prefix}/%_lib/libsimias-event.so %{prefix}/%_lib/libsimias-event.so.0 %{prefix}/%_lib/libsimias-event.so.0.0.0 %{prefix}/%_lib/libsimias-manager.so.0 %{prefix}/%_lib/libsimias-manager.so.0.0.0 %{prefix}/%_lib/libsimias.so %{prefix}/%_lib/libsimias.so.0 %{prefix}/%_lib/libsimias.so.0.0.0 %dir %{prefix}/%_lib/simias %{prefix}/%_lib/simias/* %if 0%{suse_version} > 01120 %files devel %defattr(-,root,root) %endif %{prefix}/%_lib/libFlaimWrapper.so %{prefix}/%_lib/libsimias-event.so %{prefix}/%_lib/libsimias-manager.so %{prefix}/%_lib/libsimias.so %{prefix}/%_lib/pkgconfig/* %dir %{prefix}/include/simias/ %{prefix}/include/simias/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor