/[packages]/cauldron/zeromq/current/SPECS/zeromq.spec
ViewVC logotype

Contents of /cauldron/zeromq/current/SPECS/zeromq.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 85568 - (show annotations) (download)
Thu Apr 14 23:34:27 2011 UTC (13 years ago) by dams
File size: 2811 byte(s)
SILENT Make lib package obsolete zeromq-utils
1 %define name zeromq
2 %define version 2.1.4
3 %define release %mkrel 3
4
5 %define libname_orig lib%{name}
6 %define major 1
7 %define libname %mklibname %{name} %{major}
8 %define develname %mklibname %{name} -d
9
10 Summary: Software library for fast, message-based applications
11 Name: %{name}
12 Version: %{version}
13 Release: %{release}
14 Source0: http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz
15 License: LGPLv3+
16 Group: Development/Other
17 Url: http://www.zeromq.org
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
19 BuildRequires: glib2-devel
20 BuildRequires: libuuid-devel
21 BuildRequires: python
22
23 %description
24 The 0MQ lightweight messaging kernel is a library which extends the
25 standard socket interfaces with features traditionally provided by
26 specialized messaging middle-ware products. 0MQ sockets provide an
27 abstraction of asynchronous message queues, multiple messaging
28 patterns, message filtering (subscriptions), seamless access to
29 multiple transport protocols and more.
30
31 %package -n %{libname}
32 Summary: Software library for fast, message-based applications
33 Group: System/Libraries
34 Provides: %{libname_orig} = %{version}-%{release}
35 Obsoletes: %{name}-utils
36
37 %description -n %{libname}
38 The 0MQ lightweight messaging kernel is a library which extends the
39 standard socket interfaces with features traditionally provided by
40 specialized messaging middle-ware products. 0MQ sockets provide an
41 abstraction of asynchronous message queues, multiple messaging
42 patterns, message filtering (subscriptions), seamless access to
43 multiple transport protocols and more.
44
45 This package contains the ${name} shared library.
46
47 %package -n %{develname}
48 Summary: Development files for %{name}
49 Group: Development/C
50 Requires: %{libname} = %{version}-%{release}
51 Provides: %{name}-devel = %{version}-%{release}
52 Provides: %{libname_orig}-devel = %{version}-%{release}
53
54 %description -n %{develname}
55 The 0MQ lightweight messaging kernel is a library which extends the
56 standard socket interfaces with features traditionally provided by
57 specialized messaging middle-ware products. 0MQ sockets provide an
58 abstraction of asynchronous message queues, multiple messaging
59 patterns, message filtering (subscriptions), seamless access to
60 multiple transport protocols and more.
61
62 This package contains the libraries and header files needed to develop
63 applications that use %{name}.
64
65 %prep
66 %setup -q
67
68 %build
69 %configure2_5x
70 %make
71
72 %install
73 %__rm -rf %{buildroot}
74 %makeinstall
75
76 %clean
77 %__rm -rf %{buildroot}
78
79 %files -n %{libname}
80 %defattr(-,root,root)
81 %doc AUTHORS ChangeLog COPYING* NEWS README
82 %{_libdir}/libzmq.so.*
83
84 %files -n %{develname}
85 %defattr(-,root,root)
86 %{_libdir}/libzmq.a
87 %{_libdir}/libzmq.la
88 %{_libdir}/libzmq.so
89 %{_libdir}/pkgconfig/libzmq.pc
90 %{_includedir}/zmq*
91 %{_mandir}/man3/zmq*
92 %{_mandir}/man7/zmq*

  ViewVC Help
Powered by ViewVC 1.1.30