1 | Summary: A library implementing the SSH2 protocol |
---|
2 | Summary(ja): SSH2 プロトコルを実装するためのライブラリ |
---|
3 | Name: libssh2 |
---|
4 | Version: 1.2.7 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: BSD |
---|
9 | URL: http://www.libssh2.org/ |
---|
10 | Source0: http://downloads.sourceforge.net/libssh2/%{name}-%{version}.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | BuildRequires: openssl-devel |
---|
14 | BuildRequires: zlib-devel |
---|
15 | |
---|
16 | %description |
---|
17 | libssh2 is a library implementing the SSH2 protocol as defined by |
---|
18 | Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), |
---|
19 | SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, |
---|
20 | SECSH-DHGEX(04), and SECSH-NUMBERS(10). |
---|
21 | |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development files for %{name} |
---|
25 | Summary(ja): %{name} の開発ファイル |
---|
26 | Group: Development/Libraries |
---|
27 | Requires: %{name} = %{version}-%{release} |
---|
28 | |
---|
29 | %description devel |
---|
30 | The %{name}-devel package contains libraries and header files for |
---|
31 | developing applications that use %{name}. |
---|
32 | |
---|
33 | %package docs |
---|
34 | Summary: Documentation for %{name} |
---|
35 | Summary(ja): %{name} のドキュメント |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | |
---|
39 | %description docs |
---|
40 | The %{name}-docs package contains man pages and examples for |
---|
41 | developing applications that use %{name}. |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q |
---|
46 | |
---|
47 | # make sure things are UTF-8... |
---|
48 | for i in ChangeLog NEWS ; do |
---|
49 | iconv --from=ISO-8859-1 --to=UTF-8 $i > new |
---|
50 | mv new $i |
---|
51 | done |
---|
52 | |
---|
53 | %build |
---|
54 | %configure --disable-static --enable-shared |
---|
55 | |
---|
56 | make %{?_smp_mflags} |
---|
57 | |
---|
58 | |
---|
59 | %install |
---|
60 | rm -rf %{buildroot} |
---|
61 | |
---|
62 | make install DESTDIR=%{buildroot} INSTALL="install -p" |
---|
63 | find %{buildroot} -name '*.la' -exec rm -f {} + |
---|
64 | |
---|
65 | # clean things up a bit for packaging |
---|
66 | ( cd example && make clean ) |
---|
67 | rm -rf example/simple/.deps |
---|
68 | find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} + |
---|
69 | |
---|
70 | %check |
---|
71 | (cd tests && make check) |
---|
72 | |
---|
73 | %clean |
---|
74 | rm -rf %{buildroot} |
---|
75 | |
---|
76 | |
---|
77 | %post -p /sbin/ldconfig |
---|
78 | |
---|
79 | %postun -p /sbin/ldconfig |
---|
80 | |
---|
81 | |
---|
82 | %files |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc AUTHORS ChangeLog COPYING README NEWS |
---|
85 | %{_libdir}/*.so.* |
---|
86 | |
---|
87 | %files docs |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %doc COPYING HACKING example/ |
---|
90 | %{_mandir}/man?/* |
---|
91 | |
---|
92 | %files devel |
---|
93 | %defattr(-,root,root,-) |
---|
94 | %doc COPYING |
---|
95 | %{_includedir}/* |
---|
96 | %{_libdir}/*.so |
---|
97 | %{_libdir}/pkgconfig/libssh2.pc |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.7-1 |
---|
101 | - new upstream release |
---|
102 | - fix %%files |
---|
103 | |
---|
104 | * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1 |
---|
105 | - initial build for Vine Linux |
---|
106 | |
---|
107 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0-4 |
---|
108 | - rebuilt with new openssl |
---|
109 | |
---|
110 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
112 | |
---|
113 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
115 | |
---|
116 | * Mon Feb 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-1 |
---|
117 | - update to 1.0 |
---|
118 | |
---|
119 | * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.18-8 |
---|
120 | - rebuild with new openssl |
---|
121 | |
---|
122 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-7 |
---|
123 | - Autorebuild for GCC 4.3 |
---|
124 | |
---|
125 | * Wed Dec 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-6 |
---|
126 | - rebuild for new openssl... |
---|
127 | |
---|
128 | * Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-5 |
---|
129 | - bump |
---|
130 | |
---|
131 | * Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-4 |
---|
132 | - add INSTALL arg to make install vs env. var |
---|
133 | |
---|
134 | * Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-3 |
---|
135 | - run tests; don't package test |
---|
136 | |
---|
137 | * Sun Nov 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-2 |
---|
138 | - split docs into -docs (they seemed... large.) |
---|
139 | |
---|
140 | * Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1 |
---|
141 | - update to 0.18 |
---|
142 | |
---|
143 | * Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1 |
---|
144 | - update to 0.17 |
---|
145 | - many spec file changes |
---|
146 | |
---|
147 | * Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.2.20070506 |
---|
148 | - Fix release tag |
---|
149 | - Move manpages to -devel package |
---|
150 | - Add Examples dir to -devel package |
---|
151 | |
---|
152 | * Sun May 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.20070506.1 |
---|
153 | - Initial build |
---|