]> git.pld-linux.org Git - packages/gupnp.git/blob - gupnp.spec
- updated to 0.13.1 (new soname)
[packages/gupnp.git] / gupnp.spec
1 Summary:        UPnP library
2 Summary(pl.UTF-8):      Biblioteka UPnP
3 Name:           gupnp
4 Version:        0.13.1
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:  9b5fcf8146ba9a2bd84382f61717aa0e
10 URL:            http://gupnp.org/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  glib2-devel >= 1:2.18.0
14 BuildRequires:  gssdp-devel >= 0.7.0
15 BuildRequires:  gtk-doc >= 1.0
16 BuildRequires:  libsoup-devel >= 2.4.1
17 BuildRequires:  libtool >= 2:1.5
18 BuildRequires:  libuuid-devel >= 1.36
19 BuildRequires:  libxml2-devel >= 1:2.6.30
20 BuildRequires:  pkgconfig
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
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
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}
39 Requires:       glib2-devel >= 1:2.18.0
40 Requires:       gssdp-devel >= 0.7.0
41 Requires:       libsoup-devel >= 2.4.1
42 Requires:       libuuid-devel >= 1.36
43 Requires:       libxml2-devel >= 1:2.6.30
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
54 Summary:        Static gupnp libraries
55 Summary(pl.UTF-8):      Statyczne biblioteki gupnp
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static gupnp libraries.
61
62 %description static -l pl.UTF-8
63 Statyczne biblioteki gupnp.
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 \
88         --enable-gtk-doc \
89         --with-html-dir=%{_gtkdocdir}
90
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
108 %attr(755,root,root) %{_bindir}/gupnp-binding-tool
109 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.3
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so
115 %{_libdir}/libgupnp-1.0.la
116 %{_includedir}/gupnp-1.0
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
This page took 0.045421 seconds and 4 git commands to generate.