~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to package/linux/.svn/text-base/simias.spec.autobuild.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# spec file for package simias (Version 1.5.@@BUILDNUM@@.1)
3
 
#
4
 
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
 
# This file and all modifications and additions to the pristine
6
 
# package are under the same license as the package itself.
7
 
#
8
 
# Please submit bugfixes or comments via http://bugs.opensuse.org
9
 
#
10
 
# norootforbuild
11
 
 
12
 
BuildRequires: libstdc++-devel libstdc++ compat-libstdc++ gcc-c++ mono-devel mono-core mono-data mono-web pkgconfig libxml2 libxml2-devel glib2 glib2-devel e2fsprogs e2fsprogs-devel libflaim libflaim-devel xsp 
13
 
 
14
 
Name:         simias
15
 
%define buildnum @@BUILDNUM@@
16
 
URL:          http://www.ifolder.com
17
 
%define prefix /opt/novell/ifolder3
18
 
%define sysconfdir %{prefix}/etc
19
 
License:      GPL
20
 
Group:        System/Libraries
21
 
Autoreqprov:  on
22
 
Requires:     mono-core >= 1.1.13
23
 
Requires:     mono-data >= 1.1.13
24
 
Requires:     mono-web >= 1.1.13
25
 
Requires:     xsp >= 1.1.18
26
 
Obsoletes:    %{name} < %{version}
27
 
Version:      1.5.@@BUILDNUM@@.1
28
 
Release:      1
29
 
Summary:      Collection-Oriented Data Storage
30
 
Source:       simias-1.5.%{buildnum}.1.tar.gz
31
 
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
32
 
#=============================================================================
33
 
 
34
 
%description
35
 
Simias is a technology that will allow various types of data to be
36
 
stored and related in what is known as a collection.  Initially Simias
37
 
is the underlying data store for the iFolder project, although it has
38
 
potential to do much more.
39
 
 
40
 
%prep
41
 
export BUILDNUM=%{buildnum}
42
 
%setup -n %{name}-%{version}
43
 
#=============================================================================
44
 
 
45
 
%build
46
 
export BUILDNUM=%{buildnum}
47
 
./autogen.sh --prefix=%{prefix} --with-runasclient
48
 
rm tools/gsoap/linux-2.7/soapcpp2
49
 
rm tools/gsoap/linux-2.7/wsdl2h
50
 
pushd tools/gsoap/linux-2.7
51
 
        cd src
52
 
                make COFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
53
 
                cp soapcpp2 ..
54
 
        cd ..
55
 
        cp -a ../macosx-2*/wsdl .
56
 
        cd wsdl
57
 
                make COFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
58
 
        cd ..
59
 
popd
60
 
make
61
 
make dist
62
 
#=============================================================================
63
 
 
64
 
%install
65
 
export BUILDNUM=%{buildnum}
66
 
%{__rm} -rf $RPM_BUILD_ROOT
67
 
make DESTDIR=$RPM_BUILD_ROOT install
68
 
#=============================================================================
69
 
 
70
 
%clean
71
 
%{__rm} -rf $RPM_BUILD_ROOT
72
 
#=============================================================================
73
 
 
74
 
%post
75
 
INSTANCES_AFTER_INSTALL=$1
76
 
if [ "$INSTANCES_AFTER_INSTALL" = "1" ]; then
77
 
        if [ -d "/etc/simias" ]; then
78
 
        rm -rf /etc/simias
79
 
        fi
80
 
fi
81
 
 
82
 
if [ "$INSTANCES_AFTER_INSTALL" = "2" ]; then
83
 
        if [ -e {%prefix}/web/web.config ]; then
84
 
                mv {%prefix}/web/web.config {%prefix}/lib/simias/web/
85
 
        fi
86
 
fi
87
 
#=============================================================================
88
 
 
89
 
%postun
90
 
#=============================================================================
91
 
 
92
 
%files
93
 
%attr(755,root,root) %dir %{prefix}
94
 
%attr(755,root,root) %dir /opt/novell
95
 
%defattr(755,root,root)
96
 
