resetting manifest requested domain to floor
[platform/upstream/lksctp-tools.git] / lksctp-tools.spec.in
1 # -*- rpm-spec -*-
2
3 # lksctp-tools.spec.in --- RPM'ed lksctp-tools
4 # Author          : Francois-Xavier Kowalski
5 # Created On      : Sat Jan 10 14:53:53 2004
6 # Last Modified By: Vlad Yasevich
7 # Last Modified On: Fri Mar  27 12:38:42 EDT 2009
8
9 #   (c) Copyright Hewlett-Packard Company 2004
10 #   (C) Copyright IBM Corp. 2004
11
12 #   This program is free software; you can redistribute it and/or
13 #   modify it under the terms of the GNU General Public
14 #   License v2 as published by the Free Software Foundation; only
15 #   version 2 of the License is valid for this software, unless
16 #   explicitly otherwise stated.
17
18 #   This software is distributed in the hope that it will be useful,
19 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
20 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 #   General Public License for more details.
22
23 #   You should have received a copy of the GNU General Public
24 #   License v2 along with this program; if not, write to the
25 #   Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
26 #   MA 02139, USA.
27
28 %define kernel_version 2.6.28
29 %define kernel_extraflags
30 %define lksctp_version @VERSION@
31
32 # older lksctp-tools file name did not conform to RPM file naming
33 # conventions
34
35 #%define pack_version %{kernel_version}_%{kernel_extraflags}_%{lksctp_version}
36 #%define file_version %{kernel_version}-%{kernel_extraflags}-%{lksctp_version}
37
38 %define pack_version %{lksctp_version}
39 %define file_version %{lksctp_version}
40
41 Summary: User-space access to Linux Kernel SCTP
42 Name: @PACKAGE@
43 Version: %{pack_version}
44 Release: 1
45 License: LGPL
46 Group: System Environment/Libraries
47 URL: http://lksctp.sourceforge.net
48 Source0: %{name}-%{file_version}.tar.gz
49 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
50 BuildRequires: gcc
51 #BuildRequires: tetex, tetex-latex, tetex-xdvi, tetex-dvips
52 #BuildRequires: ghostscript, enscript
53 BuildRequires: libtool, automake, autoconf
54
55 %description
56 This is the lksctp-tools package for Linux Kernel SCTP Reference
57 Implementation.
58
59 This package is intended to supplement the Linux Kernel SCTP Reference
60 Implementation now available in the Linux kernel source tree in
61 versions 2.5.36 and following.  For more information on LKSCTP see the
62 package documentation README file, section titled "LKSCTP - Linux
63 Kernel SCTP."
64
65 This package contains the base run-time library & command-line tools.
66
67 %package devel
68 Summary: Development kit for lksctp-tools
69 Group: Development/Libraries
70 Requires: %{name} = %{version}
71 Requires: glibc-devel
72
73 %description devel
74 Development kit for lksctp-tools
75
76 - Man pages
77 - Header files
78 - Static libraries
79 - Symlinks to dynamic libraries
80 - Tutorial source code
81
82 %package doc
83 Summary: Documents pertaining to SCTP
84 Group: System Environment/Libraries
85 Requires: %{name} = %{version}
86
87 %description doc
88 Documents pertaining to LKSCTP & SCTP in general
89 - IETF RFC's & Internet Drafts
90
91 %prep
92 %setup -q -n %{name}-%{file_version}
93
94 %build
95 %configure --enable-shared --enable-static
96 make
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 make install DESTDIR="$RPM_BUILD_ROOT"
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post
106 /sbin/ldconfig
107
108 %postun
109 /sbin/ldconfig
110
111 %files
112 %defattr(-,root,root,-)
113 %doc AUTHORS COPYING ChangeLog COPYING.lib
114 %{_bindir}/*
115 %{_libdir}/libsctp.so.*
116 %{_libdir}/@PACKAGE@/*
117
118 %files devel
119 %defattr(-,root,root,-)
120 %{_includedir}
121 %{_libdir}/libsctp.so
122 %{_libdir}/libsctp.a
123 %{_libdir}/libsctp.la
124 %{_datadir}/@PACKAGE@/*
125 %{_mandir}/*
126
127 %files doc
128 %defattr(-,root,root,-)
129 %doc doc/*.txt
130
131 %changelog
132 * Fri Mar 27 2009 Vlad Yasevich <vladislav.yasevich@hp.com> 1.0.10-1
133 - 1.0.10 Release
134
135 * Sun Jun 13 2008 Vlad Yasevich <vladislav.yasevich@hp.com> 1.0.9-1
136 - 1.0.9 Release
137
138 * Fri Feb 01 2008 Vlad Yasevich <vladislav.yasevich@hp.com> 1.0.8-1
139 - 1.0.8 Release
140
141 * Fri Jun 29 2007 Vlad Yasevich <vladislav.yasevich@hp.com> 1.0.7-1
142 - 1.0.7 Release
143
144 * Fri Feb 3 2006 Sridhar Samudrala <sri@us.ibm.com> 1.0.6-1
145 - 1.0.6 Release
146
147 * Tue Jan 3 2006 Sridhar Samudrala <sri@us.ibm.com> 1.0.5-1
148 - 1.0.5 Release
149  
150 * Fri Oct 28 2005 Sridhar Samudrala <sri@us.ibm.com> 1.0.4-1
151 - 1.0.4 Release
152  
153 * Thu Sep 1 2005 Sridhar Samudrala <sri@us.ibm.com> 1.0.3-1
154 - 1.0.3 Release
155  
156 * Thu Dec 30 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.2-1
157 - 1.0.2 Release
158  
159 * Tue May 11 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.1-1
160 - 1.0.1 Release
161  
162 * Thu Feb 26 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.0-1
163 - 1.0.0 Release
164  
165 * Fri Feb  6 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.9.0-1
166 - package only .txt doc files
167
168 * Wed Feb  4 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
169 - badly placed & undelivered files
170 - simplified delivery list
171
172 * Tue Jan 27 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
173 - Integrate comment from project team
174
175 * Sat Jan 10 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 2.6.0_test7_0.7.4-1
176 - Creation