libzeitgeist-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Name: libzeitgeist
  2. Summary: Client library for applications that want to interact with the Zeitgeist daemon
  3. Version: 0.3.12
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: LGPLv3 and GPLv3
  7. URL: https://launchpad.net/libzeitgeist
  8. Source0: http://launchpad.net/%{name}/0.3/%{version}/+download/%{name}-%{version}.tar.gz
  9. Patch0: %{name}-log_fix.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel gtk-doc
  12. # zeitgeist is just a runtime and the reason to install libzeitgeist
  13. #Requires: zeitgeist
  14. %description
  15. This project provides a client library for applications that want to interact
  16. with the Zeitgeist daemon. The library is written in C using glib and provides
  17. an asynchronous GObject oriented API.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. The %{name}-devel package contains libraries and header files for
  24. developing applications that use %{name}.
  25. %prep
  26. %setup -q
  27. %patch0 -p1 -b .log
  28. %build
  29. %configure --disable-static
  30. make V=1 %{?_smp_mflags}
  31. %check
  32. make check
  33. %install
  34. make install DESTDIR=%{buildroot} INSTALL="install -p"
  35. install -d -p -m 755 %{buildroot}%{_datadir}/vala/vapi
  36. install -D -p -m 644 bindings/zeitgeist-1.0.{vapi,deps} %{buildroot}%{_datadir}/vala/vapi
  37. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  38. # remove duplicate documentation
  39. rm -fr %{buildroot}%{_defaultdocdir}/%{name}
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-,root,root,-)
  44. # documentation
  45. %doc COPYING COPYING.GPL README
  46. # essential
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. # Documentation
  51. %doc AUTHORS ChangeLog COPYING COPYING.GPL MAINTAINERS NEWS
  52. %doc examples/*.vala examples/*.c
  53. %{_datadir}/gtk-doc/html/zeitgeist-1.0/
  54. # essential
  55. %{_includedir}/zeitgeist-1.0/
  56. %{_libdir}/pkgconfig/zeitgeist-1.0.pc
  57. %{_libdir}/*.so
  58. # extra
  59. %{_datadir}/vala/vapi/
  60. %changelog
  61. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.12-1
  62. - Initial package for Vine Linux
  63. * Wed Apr 06 2011 Renich Bon ciric <renich@woralelandia.com> - 0.3.10-1
  64. - Updated to version 0.3.10
  65. - Fixed bugs:
  66. https://bugs.launchpad.net/ubuntu/+source/libzeitgeist/+bug/742438
  67. - Renamed log fix patch to something more appropriate
  68. * Sat Apr 02 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-4
  69. - Added -p to install statements (forgot some)
  70. - Moved README to the main package from devel
  71. * Fri Mar 25 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-3
  72. - Removed Rubys geo2 dependency since is not needed; it's provided by glibc-devel
  73. * Thu Mar 24 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-2
  74. - Log test failure repaired by patch from Mamoru Tasaka
  75. * Mon Mar 21 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-1
  76. - Updated to 0.3.6
  77. - Implemented the isa macro for the devel subpackage.
  78. - Eliminated the doc macro from gtk-doc since it gets marked automatically
  79. * Sat Mar 12 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-3
  80. - Removed mistaken isa macro from zeitgeist require
  81. * Thu Mar 10 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-2
  82. - Cleaned up old stuff (BuildRoot, Clean and stuff of sorts)
  83. https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
  84. https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
  85. - Added glib2-devel and gtk-doc as a BuildRequires
  86. - Added GPLv3 since it covers the documentation examples
  87. - Updated Requires to use the new arch specification macro when accordingly
  88. https://fedoraproject.org/wiki/Packaging/Guidelines#Requires
  89. - Configured install to preserve timestamps
  90. - Added V=1 to the make flags for more verbosity on build
  91. - Added a check section
  92. - Removed disable-module from configure statement since it's not needed anymore:
  93. https://bugs.launchpad.net/libzeitgeist/+bug/683805
  94. * Thu Feb 24 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-1
  95. - updated to latest version
  96. * Sun Feb 06 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-3
  97. - got rid of INSTALL from docs
  98. - got rid ot dorcdir and used doc to include html docs
  99. * Sat Feb 05 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-2
  100. - removed duplicate documentation
  101. - added the use of macros for everything; including source and build dir.
  102. - revised path syntax
  103. * Thu Jan 27 2011 - Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-1
  104. - First buildName: libzeitgeist