source: projects/specs/trunk/g/gkeyfile-sharp/gkeyfile-sharp-vl.spec @ 8068

Revision 8068, 3.6 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define tagname GKEYFILE_SHARP_0_1
2%define relvers 0
3%define tsuffix g07a401a
4%define dsuffix 662c5c1
5
6%global debug_package %{nil}
7
8Name:           gkeyfile-sharp
9Version:        0.1
10Release:        2%{?_dist_release}
11Summary:        C# bindings for glib2's keyfile implementation
12
13Group:          Development/Libraries
14License:        LGPLv2
15URL:            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
19Source0:        mono-%{name}-%{tagname}-%{relvers}-%{tsuffix}.tar.gz
20# Upstream patch to fix DllImport name of libglib (BZ 692784)
21# https://github.com/mono/gkeyfile-sharp/commit/1a1adb8ec4149b4a0a8e55db0e3baa172cbd2c3f
22Patch1:         0001-Change-glib-DllImports-to-libglib-2.0-0.dll.patch
23BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
24
25BuildRequires:  autoconf
26BuildRequires:  automake
27BuildRequires:  glib2-devel
28BuildRequires:  gtk-sharp2
29BuildRequires:  gtk-sharp2-gapi
30BuildRequires:  mono-devel
31
32# Mono only available on these:
33ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x
34
35Vendor: Project Vine
36Distribution: Vine Linux
37
38%package devel
39Summary:        Development files for gkeyfile-sharp
40Requires:       pkgconfig
41Requires:       %{name} = %{version}-%{release}
42
43%description
44C# bindings for glib2's keyfile implementation
45
46%description devel
47Development files for gkeyfile-sharp
48
49%prep
50%setup -q -n mono-%{name}-%{dsuffix}
51%patch1 -p1 -b dllimport-fix
52
53%build
54./autogen.sh
55%configure --libdir=%{_prefix}/lib
56make %{?_smp_mflags}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60make install DESTDIR=$RPM_BUILD_ROOT
61chmod 644 `find $RPM_BUILD_ROOT%{_prefix}/lib/mono -name '*.dll.config'`
62rm -f $RPM_BUILD_ROOT%{_prefix}/lib/mono/%{name}/%{name}.dll.config
63
64mkdir -p %{buildroot}%{_libdir}/pkgconfig
65test "%{_libdir}" = "%{_prefix}/lib" || mv %{buildroot}%{_prefix}/lib/pkgconfig/*.pc %{buildroot}%{_libdir}/pkgconfig/
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(-,root,root,-)
72%doc AUTHORS ChangeLog LICENSE.LGPL NEWS
73%{_prefix}/lib/mono/gac/%{name}
74%{_prefix}/lib/mono/%{name}
75
76%files devel
77%defattr(-,root,root,-)
78%{_libdir}/pkgconfig/%{name}.pc
79
80%changelog
81* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2
82- rebuild with VineSeed environment
83
84* Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-1
85- initial build for Vine Linux
86
87
88* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-9
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
91* Thu Oct 27 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-8
92- Change paths for mono assemblies according to updated packaging
93  guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
94
95* Sun May 08 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-7
96- Add mono-devel as BR for correct generation of the Requires/Provides
97
98* Sun May 08 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-6
99- Fix DllNotFoundException by adding upstream patch (BZ 692784)
100
101* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
102- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
103
104* Tue Jan 04 2011 Dan Horák <dan[at]danny.cz> - 0.1-4
105- updated the supported arch list
106
107* Mon Oct 04 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-3
108- Fix directory ownership
109
110* Sun Oct 03 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-2
111- Fix -devel requires (pkgconfig, base package)
112- Disable debuginfo
113
114* Wed Sep 29 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-1
115- Initial version
116
Note: See TracBrowser for help on using the repository browser.