gudev-sharp-vl.spec 3.4 KB

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