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