gudev-sharp-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %define tagname GUDEV_SHARP_0_1
  2. %define relvers 0
  3. %define tsuffix g2c53e2f
  4. %define dsuffix cd3e7df
  5. %global debug_package %{nil}
  6. Name: gudev-sharp
  7. Version: 0.1
  8. Release: 2%{?_dist_release}
  9. Summary: C# bindings for gudev
  10. Group: Development/Libraries
  11. License: LGPLv2
  12. URL: http://github.com/mono/%{name}
  13. # Releases are tarballs downloaded from a tag at github.
  14. # They are releases, but the file is generated on the fly.
  15. # The actual URL is: http://github.com/mono/$name/tarball/$tagname
  16. Source0: mono-%{name}-%{tagname}-%{relvers}-%{tsuffix}.tar.gz
  17. BuildRequires: mono-devel
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. BuildRequires: libgudev1-devel
  21. BuildRequires: gtk2-devel
  22. BuildRequires: gtk-sharp2
  23. BuildRequires: gtk-sharp2-gapi
  24. # Mono only available on these:
  25. ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %package devel
  29. Summary: Development files for gudev-sharp
  30. Requires: pkgconfig
  31. Requires: %{name} = %{version}-%{release}
  32. %description
  33. C# bindings for gudev
  34. %description devel
  35. Development files for gudev-sharp
  36. %prep
  37. %setup -q -n mono-%{name}-%{dsuffix}
  38. %build
  39. sed -i 's|^\./configure.*||' autogen.sh # Remove the configure step, we'll do it manually
  40. ./autogen.sh
  41. %configure --libdir=%{_prefix}/lib
  42. make %{?_smp_mflags}
  43. %install
  44. make install DESTDIR=$RPM_BUILD_ROOT
  45. chmod 644 `find $RPM_BUILD_ROOT%{_prefix}/lib/mono -name '*.dll.config'`
  46. rm -f $RPM_BUILD_ROOT%{_prefix}/lib/mono/%{name}-1.0/%{name}.dll.config
  47. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  48. test "%{_libdir}" = "%{_prefix}/lib" || mv $RPM_BUILD_ROOT/%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS ChangeLog LICENSE.LGPL NEWS
  52. %{_prefix}/lib/mono/gac/%{name}
  53. %{_prefix}/lib/mono/%{name}-1.0
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_libdir}/pkgconfig/%{name}-1.0.pc
  57. %changelog
  58. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2
  59. - rebuild with VineSeed environment
  60. * Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-1
  61. - initial build for Vine Linux
  62. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  64. * Sun Jan 01 2012 Christian Krause <chkr@fedoraproject.org> - 0.1-7
  65. - Add mandatory BR mono-devel
  66. * Mon Oct 31 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-6
  67. - Change paths for mono assemblies according to updated packaging
  68. guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
  69. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  71. * Mon Jan 10 2011 Dan Horák <dan[at]danny.cz> - 0.1-4
  72. - updated the supported arch list
  73. * Mon Oct 04 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-3
  74. - Fix directory ownership
  75. * Sun Oct 03 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-2
  76. - Fix -devel requires (pkgconfig, base package)
  77. - Disable debuginfo
  78. * Wed Sep 29 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-1
  79. - Initial version