%dir %{prefix}/bin
97
 
%{prefix}/bin/*
98
 
%dir %{prefix}/etc
99
 
%dir %{prefix}/etc/simias
100
 
%{prefix}/etc/simias/Simias.config
101
 
%{prefix}/etc/simias/Simias.log4net
102
 
%{prefix}/etc/simias/defaults.config
103
 
%dir %{prefix}/include
104
 
%{prefix}/include/*
105
 
%dir %{prefix}/lib
106
 
%{prefix}/lib/*
107
 
%dir %{prefix}/share
108
 
%{prefix}/share/*
109
 
#%config(noreplace) %{prefix}/web/web.config
110
 
 
111
 
%changelog -n simias
112
 
* Mon Mar 06 2006 - btimothy@novell.com
113
 
- added more conditionals to the post section
114
 
- to prevent install errors [#141279]
115
 
* Thu Mar 02 2006 - btimothy@novell.com
116
 
- changed Obsoletes line so the package doesn't
117
 
- obsolete itself [#143297]
118
 
* Wed Jan 25 2006 - mls@suse.de
119
 
- converted neededforbuild to BuildRequires
120
 
* Wed Jan 18 2006 - cgaisford@suse.de
121
 
- Updated packaage from ifolder_3_4 branch.
122
 
* Mon Jan 09 2006 - gekker@suse.de
123
 
- Fix to build against new mono version 1.1.13
124
 
* Thu Dec 15 2005 - calvin@novell.com
125
 
- updated package from ifolder_3_4 branch.  Removed patches that
126
 
- have been incorporated into the code.
127
 
* Mon Nov 28 2005 - ro@suse.de
128
 
- fix some utf-8 spaces to real space chars in IAuthService.cs
129
 
- update to simias-1.1.5250.1
130
 
* Thu Nov 10 2005 - ro@suse.de
131
 
- remove extra qualifications to fix build with gcc-4.1
132
 
* Thu Sep 29 2005 - dmueller@suse.de
133
 
- add norootforbuild
134
 
* Fri Sep 09 2005 - aj@suse.de
135
 
- Update check-build.sh.
136
 
* Thu Sep 01 2005 - jbell@novell.com
137
 
- completely re-worked the .spec file and updated the source to include all simias1.1 functionality
138
 
* Tue Aug 23 2005 - ro@suse.de
139
 
- added check-build.sh
140
 
* Tue Aug 16 2005 - nadvornik@suse.cz
141
 
- changed prefix to /usr/lib/ifolder3 [#104474]
142
 
* Fri Aug 05 2005 - nadvornik@suse.cz
143
 
- updated to 1.0.20050608
144
 
* Wed Feb 16 2005 - adrian@suse.de
145
 
- and remove even another copy of sqlite
146
 
- add requires to libsqlite.so.0
147
 
* Tue Feb 15 2005 - nadvornik@suse.cz
148
 
- updated to snapshot 1.0.20050208
149
 
* Wed Feb 09 2005 - ro@suse.de
150
 
- update to cvs
151
 
* Wed Jan 12 2005 - coolo@suse.de
152
 
- removed another sqlite2 copy
153
 
* Tue Nov 30 2004 - ro@suse.de
154
 
- use sqlite2 packages for now
155
 
* Wed Jul 14 2004 - clahey@suse.de
156
 
- Updated to 0.10.20040708.
157
 
* Tue Jun 29 2004 - ro@suse.de
158
 
- use rpm scripts for find requires/provides
159
 
* Tue Jun 22 2004 - clahey@suse.de
160
 
- Upgraded to new snapshot.
161
 
* Fri Jun 04 2004 - clahey@suse.de
162
 
- Upgraded to new snapshot.
163
 
* Thu Jun 03 2004 - ro@suse.de
164
 
- removed libsqlite.so to avoid clash with system library
165
 
- package is i386 only (too much binary stuff ...)
166
 
* Thu May 27 2004 - ro@suse.de
167
 
- added libicu26 to neededforbuild
168
 
* Wed May 26 2004 - clahey@suse.de
169
 
- Initial import.