]>
Commit | Line | Data |
---|---|---|
5f443e50 MB |
1 | Summary: Easy Publish and Consume library |
2 | Name: libepc | |
66d83c12 | 3 | Version: 0.3.10 |
79032339 | 4 | Release: 2 |
5f443e50 MB |
5 | License: LGPL v2+ |
6 | Group: Libraries | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libepc/0.3/%{name}-%{version}.tar.bz2 | |
66d83c12 | 8 | # Source0-md5: d5c07dd755305ccdbda9c2b4a2a95d33 |
5f443e50 MB |
9 | URL: http://live.gnome.org/libepc |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: avahi-glib-devel | |
13 | BuildRequires: avahi-ui-devel | |
b22055ac | 14 | BuildRequires: docbook-dtd412-xml |
5f443e50 | 15 | BuildRequires: gettext-devel |
01c2fe54 | 16 | BuildRequires: glib2-devel >= 1:2.16.0 |
5f443e50 | 17 | BuildRequires: gnome-common >= 2.20.0 |
75da6f2e | 18 | BuildRequires: gnutls-devel |
5f443e50 | 19 | BuildRequires: gtk+2-devel >= 2:2.12.8 |
75da6f2e | 20 | BuildRequires: gtk-doc >= 1.4 |
5f443e50 | 21 | BuildRequires: intltool >= 0.36.0 |
01c2fe54 | 22 | BuildRequires: libsoup-devel >= 2.4.0 |
5f443e50 MB |
23 | BuildRequires: libtool |
24 | BuildRequires: libuuid-devel >= 1.36 | |
25 | BuildRequires: pkgconfig >= 1:0.14 | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | The Easy Publish and Consume library provides an easy method to: | |
30 | - publish data using HTTPS | |
31 | - announce that information via DNS-SD | |
32 | - find that information | |
33 | - and finally consume it | |
34 | ||
35 | This library can be used as key/value store published to the network, | |
36 | using encryption, authentication and service discovery. | |
37 | ||
38 | %package devel | |
39 | Summary: Header files for libepc library | |
40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libepc | |
41 | Group: Development/Libraries | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | Requires: avahi-glib-devel | |
01c2fe54 | 44 | Requires: libsoup-devel >= 2.4.0 |
5f443e50 MB |
45 | |
46 | %description devel | |
47 | Header files for libepc library. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Pliki nagłówkowe biblioteki libepc. | |
51 | ||
52 | %package static | |
53 | Summary: Static libepc library | |
54 | Summary(pl.UTF-8): Statyczna biblioteka libepc | |
55 | Group: Development/Libraries | |
56 | Requires: %{name}-devel = %{version}-%{release} | |
57 | ||
58 | %description static | |
59 | Static libepc library. | |
60 | ||
61 | %description static -l pl.UTF-8 | |
62 | Statyczna biblioteka libepc. | |
63 | ||
64 | %package ui | |
65 | Summary: Widgets for libepc | |
66 | Group: X11/Libraries | |
67 | Requires: %{name} = %{version}-%{release} | |
68 | ||
69 | %description ui | |
70 | Widgets for use with libepc. | |
71 | ||
72 | %package ui-devel | |
73 | Summary: Header files for libepc-ui library | |
74 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libepc-ui | |
75 | Group: X11/Development/Libraries | |
76 | Requires: %{name}-devel = %{version}-%{release} | |
77 | Requires: %{name}-ui = %{version}-%{release} | |
78 | Requires: gtk+2-devel >= 2:2.12.8 | |
79 | ||
80 | %description ui-devel | |
81 | Header files for libepc-ui library. | |
82 | ||
83 | %description ui-devel -l pl.UTF-8 | |
84 | Pliki nagłówkowe biblioteki libepc-ui. | |
85 | ||
86 | %package ui-static | |
87 | Summary: Static libepc-ui library | |
88 | Summary(pl.UTF-8): Statyczna biblioteka libepc-ui | |
89 | Group: X11/Development/Libraries | |
90 | Requires: %{name}-ui-devel = %{version}-%{release} | |
91 | ||
92 | %description ui-static | |
93 | Static libepc-ui library. | |
94 | ||
95 | %description ui-static -l pl.UTF-8 | |
96 | Statyczna biblioteka libepc-ui. | |
97 | ||
98 | %package apidocs | |
99 | Summary: libepc library API documentation | |
100 | Summary(pl.UTF-8): Dokumentacja API biblioteki libepc | |
101 | Group: Documentation | |
102 | Requires: gtk-doc-common | |
103 | ||
104 | %description apidocs | |
105 | libepc library API documentation. | |
106 | ||
107 | %description apidocs -l pl.UTF-8 | |
108 | Dokumentacja API biblioteki libepc. | |
109 | ||
110 | %package examples | |
111 | Summary: libepc - example programs | |
112 | Summary(pl.UTF-8): libepc - przykładowe programy | |
113 | License: Public Domain | |
114 | Group: Development/Libraries | |
115 | ||
116 | %description examples | |
117 | libepc - example programs. | |
118 | ||
119 | %description examples -l pl.UTF-8 | |
120 | libepc - przykładowe programy. | |
121 | ||
122 | %prep | |
123 | %setup -q | |
124 | ||
125 | %build | |
7997ec0b | 126 | %{__gtkdocize} |
5f443e50 MB |
127 | %{__intltoolize} |
128 | %{__libtoolize} | |
129 | %{__aclocal} | |
130 | %{__autoconf} | |
131 | %{__autoheader} | |
132 | %{__automake} | |
133 | %configure \ | |
134 | --enable-gtk-doc \ | |
135 | --with-html-dir=%{_gtkdocdir} | |
136 | ||
75da6f2e | 137 | %{__make} |
5f443e50 MB |
138 | |
139 | %install | |
140 | rm -rf $RPM_BUILD_ROOT | |
141 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
142 | ||
143 | %{__make} install \ | |
144 | DESTDIR=$RPM_BUILD_ROOT | |
145 | ||
146 | cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
147 | ||
148 | %find_lang %{name} | |
149 | ||
150 | %clean | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | ||
153 | %post -p /sbin/ldconfig | |
154 | %postun -p /sbin/ldconfig | |
155 | ||
156 | %files -f %{name}.lang | |
157 | %defattr(644,root,root,755) | |
158 | %doc AUTHORS ChangeLog NEWS README | |
159 | %attr(755,root,root) %{_libdir}/libepc-1.0.so.*.*.* | |
8538b044 | 160 | %attr(755,root,root) %ghost %{_libdir}/libepc-1.0.so.2 |
5f443e50 MB |
161 | |
162 | %files devel | |
163 | %defattr(644,root,root,755) | |
164 | %attr(755,root,root) %{_libdir}/libepc-1.0.so | |
165 | %{_libdir}/libepc-1.0.la | |
166 | %{_includedir}/libepc-1.0 | |
167 | %{_pkgconfigdir}/libepc-1.0.pc | |
168 | ||
169 | %files static | |
170 | %defattr(644,root,root,755) | |
171 | %{_libdir}/libepc-1.0.a | |
172 | ||
173 | %files ui | |
174 | %defattr(644,root,root,755) | |
175 | %attr(755,root,root) %{_libdir}/libepc-ui-1.0.so.*.*.* | |
8538b044 | 176 | %attr(755,root,root) %ghost %{_libdir}/libepc-ui-1.0.so.2 |
5f443e50 MB |
177 | |
178 | %files ui-devel | |
179 | %defattr(644,root,root,755) | |
180 | %attr(755,root,root) %{_libdir}/libepc-ui-1.0.so | |
181 | %{_libdir}/libepc-ui-1.0.la | |
182 | %{_includedir}/libepc-ui-1.0 | |
183 | %{_pkgconfigdir}/libepc-ui-1.0.pc | |
184 | ||
185 | %files ui-static | |
186 | %defattr(644,root,root,755) | |
187 | %{_libdir}/libepc-ui-1.0.a | |
188 | ||
189 | %files apidocs | |
190 | %defattr(644,root,root,755) | |
191 | %{_gtkdocdir}/libepc-1.0 | |
192 | ||
193 | %files examples | |
194 | %defattr(644,root,root,755) | |
195 | %{_examplesdir}/%{name}-%{version} |