]> git.pld-linux.org Git - packages/gupnp.git/blob - gupnp.spec
- 0.12.2
[packages/gupnp.git] / gupnp.spec
1 Summary:        UPnP library
2 Summary(pl.UTF-8):      Biblioteka UPnP
3 Name:           gupnp
4 Version:        0.12.2
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://www.gupnp.org/sources/gupnp/%{name}-%{version}.tar.gz
9 # Source0-md5:  5350f5f28fb3742779702a496ab75d72
10 URL:            http://gupnp.org/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  gssdp-devel >= 0.6.2
14 BuildRequires:  gtk-doc >= 1.0
15 BuildRequires:  libtool >= 2:1.5
16 BuildRequires:  libuuid-devel >= 1.36
17 BuildRequires:  pkgconfig
18 BuildRequires:  shared-mime-info
19 Requires:       shared-mime-info
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
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
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}
38 Requires:       gssdp-devel >= 0.3
39 Requires:       libuuid-devel >= 1.36
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
50 Summary:        Static gupnp libraries
51 Summary(pl.UTF-8):      Statyczne biblioteki gupnp
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static gupnp libraries.
57
58 %description static -l pl.UTF-8
59 Statyczne biblioteki gupnp.
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
102 %attr(755,root,root) %{_bindir}/gupnp-binding-tool
103 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.2
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so
109 %{_libdir}/libgupnp-1.0.la
110 %{_includedir}/gupnp-1.0
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
This page took 0.06702 seconds and 4 git commands to generate.