source: projects/specs/branches/6/lib/libu/libupnp/libupnp-vl.spec @ 1901

Revision 1901, 2.5 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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