~ubuntu-branches/ubuntu/saucy/zeromq3/saucy

« back to all changes in this revision

Viewing changes to zeromq.spec

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-06-04 21:21:09 UTC
  • Revision ID: package-import@ubuntu.com-20120604212109-b7b3m0rn21o8oo2q
Tags: upstream-3.1.0~beta+dfsg
ImportĀ upstreamĀ versionĀ 3.1.0~beta+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name:          zeromq
 
2
Version:       3.1.0
 
3
Release:       1%{?dist}
 
4
Summary:       The ZeroMQ messaging library
 
5
Group:         Applications/Internet
 
6
License:       LGPLv3+
 
7
URL:           http://www.zeromq.org/
 
8
Source:        http://download.zeromq.org/%{name}-%{version}.tar.gz
 
9
Prefix:        %{_prefix}
 
10
Buildroot:     %{_tmppath}/%{name}-%{version}-%{release}-root
 
11
BuildRequires: gcc, make, gcc-c++, libstdc++-devel
 
12
Requires:      libstdc++
 
13
 
 
14
%if %{?rhel}%{!?rhel:0} >= 6
 
15
BuildRequires: libuuid-devel
 
16
Requires:      libuuid
 
17
%elseif %{?rhel}%{!?rhel:0} >= 5
 
18
BuildRequires: e2fsprogs-devel
 
19
Requires:      e2fsprogs
 
20
%else
 
21
BuildRequires: uuid-devel
 
22
Requires:      uuid
 
23
%endif
 
24
 
 
25
# Build pgm only on supported archs
 
26
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
 
27
BuildRequires: python, perl
 
28
%endif
 
29
 
 
30
%description
 
31
The 0MQ lightweight messaging kernel is a library which extends the
 
32
standard socket interfaces with features traditionally provided by
 
33
specialised messaging middleware products. 0MQ sockets provide an
 
34
abstraction of asynchronous message queues, multiple messaging
 
35
patterns, message filtering (subscriptions), seamless access to
 
36
multiple transport protocols and more.
 
37
 
 
38
This package contains the ZeroMQ shared library.
 
39
 
 
40
%package devel
 
41
Summary:  Development files and static library for the ZeroMQ library
 
42
Group:    Development/Libraries
 
43
Requires: %{name} = %{version}-%{release}, pkgconfig
 
44
 
 
45
%description devel
 
46
The 0MQ lightweight messaging kernel is a library which extends the
 
47
standard socket interfaces with features traditionally provided by
 
48
specialised messaging middleware products. 0MQ sockets provide an
 
49
abstraction of asynchronous message queues, multiple messaging
 
50
patterns, message filtering (subscriptions), seamless access to
 
51
multiple transport protocols and more.
 
52
 
 
53
This package contains ZeroMQ related development libraries and header files.
 
54
 
 
55
%prep
 
56
%setup -q
 
57
 
 
58
%build
 
59
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
 
60
  %configure --with-pgm
 
61
%else
 
62
  %configure
 
63
%endif
 
64
 
 
65
%{__make} %{?_smp_mflags}
 
66
 
 
67
%install
 
68
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
 
69
 
 
70
# Install the package to build area
 
71
%{__make} check
 
72
%makeinstall
 
73
 
 
74
%post
 
75
/sbin/ldconfig
 
76
 
 
77
%postun
 
78
/sbin/ldconfig
 
79
 
 
80
%clean
 
81
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
 
82
 
 
83
%files
 
84
%defattr(-,root,root,-)
 
85
 
 
86
# docs in the main package
 
87
%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
 
88
 
 
89
# libraries
 
90
%{_libdir}/libzmq.so.1
 
91
%{_libdir}/libzmq.so.1.0.0
 
92
 
 
93
%{_mandir}/man7/zmq.7.gz
 
94
 
 
95
%files devel
 
96
%defattr(-,root,root,-)
 
97
%{_includedir}/zmq.h
 
98
%{_includedir}/zmq_utils.h
 
99
 
 
100
%{_libdir}/libzmq.la
 
101
%{_libdir}/libzmq.a
 
102
%{_libdir}/pkgconfig/libzmq.pc
 
103
%{_libdir}/libzmq.so
 
104
 
 
105
%{_mandir}/man3/zmq_bind.3.gz
 
106
%{_mandir}/man3/zmq_close.3.gz
 
107
%{_mandir}/man3/zmq_connect.3.gz
 
108
%{_mandir}/man3/zmq_errno.3.gz
 
109
%{_mandir}/man3/zmq_getsockopt.3.gz
 
110
%{_mandir}/man3/zmq_init.3.gz
 
111
%{_mandir}/man3/zmq_msg_close.3.gz
 
112
%{_mandir}/man3/zmq_msg_copy.3.gz
 
113
%{_mandir}/man3/zmq_msg_data.3.gz
 
114
%{_mandir}/man3/zmq_msg_init.3.gz
 
115
%{_mandir}/man3/zmq_msg_init_data.3.gz
 
116
%{_mandir}/man3/zmq_msg_init_size.3.gz
 
117
%{_mandir}/man3/zmq_msg_move.3.gz
 
118
%{_mandir}/man3/zmq_msg_size.3.gz
 
119
%{_mandir}/man3/zmq_poll.3.gz
 
120
%{_mandir}/man3/zmq_recv.3.gz
 
121
%{_mandir}/man3/zmq_recvmsg.3.gz
 
122
%{_mandir}/man3/zmq_send.3.gz
 
123
%{_mandir}/man3/zmq_sendmsg.3.gz
 
124
%{_mandir}/man3/zmq_setsockopt.3.gz
 
125
%{_mandir}/man3/zmq_socket.3.gz
 
126
%{_mandir}/man3/zmq_strerror.3.gz
 
127
%{_mandir}/man3/zmq_term.3.gz
 
128
%{_mandir}/man3/zmq_version.3.gz
 
129
%{_mandir}/man7/zmq_epgm.7.gz
 
130
%{_mandir}/man7/zmq_inproc.7.gz
 
131
%{_mandir}/man7/zmq_ipc.7.gz
 
132
%{_mandir}/man7/zmq_pgm.7.gz
 
133
%{_mandir}/man7/zmq_tcp.7.gz
 
134
 
 
135
%changelog
 
136
* Fri Apr 8 2011 Mikko Koppanen <mikko@kuut.io> 3.0.0-1
 
137
- Update dependencies and packaged files
 
138
 
 
139
* Sat Apr 10 2010 Mikko Koppanen <mkoppanen@php.net> 2.0.7-1
 
140
- Initial packaging