]> git.pld-linux.org Git - packages/gupnp.git/blob - gupnp.spec
- added
[packages/gupnp.git] / gupnp.spec
1 Summary:        UPnP library
2 Name:           gupnp
3 Version:        0.2
4 Release:        1
5 License:        BSD
6 Group:          Libraries
7 Source0:        http://www.gupnp.org/sources/%{name}-%{version}.tar.gz
8 # Source0-md5:  246a6fd299ec7f50d70b827de28fd98a
9 URL:            http://gupnp.org/
10 BuildRequires:  autoconf >= 2.59
11 BuildRequires:  automake >= 1:1.9
12 BuildRequires:  gssdp-devel
13 BuildRequires:  libtool >= 2:1.5
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 GUPnP is an object-oriented open source framework for creating UPnP
18 devices and control points, written in C using GObject and libsoup.
19 The GUPnP API is intended to be easy to use, efficient and flexible.
20
21 %package devel
22 Summary:        Header files for gupnp
23 Summary(pl.UTF-8):      Pliki nagłówkowe gupnp
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}-%{release}
26
27 %description devel
28 This package contains header files for the Linux SDK for UPnP Devices
29 (gupnp).
30
31 %description devel -l pl.UTF-8
32 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
33 programistycznego do urządzeń UPnP (gupnp).
34
35 %package static
36 Summary:        Static upnp libraries
37 Summary(pl.UTF-8):      Statyczne biblioteki upnp
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{version}-%{release}
40
41 %description static
42 Static upnp libraries.
43
44 %description static -l pl.UTF-8
45 Statyczne biblioteki upnp.
46
47 %package apidocs
48 Summary:        gupnp API documentation
49 Summary(pl.UTF-8):      Dokumentacja API gupnp
50 Group:          Documentation
51 Requires:       gtk-doc-common
52
53 %description apidocs
54 gupnp API documentation.
55
56 %description apidocs -l pl.UTF-8
57 Dokumentacja API gupnp.
58
59 %prep
60 %setup -q
61
62 %build
63 %{__gtkdocize}
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure \
70         --with-html-dir=%{_gtkdocdir}
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc ChangeLog NEWS README
88 %attr(755,root,root)    %{_libdir}/libgupnp-1.0.so.0.0.0
89
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_includedir}/gupnp-1.0
94 %{_libdir}/libgupnp-1.0.so
95 %{_libdir}/libgupnp-1.0.la
96 %{_pkgconfigdir}/gupnp-1.0.pc
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libgupnp-1.0.a
101
102 %files apidocs
103 %defattr(644,root,root,755)
104 %{_gtkdocdir}/gupnp
This page took 0.095552 seconds and 4 git commands to generate.