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