libupnp-vl.spec 2.5 KB

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