]>
Commit | Line | Data |
---|---|---|
5f443e50 MB |
1 | Summary: Easy Publish and Consume library |
2 | Name: libepc | |
c4a33e59 | 3 | Version: 0.3.11 |
4afed607 | 4 | Release: 3 |
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 | |
c4a33e59 | 8 | # Source0-md5: b0d63bf93c28a17ed84edd0eacc9781a |
5f443e50 | 9 | URL: http://live.gnome.org/libepc |
c4a33e59 MB |
10 | BuildRequires: autoconf >= 2.63 |
11 | BuildRequires: automake >= 1:1.10.3 | |
5f443e50 MB |
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 |
c4a33e59 | 23 | BuildRequires: libtool >= 2:2.2.6 |
5f443e50 MB |
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 \ | |
c4a33e59 | 134 | --enable-static \ |
5f443e50 MB |
135 | --enable-gtk-doc \ |
136 | --with-html-dir=%{_gtkdocdir} | |
137 | ||
75da6f2e | 138 | %{__make} |
5f443e50 MB |
139 | |
140 | %install | |
141 | rm -rf $RPM_BUILD_ROOT | |
142 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
143 | ||
144 | %{__make} install \ | |
145 | DESTDIR=$RPM_BUILD_ROOT | |
146 | ||
147 | cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
148 | ||
4afed607 AF |
149 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
150 | ||
5f443e50 MB |
151 | %find_lang %{name} |
152 | ||
153 | %clean | |
154 | rm -rf $RPM_BUILD_ROOT | |
155 | ||
156 | %post -p /sbin/ldconfig | |
157 | %postun -p /sbin/ldconfig | |
158 | ||
159 | %files -f %{name}.lang | |
160 | %defattr(644,root,root,755) | |
161 | %doc AUTHORS ChangeLog NEWS README | |
162 | %attr(755,root,root) %{_libdir}/libepc-1.0.so.*.*.* | |
8538b044 | 163 | %attr(755,root,root) %ghost %{_libdir}/libepc-1.0.so.2 |
5f443e50 MB |
164 | |
165 | %files devel | |
166 | %defattr(644,root,root,755) | |
167 | %attr(755,root,root) %{_libdir}/libepc-1.0.so | |
5f443e50 MB |
168 | %{_includedir}/libepc-1.0 |
169 | %{_pkgconfigdir}/libepc-1.0.pc | |
170 | ||
171 | %files static | |
172 | %defattr(644,root,root,755) | |
173 | %{_libdir}/libepc-1.0.a | |
174 | ||
175 | %files ui | |
176 | %defattr(644,root,root,755) | |
177 | %attr(755,root,root) %{_libdir}/libepc-ui-1.0.so.*.*.* | |
8538b044 | 178 | %attr(755,root,root) %ghost %{_libdir}/libepc-ui-1.0.so.2 |
5f443e50 MB |
179 | |
180 | %files ui-devel | |
181 | %defattr(644,root,root,755) | |
182 | %attr(755,root,root) %{_libdir}/libepc-ui-1.0.so | |
5f443e50 MB |
183 | %{_includedir}/libepc-ui-1.0 |
184 | %{_pkgconfigdir}/libepc-ui-1.0.pc | |
185 | ||
186 | %files ui-static | |
187 | %defattr(644,root,root,755) | |
188 | %{_libdir}/libepc-ui-1.0.a | |
189 | ||
190 | %files apidocs | |
191 | %defattr(644,root,root,755) | |
192 | %{_gtkdocdir}/libepc-1.0 | |
193 | ||
194 | %files examples | |
195 | %defattr(644,root,root,755) | |
196 | %{_examplesdir}/%{name}-%{version} |