gcab-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Summary: A GObject library to create cabinet files
  2. Summary(ja): キャビネットファイル作成用 GObject ライブラリ
  3. Name: gcab
  4. Version: 0.7
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2.1
  7. Group: System Environment/Libraries
  8. URL: https://git.gnome.org/browse/gcab/
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. %{summary}
  17. %package devel
  18. Summary: Development tools for %{name}
  19. Summary(ja): %{name} の開発環境
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: pkgconfig
  23. %description devel
  24. Header files and libraries for building a extension library for the %{name}.
  25. %package docs
  26. Summary: Documentation for %{name}
  27. Summary(ja): %{name} 用のドキュメント
  28. Group: Documentation
  29. BuildArch: noarch
  30. %description docs
  31. This package contains documentation for %{name}.
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  41. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  42. %find_lang %{name} --with-gnome
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files -f %{name}.lang
  48. %defattr(-,root,root,-)
  49. %doc COPYING NEWS
  50. %{_bindir}/%{name}
  51. %{_libdir}/libgcab-1.0.so.*
  52. %{_mandir}/man1/%{name}.1.gz
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %{_includedir}/libgcab-1.0
  56. %{_libdir}/libgcab-1.0.so
  57. %{_libdir}/pkgconfig/libgcab-1.0.pc
  58. %files docs
  59. %defattr(-,root,root,-)
  60. %{_datadir}/gtk-doc/html/%{name}
  61. %changelog
  62. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7-2
  63. - new upstream release
  64. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
  65. - initial build