8bb799f
Name:           gtk-sharp2
Timotheus Pokorra 01e7c95
Version:        2.12.45
6691ec8
Release:        3%{?dist}
8bb799f
Summary:        GTK+ and GNOME bindings for Mono
8bb799f
8bb799f
Group:          System Environment/Libraries
e663d1a
License:        LGPLv2+
e7291ca
URL:            http://www.mono-project.com/GtkSharp
33bd5e8
Source0:        http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.gz
33bd5e8
Patch0:         gtk-sharp2-2.12.12-glib-include.patch
8a23749
8f04f68
BuildRequires:  mono-devel gtk2-devel libglade2-devel monodoc
33bd5e8
BuildRequires:  autoconf, automake, libtool
64a134c
BuildRequires:  perl-generators
8bb799f
67c4ba0
# Mono only available on these:
af16b57
ExclusiveArch: %mono_arches
8bb799f
8bb799f
%description
8bb799f
This package provides a library that allows you to build
8bb799f
fully native graphical GNOME applications using Mono. Gtk#
8bb799f
is a binding to GTK+, the cross platform user interface
8bb799f
toolkit used in GNOME. It includes bindings for Gtk, Atk,
1064af5
Pango, Gdk. 
8bb799f
8bb799f
%package gapi
8bb799f
Group:        Development/Languages
8bb799f
Summary:      Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET
8bb799f
Requires:     perl-XML-LibXML-Common perl-XML-LibXML perl-XML-SAX
8bb799f
8bb799f
%description gapi
8bb799f
This package provides developer tools for the creation and
nigelj 3b91e49
maintenance of managed bindings to native libraries which utilize
8bb799f
glib and GObject. Some examples of libraries currently bound using
1064af5
the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk.
1064af5
1064af5
%package devel
e7291ca
Summary:      Files needed for developing with gtk-sharp2
7029832
Group:        Development/Libraries
1064af5
Requires: %{name} = %{version}-%{release}
8feca04
Requires: pkgconfig
1064af5
1064af5
%description devel
1064af5
This package provides the necessary development libraries and headers
1064af5
for writing gtk-sharp2 applications.
8bb799f
7029832
%package doc
7029832
Group:        Documentation
7029832
Summary:      Gtk# documentation
b8a5909
Requires:     %{name} = %{version}-%{release}
b8a5909
Requires:     monodoc
7029832
7029832
%description doc
7029832
This package provides the Gtk# documentation for monodoc.
7029832
8bb799f
%prep
Paul F. Johnson 85ef71a
%setup -q -n gtk-sharp-%{version}
33bd5e8
%patch0 -p1 -b .glib
8bb799f
e7291ca
# Fix permissions of source files
e7291ca
find -name '*.c' -exec chmod a-x {} \;
e663d1a
8bb799f
%build
33bd5e8
autoreconf -vif
b9b8ee4
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
8bb799f
%configure
215bc1a
make
8bb799f
8bb799f
%install
b9b8ee4
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
bd225c5
make install DESTDIR=$RPM_BUILD_ROOT
feebb0a
33bd5e8
#Remove libtool archive and static libs
33bd5e8
find %{buildroot} -type f -name "*.la" -delete
33bd5e8
find %{buildroot} -type f -name "*.a" -delete
8bb799f
1064af5
%post -p /sbin/ldconfig
1064af5
%postun -p /sbin/ldconfig
1064af5
8bb799f
%files
8bb799f
%defattr(-,root,root,-)
8bb799f
%doc COPYING ChangeLog README
8bb799f
%{_libdir}/*.so
bd225c5
%dir %{_prefix}/lib/gtk-sharp-2.0
bd225c5
%{_prefix}/lib/mono/gac
bd225c5
%{_prefix}/lib/mono/gtk-sharp-2.0
8bb799f
8bb799f
%files gapi
8bb799f
%defattr(-,root,root,-)
8bb799f
%{_bindir}/gapi2-codegen
8bb799f
%{_bindir}/gapi2-fixup
8bb799f
%{_bindir}/gapi2-parser
bd225c5
%{_prefix}/lib/gtk-sharp-2.0/gapi_codegen.exe
bd225c5
%{_prefix}/lib/gtk-sharp-2.0/gapi-fixup.exe
bd225c5
%{_prefix}/lib/gtk-sharp-2.0/gapi-parser.exe
bd225c5
%{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl
bd225c5
%{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl
1064af5
%{_datadir}/gapi-2.0
8bb799f
%{_libdir}/pkgconfig/gapi-2.0.pc
1064af5
1064af5
%files devel
1064af5
%defattr(-,root,root,-)
1064af5
%{_libdir}/pkgconfig/*-sharp-2.0.pc
1064af5
%{_libdir}/pkgconfig/gtk-dotnet-2.0.pc
8bb799f
7029832
%files doc
7029832
%defattr(-,root,root,-)
bd225c5
%{_prefix}/lib/monodoc/sources/*
7029832
8bb799f
%changelog
6691ec8
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.45-3
6691ec8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6691ec8
dbb65f1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.45-2
dbb65f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
dbb65f1
Timotheus Pokorra 01e7c95
* Mon Jun 26 2017 Timotheus Pokorra <tp@tbits.net> - 2.12.45-1
Timotheus Pokorra 01e7c95
- Update to 2.12.45
Timotheus Pokorra 01e7c95
Timotheus Pokorra 6903151
* Thu Apr 06 2017 Timotheus Pokorra <tp@tbits.net> - 2.12.43-1
Timotheus Pokorra 6903151
- Update to 2.12.43
Timotheus Pokorra 6903151
eb181fd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.42-2
eb181fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eb181fd
Timotheus Pokorra 677dbc0
* Thu Nov 17 2016 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 2.12.42-1
Timotheus Pokorra 677dbc0
- Update to 2.12.42
Timotheus Pokorra 677dbc0
55d1ba9
* Thu Oct 13 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.26-4
55d1ba9
- mono rebuild for aarch64 support
55d1ba9
198f8b1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.26-3
198f8b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
198f8b1
e6d11e7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.26-2
e6d11e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6d11e7
33bd5e8
* Mon May 18 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.12.26-1
33bd5e8
- Update to 2.12.26
33bd5e8
6609047
* Mon May 18 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.12.11-14
6609047
- Rebuild (mono4)
6609047
af16b57
* Mon Mar 23 2015 Than Ngo <than@redhat.com> - 2.12.11-13
af16b57
- use %%mono_arches
af16b57
10ecb3c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.11-12
10ecb3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
10ecb3c
052f91d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.11-11
052f91d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
052f91d
Brent Baude 8074f34
* Sat May 24 2014 Brent Baude <baude@us.ibm.com> - 2.12.11-10
Brent Baude 8074f34
- Changing ppc64 to power64 macro
Brent Baude 8074f34
49ac39d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.11-9
49ac39d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
49ac39d
7326337
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.12.11-8
7326337
- Perl 5.18 rebuild
7326337
422aabb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.11-7
422aabb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
422aabb
b542768
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.11-6
b542768
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b542768
5932e54
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.11-5
5932e54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5932e54
7a95199
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.12.11-4
7a95199
- Rebuild for new libpng
7a95199
361cc46
* Sun Oct 23 2011 Christian Krause <chkr@fedoraproject.org> - 2.12.11-3
361cc46
- Fix glib include
361cc46
bd225c5
* Sun Oct 23 2011 Christian Krause <chkr@fedoraproject.org> - 2.12.11-2
bd225c5
- Change paths for mono assemblies according to updated packaging
bd225c5
  guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
bd225c5
24e9ca6
* Sun Sep 04 2011 Christian Krause <chkr@fedoraproject.org> - 2.12.11-1
24e9ca6
- Update to new upstream version
24e9ca6
Paul Whalen c97dda9
* Wed Jun 01 2011 Paul Whalen <paul.whalen@senecac.on.ca> - 2.12.10-8
Paul Whalen c97dda9
- Updated to arm macro in ExclusiveArch
Paul Whalen c97dda9
6dfef83
* Mon Mar 28 2011 Christian Krause <chkr@fedoraproject.org> - 2.12.10-7
6dfef83
- Minor spec file cleanup
6dfef83
- Rebuilt against mono 2.10
6dfef83
a46f8aa
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.10-6
a46f8aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a46f8aa
49e2008
* Wed Nov 24 2010 Dan HorĂ¡k <dan[at]danny.cz> - 2.12.10-5
49e2008
- sync ExclusiveArch list with mono
49e2008
04ff0ef
* Thu Oct 28 2010 Christian Krause <chkr@fedoraproject.org> - 2.12.10-4
04ff0ef
- Rebuild again to create correct requires/provides capabilities
04ff0ef
Paul F. Johnson c8d4b78
* Sat Oct 09 2010 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.12.10-4
Paul F. Johnson c8d4b78
- Rebuild for new mono
Paul F. Johnson c8d4b78
- Alter exported CAIRO_LIB to 2.0
Paul F. Johnson c8d4b78
8f04f68
* Mon Apr 05 2010 Christian Krause <chkr@fedoraproject.org> - 2.12.10-3
8f04f68
- Add missing BR monodoc
8f04f68
b8a5909
* Mon Apr 05 2010 Christian Krause <chkr@fedoraproject.org> - 2.12.10-2
b8a5909
- Fix monodoc integration (#550144)
b8a5909
e7291ca
* Fri Apr 02 2010 Christian Krause <chkr@fedoraproject.org> - 2.12.10-1
e7291ca
- Update to new upstream version
e7291ca
- Minor spec file cleanup
e7291ca
Paul F. Johnson 85ef71a
* Wed Sep 09 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.12.9-1
Paul F. Johnson 85ef71a
- Bump to newer version
Paul F. Johnson 85ef71a
- Fixed doc patch
Paul F. Johnson 85ef71a
- Spec file cleanup
Paul F. Johnson 85ef71a
ba67c5e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.7-6
ba67c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ba67c5e
734b9ac
* Sat May 23 2009 Xavier lamien <laxathom@fedoraproject.org> - 2.12.7-5
734b9ac
- Build ppc64.
734b9ac
12740e2
* Tue May 12 2009 Karsten Hopp <karsten@redhat.com> 2.12.7-4.1
12740e2
- mono is available on s390(x)
12740e2
0eb670e
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.7-4
0eb670e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0eb670e
9354882
* Tue Dec 30 2008 Dennis Gilmore <dennis@ausil.us> - 2.12.7-3
9354882
- build 32 bit sparc sparcv9
9354882
6963a58
* Sat Dec 20 2008 Xavier lamien <lxtnow[at]gmail.com> - 2.12.7-2
6963a58
- Rebuild.
6963a58
cd03aa4
* Fri Dec 12 2008 Xavier lamien <lxtnow[at]gmail.com> - 2.12.7-1
cd03aa4
- Update release.
cd03aa4
cd03aa4
* Mon Dec 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.12.5-2
7ec7f51
- Rebuild to fix pkg-config autoprovides
7ec7f51
ea5256e
* Sat Nov 08 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.12.5-1
ea5256e
- Update release.
ea5256e
ef94bbf
* Wed Oct 22 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.12.4-1
ef94bbf
- Update release.
ef94bbf
nigelj 3b91e49
* Thu Sep 18 2008 Nigel Jones <dev@nigelj.com> - 2.12.3-1
nigelj 3b91e49
- New minor release (.3)
nigelj 3b91e49
89f9307
* Mon Jul 14 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.12.1-3
89f9307
- Fix/Update libdir on GACUTIL & monodoc.
89f9307
18b09a2
* Mon Jul 14 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.12.1-2
18b09a2
- Rebuild for fixed RPM for mono provides.
18b09a2
96ca5df
* Sun Jul 13 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.12.1-1
96ca5df
- Update release.
96ca5df
469b1e6
* Sat May 31 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.12.0-2
469b1e6
- Fixed monodoc libdir.
469b1e6
469b1e6
* Fri May 23 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.12.0-1
b9f1875
- Updated Release.
b9f1875
feebb0a
* Mon Mar 03 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.10.3-2
feebb0a
- Fixed Assembly_dir on Rawhide (bug #434286).
feebb0a
e7291ca
* Wed Feb 27 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.10.3-1
e167891
- Updated Release.
e167891
- Updated -libdir.patch against new release.
f9b0ebe
e663d1a
* Tue Jan 01 2008 Xavier Lamien <lxtnow[at]gmail.com> - 2.10.2-1
e663d1a
- Updated Release.
e663d1a
- Fixed lisence tag.
e663d1a
- Fixed source0 path.
e663d1a
7af6b94
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.10.0-6
7af6b94
- Rebuild for selinux ppc32 issue.
7af6b94
67c4ba0
* Thu Jul 26 2007 Matthias Clasen  <mclasen@redhat.com> - 2.10.4-5
67c4ba0
- Add alpha to ExclusiveArch (#246206)
67c4ba0
8e2f89a
* Tue Apr 17 2007 Alexander Larsson <alexl@redhat.com> 2.10.0-4
8e2f89a
- Rebuild (#236295)
8e2f89a
7029832
* Tue Sep 12 2006 Alexander Larsson <alexl@redhat.com> - 2.10.0-3
7029832
- Add -doc subpackage with the monodoc docs (#205561)
7029832
479672c
* Mon Sep 11 2006 Alexander Larsson <alexl@redhat.com> - 2.10.0-2
479672c
- Fix pc files for gapidir (#205979)
479672c
429332e
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.10.0-1.fc6
429332e
- Update to 2.10.0
429332e
8feca04
* Fri Aug 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.9.0-2.fc6
8feca04
- Fix pkgconfig requires
8feca04
1064af5
* Mon Aug 14 2006 Alexander Larsson <alexl@redhat.com> - 2.9.0-1
1064af5
- update to 2.9.0, which splits out gnome stuff to gnome-sharp
1064af5
- Split out devel package
1064af5
d7506d3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
d7506d3
- rebuild
d7506d3
76fccae
* Fri Jun  9 2006 Alexander Larsson <alexl@redhat.com> - 2.8.2-2
76fccae
- Disable on s390* as mono doesn't build on s390 atm
76fccae
8d28e23
* Fri Mar  3 2006 Christopher Aillon <caillon@redhat.com> - 2.8.2-1
8d28e23
- Update to 2.8.2 to fix an issue with marshalling on x86-64
8d28e23
336ae72
* Fri Feb 10 2006 Christopher Aillon <caillon@redhat.com> - 2.8.1-1
336ae72
- Update to 2.8.1
336ae72
ef7e6c9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.8.0-1.1
ef7e6c9
- rebuilt for new gcc4.1 snapshot and glibc changes
ef7e6c9
3ba0cee
* Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> 2.8.0-1
3ba0cee
- Update to 2.8.0
3ba0cee
bf0199e
* Thu Jan 19 2006 Alexander Larsson <alexl@redhat.com> 2.4.0-3
bf0199e
- Mono now builds on s390x
bf0199e
12b5b7c
* Mon Jan  9 2006 Alexander Larsson <alexl@redhat.com> - 2.4.0-2
8a23749
- Fix vte build
12b5b7c
8bb799f
* Tue Nov 15 2005 Alexander Larsson <alexl@redhat.com> - 2.4.0-1
8bb799f
- Initial version