]> git.pld-linux.org Git - packages/gupnp.git/blob - gupnp.spec
4f5c6649fb338f87c94e2da30c00368755750f92
[packages/gupnp.git] / gupnp.spec
1 Summary:        UPnP library based on GObject and libsoup
2 Summary(pl.UTF-8):      Biblioteka UPnP oparta na bibliotekach GObject i libsoup
3 Name:           gupnp
4 # note: 0.18.x is stable, 0.19.x unstable
5 Version:        0.18.2
6 Release:        1
7 License:        LGPL v2+
8 Group:          Libraries
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/%{name}-%{version}.tar.xz
10 # Source0-md5:  9ce2bc56abf0275be9b1d0ecdf67e7bf
11 URL:            http://gupnp.org/
12 BuildRequires:  autoconf >= 2.64
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  docbook-dtd44-xml
16 BuildRequires:  glib2-devel >= 1:2.26.0
17 BuildRequires:  gobject-introspection-devel >= 0.6.4
18 BuildRequires:  gssdp-devel >= 0.12.0
19 BuildRequires:  gtk-doc >= 1.0
20 BuildRequires:  libsoup-devel >= 2.28.2
21 BuildRequires:  libtool >= 2:2.2
22 BuildRequires:  libuuid-devel >= 1.36
23 BuildRequires:  libxml2-devel >= 1:2.6.30
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpm-pythonprov
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 Requires:       glib2 >= 1:2.26.0
29 Requires:       gssdp >= 0.12.0
30 Requires:       libsoup >= 2.28.2
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 GUPnP is an object-oriented open source framework for creating UPnP
35 devices and control points, written in C using GObject and libsoup.
36 The GUPnP API is intended to be easy to use, efficient and flexible.
37
38 %description -l pl.UTF-8
39 GUPnp to zorientowany obiektowo, mający otwarte źródła szkielet do
40 tworzenia urządzeń i punktów sterujących UPnP, napisany w C z użyciem
41 bibliotek GObject i libsoup. API GUPnp ma być łatwe w użyciu, wydajne
42 i elastyczne.
43
44 %package devel
45 Summary:        Header files for gupnp
46 Summary(pl.UTF-8):      Pliki nagłówkowe gupnp
47 Group:          Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49 Requires:       glib2-devel >= 1:2.26.0
50 Requires:       gssdp-devel >= 0.12.0
51 Requires:       libsoup-devel >= 2.28.2
52 Requires:       libuuid-devel >= 1.36
53 Requires:       libxml2-devel >= 1:2.6.30
54
55 %description devel
56 This package contains header files for the Linux SDK for UPnP Devices
57 (gupnp).
58
59 %description devel -l pl.UTF-8
60 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
61 programistycznego do urządzeń UPnP (gupnp).
62
63 %package static
64 Summary:        Static gupnp libraries
65 Summary(pl.UTF-8):      Statyczne biblioteki gupnp
66 Group:          Development/Libraries
67 Requires:       %{name}-devel = %{version}-%{release}
68
69 %description static
70 Static gupnp libraries.
71
72 %description static -l pl.UTF-8
73 Statyczne biblioteki gupnp.
74
75 %package apidocs
76 Summary:        gupnp API documentation
77 Summary(pl.UTF-8):      Dokumentacja API gupnp
78 Group:          Documentation
79 Requires:       gtk-doc-common
80
81 %description apidocs
82 gupnp API documentation.
83
84 %description apidocs -l pl.UTF-8
85 Dokumentacja API gupnp.
86
87 %prep
88 %setup -q
89
90 %build
91 %{__gtkdocize}
92 %{__libtoolize}
93 %{__aclocal} -I m4
94 %{__autoconf}
95 %{__autoheader}
96 %{__automake}
97 %configure \
98         --disable-silent-rules \
99         --enable-gtk-doc \
100         --with-html-dir=%{_gtkdocdir} \
101         --with-context-manager=network-manager
102
103 %{__make}
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT
110
111 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README
122 %attr(755,root,root) %{_bindir}/gupnp-binding-tool
123 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.*
124 %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.4
125 %{_libdir}/girepository-1.0/GUPnP-1.0.typelib
126
127 %files devel
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so
130 %{_datadir}/gir-1.0/GUPnP-1.0.gir
131 %{_includedir}/gupnp-1.0
132 %{_pkgconfigdir}/gupnp-1.0.pc
133
134 %files static
135 %defattr(644,root,root,755)
136 %{_libdir}/libgupnp-1.0.a
137
138 %files apidocs
139 %defattr(644,root,root,755)
140 %{_gtkdocdir}/gupnp
This page took 0.063708 seconds and 3 git commands to generate.