libzeitgeist-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Name: libzeitgeist
  2. Summary: Client library for applications that want to interact with the Zeitgeist daemon
  3. Version: 0.3.18
  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: libzeitgeist-disable-log-test.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
  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. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.18-1
  62. - new upstream release
  63. - replace Patch0 (libzeitgeist-disable-log-test.patch) from fedora
  64. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.12-1
  65. - Initial package for Vine Linux
  66. * Wed Apr 06 2011 Renich Bon ciric <renich@woralelandia.com> - 0.3.10-1
  67. - Updated to version 0.3.10
  68. - Fixed bugs:
  69. https://bugs.launchpad.net/ubuntu/+source/libzeitgeist/+bug/742438
  70. - Renamed log fix patch to something more appropriate
  71. * Sat Apr 02 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-4
  72. - Added -p to install statements (forgot some)
  73. - Moved README to the main package from devel
  74. * Fri Mar 25 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-3
  75. - Removed Rubys geo2 dependency since is not needed; it's provided by glibc-devel
  76. * Thu Mar 24 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-2
  77. - Log test failure repaired by patch from Mamoru Tasaka
  78. * Mon Mar 21 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-1
  79. - Updated to 0.3.6
  80. - Implemented the isa macro for the devel subpackage.
  81. - Eliminated the doc macro from gtk-doc since it gets marked automatically
  82. * Sat Mar 12 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-3
  83. - Removed mistaken isa macro from zeitgeist require
  84. * Thu Mar 10 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-2
  85. - Cleaned up old stuff (BuildRoot, Clean and stuff of sorts)
  86. https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
  87. https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
  88. - Added glib2-devel and gtk-doc as a BuildRequires
  89. - Added GPLv3 since it covers the documentation examples
  90. - Updated Requires to use the new arch specification macro when accordingly
  91. https://fedoraproject.org/wiki/Packaging/Guidelines#Requires
  92. - Configured install to preserve timestamps
  93. - Added V=1 to the make flags for more verbosity on build
  94. - Added a check section
  95. - Removed disable-module from configure statement since it's not needed anymore:
  96. https://bugs.launchpad.net/libzeitgeist/+bug/683805
  97. * Thu Feb 24 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-1
  98. - updated to latest version
  99. * Sun Feb 06 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-3
  100. - got rid of INSTALL from docs
  101. - got rid ot dorcdir and used doc to include html docs
  102. * Sat Feb 05 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-2
  103. - removed duplicate documentation
  104. - added the use of macros for everything; including source and build dir.
  105. - revised path syntax
  106. * Thu Jan 27 2011 - Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-1
  107. - First buildName: libzeitgeist