libxdg-basedir-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: libxdg-basedir
  2. Version: 1.2.0
  3. Release: 1%{?_dist_release}
  4. Summary: Implementation of the XDG Base Directory Specifications
  5. Group: System Environment/Libraries
  6. License: MIT
  7. URL: https://github.com/devnev/libxdg-basedir
  8. Source0: https://github.com/devnev/libxdg-basedir/archive/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: autoconf automake
  11. BuildRequires: doxygen
  12. %description
  13. The XDG Base Directory Specification defines where should user files
  14. be looked for by defining one or more base directories relative in
  15. with they should be located.
  16. This library implements functions to list the directories according
  17. to the specification and provides a few higher-level functions.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. %description devel
  25. The %{name}-devel package contains libraries and header files for
  26. developing applications that use %{name}.
  27. %package doc
  28. Summary: Documentation files for %{name}
  29. Summary(ja): %{name} のドキュメント
  30. Group: Documentation
  31. Requires: %{name} = %{version}-%{release}
  32. BuildArch: noarch
  33. %description doc
  34. The %{name}-doc package contains doxygen generated files for
  35. developing applications that use %{name}.
  36. %prep
  37. %setup -q -n %{name}-%{name}-%{version}
  38. %build
  39. ./autogen.sh
  40. %configure --disable-static
  41. make %{?_smp_mflags}
  42. make doxygen-run
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR="$RPM_BUILD_ROOT"
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %check
  50. make check
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %{_libdir}/*.so.*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/*
  59. %{_libdir}/*.so
  60. %{_libdir}/pkgconfig/%{name}.pc
  61. %files doc
  62. %defattr(-,root,root,-)
  63. %doc doc/html/
  64. %changelog
  65. * Tue Feb 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.0-1
  66. - updated to 1.2.0
  67. - updated URL
  68. - changed doc subpackage to noarch
  69. * Fri Jan 07 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.1.1-1
  70. - initial build for Vine Linux based on fedora development
  71. * Fri Jul 16 2010 Michal Nowak <mnowak@redhat.com> - 1.1.1-1
  72. - 1.1.1
  73. * Sun May 9 2010 Michal Nowak <mnowak@redhat.com> - 1.1.0-1
  74. - 1.1.0
  75. * Tue Sep 1 2009 Michal Nowak <mnowak@redhat.com> - 1.0.2-1
  76. - 1.0.2
  77. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  79. * Tue Jun 9 2009 Michal Nowak <mnowak@redhat.com> - 1.0.1-2
  80. - removed bogus ownership of %%{_libdir}/pkgconfig/
  81. - "docs" sub-package renamed to "doc"
  82. * Mon Jun 8 2009 Michal Nowak <mnowak@redhat.com> - 1.0.1-1
  83. - 1.0.1
  84. - -devel: require pkgconfig, own %%{_libdir}/pkgconfig/
  85. - -docs: sub-package
  86. - make check tests
  87. - SPEC cleanups
  88. * Thu May 7 2009 Michal Nowak <mnowak@redhat.com> - 1.0.0-1
  89. - 1.0.0