libpanelappletmm-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %define ver 2.6
  2. Summary: A C++ wrapper for gnome-panel
  3. Summary(ja): gnome-panel の C++ ラッパー
  4. Name: libpanelappletmm
  5. Version: 2.26.0
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/libpanelappletmm/2.26/%{name}-%{version}.tar.bz2
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: gnome-panel-libs >= 2.14.0
  12. Requires: gtkmm2 >= 2.4.0
  13. Requires: gconfmm >= 2.6.0
  14. BuildRequires: gnome-panel-devel >= 2.14.0
  15. BuildRequires: gtkmm2-devel >= 2.4.0
  16. BuildRequires: gconfmm-devel >= 2.6.0
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. Libpanelappletmm is a C++ wrapper for gnome-panel.
  22. %package devel
  23. Summary: Development tools for gnome-panel applications.
  24. Summary(ja): gnome-panel アプリケーションの開発用ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: gnome-panel-devel >= 2.14.0
  28. Requires: gtkmm2-devel >= 2.4.0
  29. Requires: gconfmm-devel >= 2.6.0
  30. %description devel
  31. Header files and libraries for building a extension library for the gnome-panel.
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
  41. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  42. # remove demos, examples
  43. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/demo
  44. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/examples
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %clean
  48. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-, root, root)
  51. %doc AUTHORS COPYING ChangeLog NEWS README
  52. %{_libdir}/lib*.so.*
  53. %files devel
  54. %defattr(-, root, root)
  55. %{_includedir}/*
  56. %{_libdir}/*.so
  57. %{_libdir}/%{name}-%{ver}/include
  58. %{_libdir}/%{name}-%{ver}/proc/m4
  59. %{_libdir}/pkgconfig/*.pc
  60. %changelog
  61. * Sun Aug 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-1
  62. - initial build for Vine Linux