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