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