libxdg-basedir-vl.spec 2.8 KB

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