DeviceKit-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. %define glib2_version 2.22.0
  2. %define dbus_version 1.2
  3. %define dbus_glib_version 0.82
  4. %define gtk_doc_version 1.4
  5. %define udev_version 141
  6. Summary: Device Enumeration Framework
  7. Summary(ja): Device Enumeration Framework
  8. Name: DeviceKit
  9. Version: 003
  10. Release: 1%{?_dist_release}
  11. License: GPLv2+ and LGPLv2+
  12. Group: System Environment/Libraries
  13. URL: http://gitweb.freedesktop.org/?p=users/david/DeviceKit.git;a=summary
  14. Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. Requires(post): /sbin/ldconfig
  17. Requires(postun): /sbin/ldconfig
  18. BuildRequires: glib2-devel >= %{glib2_version}
  19. BuildRequires: dbus-devel >= %{dbus_version}
  20. BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
  21. BuildRequires: gtk-doc >= %{gtk_doc_version}
  22. BuildRequires: udev >= %{udev_version}
  23. Requires: dbus
  24. Requires: dbus-glib
  25. Requires: glib2
  26. Requires: udev
  27. %description
  28. DeviceKit is a framework for enumerating devices.
  29. %package devel
  30. Summary: Headers and libraries for DeviceKit
  31. Summary(ja): Headers and libraries for DeviceKit
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: glib2-devel
  35. Requires: pkgconfig
  36. # stupid guidelines require this for ownership of /usr/share/gtk-doc
  37. Requires: gtk-doc
  38. %description devel
  39. Headers and libraries for DeviceKit.
  40. %prep
  41. %setup -q
  42. %build
  43. %configure
  44. make
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  49. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %defattr(-,root,root,-)
  56. %doc README AUTHORS NEWS COPYING HACKING doc/TODO
  57. %{_bindir}/*
  58. %{_libexecdir}/*
  59. %{_libdir}/lib*.so.*
  60. %{_mandir}/man1/*
  61. %{_mandir}/man7/*
  62. %{_mandir}/man8/*
  63. %{_sysconfdir}/dbus-1/system.d/*
  64. %{_sysconfdir}/udev/rules.d/*
  65. %{_datadir}/dbus-1/system-services/*
  66. %dir %{_localstatedir}/run/devkit
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_libdir}/lib*.so
  70. %{_libdir}/pkgconfig/*
  71. %{_includedir}/*
  72. %{_datadir}/dbus-1/interfaces/*
  73. %dir %{_datadir}/gtk-doc/html/devkit
  74. %{_datadir}/gtk-doc/html/devkit/*
  75. %changelog
  76. * Sun Sep 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 003-2
  77. - rebuild with new environment
  78. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 003-1
  79. - initial build for Vine Linux
  80. * Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 003-1%{?dist}
  81. - Update to release 003
  82. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-9
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  84. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-8
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  86. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-7
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  88. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-6
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  90. * Fri Dec 12 2008 Colin Walters <walters@verbum.org> - 002-5
  91. - Fix permissions patch
  92. * Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 002-4
  93. - Add dbus permissions patch
  94. * Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> - 002-3
  95. - Update to 002
  96. * Sun Jul 20 2008 David Zeuthen <davidz@redhat.com> - 002-0.git20080720%{?dist}
  97. - Initial packaging