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

Revision 9480, 3.8 KB checked in by inagaki, 9 years ago (diff)

2015-04-01 Ryoichi INAGAKI <ryo1@…>

  • banshee, gdata-sharp, gkeyfile-sharp, gudev-sharp: rebuilt
  • boo: fixed spec
  • taglib-sharp: updated


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:        3%{?_dist_release}
11Summary:        C# bindings for glib2's keyfile implementation
12
13Group:          System Environment/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
24
25BuildRequires:  autoconf
26BuildRequires:  automake
27BuildRequires:  glib2-devel
28BuildRequires:  gtk-sharp2-gapi
29BuildRequires:  gtk-sharp2-devel
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
40Group:          Development/Libraries
41Requires:       pkgconfig
42Requires:       %{name} = %{version}-%{release}
43
44%description
45C# bindings for glib2's keyfile implementation
46
47%description devel
48Development files for gkeyfile-sharp
49
50%prep
51%setup -q -n mono-%{name}-%{dsuffix}
52%patch1 -p1 -b dllimport-fix
53
54%build
55./autogen.sh
56%configure --libdir=%{_prefix}/lib
57make %{?_smp_mflags}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61make install DESTDIR=$RPM_BUILD_ROOT
62chmod 644 `find $RPM_BUILD_ROOT%{_prefix}/lib/mono -name '*.dll.config'`
63rm -f $RPM_BUILD_ROOT%{_prefix}/lib/mono/%{name}/%{name}.dll.config
64
65mkdir -p %{buildroot}%{_libdir}/pkgconfig
66test "%{_libdir}" = "%{_prefix}/lib" || mv %{buildroot}%{_prefix}/lib/pkgconfig/*.pc %{buildroot}%{_libdir}/pkgconfig/
67
68%clean
69rm -rf $RPM_BUILD_ROOT
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}
76
77%files devel
78%defattr(-,root,root,-)
79%{_libdir}/pkgconfig/%{name}.pc
80
81%changelog
82* Wed Apr  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1-3
83- rebuilt with mono 3.12.1
84- moved to System Environment/Libraries Group
85
86* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2
87- rebuild with VineSeed environment
88
89* Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-1
90- initial build for Vine Linux
91
92
93* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-9
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
95
96* Thu Oct 27 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-8
97- Change paths for mono assemblies according to updated packaging
98  guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
99
100* Sun May 08 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-7
101- Add mono-devel as BR for correct generation of the Requires/Provides
102
103* Sun May 08 2011 Christian Krause <chkr@fedoraproject.org> - 0.1-6
104- Fix DllNotFoundException by adding upstream patch (BZ 692784)
105
106* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
107- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
108
109* Tue Jan 04 2011 Dan Horák <dan[at]danny.cz> - 0.1-4
110- updated the supported arch list
111
112* Mon Oct 04 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-3
113- Fix directory ownership
114
115* Sun Oct 03 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-2
116- Fix -devel requires (pkgconfig, base package)
117- Disable debuginfo
118
119* Wed Sep 29 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.1-1
120- Initial version
121
Note: See TracBrowser for help on using the repository browser.