libzeitgeist-vl.spec 5.3 KB

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