source: projects/specs/trunk/lib/libu/libupnp/libupnp-vl.spec @ 5959

Revision 5959, 2.9 KB checked in by shaolin, 12 years ago (diff)
  • libupnp: new upstream release
Line 
1%define name libupnp
2%define version 1.6.13
3%define release 1%{?_dist_release}
4
5%define docdeveldir %{_docdir}/%{name}-devel-%{version}
6%define docdir %{_docdir}/%{name}-%{version}
7
8Summary: Universal Plug and Play (UPnP) SDK
9Summary(ja): ユニバーサルプラグアンドプレイ開発キット
10Name: %{name}
11Version: %{version}
12Release: %{release}
13Source0: %{name}-%{version}.tar.bz2
14License: BSD
15Group: System Environment/Libraries
16URL: http://pupnp.sourceforge.net/
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20%description
21The Universal Plug and Play (UPnP) SDK for Linux provides
22support for building UPnP-compliant control points, devices,
23and bridges on Linux.
24
25%package devel
26Summary: Header files, libraries and development documentation for %{name}.
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29
30%description devel
31This package contains the header files, static libraries and development
32documentation for %{name}. If you like to develop programs using %{name},
33you will need to install %{name}-devel.
34
35%prep
36%setup -q
37
38%build
39%configure --with-documentation --enable-static=no
40%{__make} %{?_smp_mflags}
41
42%install
43%{__rm} -rf %{buildroot}
44%{__make} install DESTDIR="%{buildroot}"
45
46#create the doc devel dir
47%{__mkdir_p} %{buildroot}%{docdeveldir}
48
49#mv examples dir and pdf file to the doc devel dir
50%{__mv} %{buildroot}%{docdir}/examples \
51        %{buildroot}%{docdeveldir}/
52%{__mv} %{buildroot}%{docdir}/UPnP_Programming_Guide.pdf \
53        %{buildroot}%{docdeveldir}/
54%{__mv} %{buildroot}%{docdir}/IXML_Programming_Guide.pdf \
55        %{buildroot}%{docdeveldir}/
56%{__mv} %{buildroot}%{docdir}/html \
57        %{buildroot}%{docdeveldir}/
58
59%{__rm} %{buildroot}%{_libdir}/{libixml.la,libthreadutil.la,libupnp.la}
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65%clean
66%{__rm} -rf ${RPM_BUILD_ROOT}
67
68%files
69%defattr(-, root, root, -)
70%doc AUTHORS ChangeLog COPYING INSTALL LICENSE NEWS README THANKS TODO
71%{_libdir}/libixml.so.*
72%{_libdir}/libthreadutil.so.*
73%{_libdir}/libupnp.so.*
74
75%files devel
76%defattr(-, root, root, 0755)
77%doc %{docdeveldir}
78%{_includedir}/upnp/
79%{_libdir}/libixml.so
80%{_libdir}/libthreadutil.so
81%{_libdir}/libupnp.so
82%{_libdir}/pkgconfig/libupnp.pc
83
84%changelog
85* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.6.13-1
86- new upstream release
87
88* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.6-2
89- rebuild with rpm-4.8.1 for pkg-config file
90
91* Sun Mar 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.6-1
92- new upstream release
93
94* Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.5-1vl5
95- applied new versioning policy, spec in utf-8
96
97* Tue Feb 14 2008 Masahiro INOUE <miyabi.-.inoue@nifty.com> 1.6.5
98- new upstream release
99
100* Tue Jul 31 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.0-0vl1
101- new upstream release
102
103* Sat May 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl1
104- initial build for Vine Linux
105
106* Wed Feb 21 2007 Dag Wieers <dag@wieers.com> - 1.4.2-1 - +/
107- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.