]>
Commit | Line | Data |
---|---|---|
aad1ecd9 | 1 | Summary: UPnP library |
3c551657 | 2 | Summary(pl.UTF-8): Biblioteka UPnP |
aad1ecd9 | 3 | Name: gupnp |
d14f948d | 4 | Version: 0.12.8 |
aad1ecd9 | 5 | Release: 1 |
3c551657 | 6 | License: LGPL v2+ |
aad1ecd9 | 7 | Group: Libraries |
84758277 | 8 | Source0: http://www.gupnp.org/sources/gupnp/%{name}-%{version}.tar.gz |
d14f948d | 9 | # Source0-md5: ad20138c6da78cd03a056d30e40e36b9 |
aad1ecd9 | 10 | URL: http://gupnp.org/ |
3c551657 | 11 | BuildRequires: autoconf >= 2.53 |
aad1ecd9 | 12 | BuildRequires: automake >= 1:1.9 |
6705dc39 | 13 | BuildRequires: glib2-devel >= 1:2.18.0 |
ac753885 | 14 | BuildRequires: gssdp-devel >= 0.6.2 |
3c551657 | 15 | BuildRequires: gtk-doc >= 1.0 |
6705dc39 | 16 | BuildRequires: libsoup-devel >= 2.4.1 |
aad1ecd9 | 17 | BuildRequires: libtool >= 2:1.5 |
3c551657 | 18 | BuildRequires: libuuid-devel >= 1.36 |
6705dc39 | 19 | BuildRequires: libxml2-devel >= 1:2.6.30 |
3c551657 | 20 | BuildRequires: pkgconfig |
aad1ecd9 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | GUPnP is an object-oriented open source framework for creating UPnP | |
25 | devices and control points, written in C using GObject and libsoup. | |
26 | The GUPnP API is intended to be easy to use, efficient and flexible. | |
27 | ||
3c551657 JB |
28 | %description -l pl.UTF-8 |
29 | GUPnp to zorientowany obiektowo, mający otwarte źródła szkielet do | |
30 | tworzenia urządzeń i punktów sterujących UPnP, napisany w C z użyciem | |
31 | bibliotek GObject i libsoup. API GUPnp ma być łatwe w użyciu, wydajne | |
32 | i elastyczne. | |
33 | ||
aad1ecd9 | 34 | %package devel |
35 | Summary: Header files for gupnp | |
36 | Summary(pl.UTF-8): Pliki nagłówkowe gupnp | |
37 | Group: Development/Libraries | |
38 | Requires: %{name} = %{version}-%{release} | |
6705dc39 MB |
39 | Requires: glib2-devel >= 1:2.18.0 |
40 | Requires: gssdp-devel >= 0.6.2 | |
41 | Requires: libsoup-devel >= 2.4.1 | |
3c551657 | 42 | Requires: libuuid-devel >= 1.36 |
6705dc39 | 43 | Requires: libxml2-devel >= 1:2.6.30 |
aad1ecd9 | 44 | |
45 | %description devel | |
46 | This package contains header files for the Linux SDK for UPnP Devices | |
47 | (gupnp). | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu | |
51 | programistycznego do urządzeń UPnP (gupnp). | |
52 | ||
53 | %package static | |
3c551657 JB |
54 | Summary: Static gupnp libraries |
55 | Summary(pl.UTF-8): Statyczne biblioteki gupnp | |
aad1ecd9 | 56 | Group: Development/Libraries |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | ||
59 | %description static | |
3c551657 | 60 | Static gupnp libraries. |
aad1ecd9 | 61 | |
62 | %description static -l pl.UTF-8 | |
3c551657 | 63 | Statyczne biblioteki gupnp. |
aad1ecd9 | 64 | |
65 | %package apidocs | |
66 | Summary: gupnp API documentation | |
67 | Summary(pl.UTF-8): Dokumentacja API gupnp | |
68 | Group: Documentation | |
69 | Requires: gtk-doc-common | |
70 | ||
71 | %description apidocs | |
72 | gupnp API documentation. | |
73 | ||
74 | %description apidocs -l pl.UTF-8 | |
75 | Dokumentacja API gupnp. | |
76 | ||
77 | %prep | |
78 | %setup -q | |
79 | ||
80 | %build | |
81 | %{__gtkdocize} | |
82 | %{__libtoolize} | |
83 | %{__aclocal} | |
84 | %{__autoconf} | |
85 | %{__autoheader} | |
86 | %{__automake} | |
87 | %configure \ | |
6705dc39 | 88 | --enable-gtk-doc \ |
aad1ecd9 | 89 | --with-html-dir=%{_gtkdocdir} |
6705dc39 | 90 | |
aad1ecd9 | 91 | %{__make} |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %{__make} install \ | |
97 | DESTDIR=$RPM_BUILD_ROOT | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post -p /sbin/ldconfig | |
103 | %postun -p /sbin/ldconfig | |
104 | ||
105 | %files | |
106 | %defattr(644,root,root,755) | |
107 | %doc ChangeLog NEWS README | |
ac753885 | 108 | %attr(755,root,root) %{_bindir}/gupnp-binding-tool |
3c551657 | 109 | %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.* |
ac753885 | 110 | %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.2 |
aad1ecd9 | 111 | |
112 | %files devel | |
113 | %defattr(644,root,root,755) | |
3c551657 | 114 | %attr(755,root,root) %{_libdir}/libgupnp-1.0.so |
aad1ecd9 | 115 | %{_libdir}/libgupnp-1.0.la |
3c551657 | 116 | %{_includedir}/gupnp-1.0 |
aad1ecd9 | 117 | %{_pkgconfigdir}/gupnp-1.0.pc |
118 | ||
119 | %files static | |
120 | %defattr(644,root,root,755) | |
121 | %{_libdir}/libgupnp-1.0.a | |
122 | ||
123 | %files apidocs | |
124 | %defattr(644,root,root,755) | |
125 | %{_gtkdocdir}/gupnp |