]> git.pld-linux.org Git - packages/herqq.git/blob - herqq.spec
- rel 2; install all headers
[packages/herqq.git] / herqq.spec
1 Summary:        A library for building UPnP devices and control points
2 Name:           herqq
3 Version:        1.0.0
4 Release:        2
5 License:        GPL v3+
6 Group:          Applications
7 Source0:        http://downloads.sourceforge.net/hupnp/%{name}-%{version}.zip
8 # Source0-md5:  45a0632f7c7b64bc0fdab852d36c1e61
9 URL:            http://www.herqq.org/
10 BuildRequires:  qt4-build >= 4.3.3-3
11 BuildRequires:  qt4-qmake >= 4.3.3-3
12 BuildRequires:  rpmbuild(macros) >= 1.129
13 BuildRequires:  unzip
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Herqq UPnP (HUPnP) is a software library for building UPnP devices and
18 control points conforming to the UPnP Device Architecture version 1.1.
19 It is designed to be simple to use and robust in operation. It is
20 built using C++ and the Qt Framework following many of the design
21 principles and programming practices used in the Qt Framework. It
22 integrates into Qt-based software smoothly and enables truly rapid
23 UPnP development.
24
25 %package devel
26 Summary:        Header files for herqq library
27 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki herqq
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Header files for herqq library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki herqq.
36
37 %prep
38 %setup -q
39
40 %build
41 qmake-qt4
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install
48
49 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
50
51 cp hupnp/bin/lib* $RPM_BUILD_ROOT%{_libdir}
52 cp -a hupnp/deploy/include/HUpnpCore $RPM_BUILD_ROOT%{_includedir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
59
60 %files
61 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_libdir}/libHUpnp.so.*.*.*
63 %attr(755,root,root) %{_libdir}/libHUpnp.so.*.*
64 %attr(755,root,root) %ghost %{_libdir}/libHUpnp.so.1
65 %attr(755,root,root) %{_libdir}/libQtSolutions_SOAP-2.7.so.*.*.*
66 %attr(755,root,root) %{_libdir}/libQtSolutions_SOAP-2.7.so.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libQtSolutions_SOAP-2.7.so.1
68
69 %files devel
70 %defattr(644,root,root,755)
71 %doc hupnp/docs
72 %{_libdir}/libHUpnp.so
73 %{_libdir}/libQtSolutions_SOAP-2.7.so
74 %{_includedir}/HUpnpCore
This page took 0.102901 seconds and 4 git commands to generate.