]> git.pld-linux.org Git - packages/dotnet-gecko-sharp2.git/commitdiff
- from DEVEL gecko-sharp branch auto/ac/dotnet-gecko-sharp2-0_11-1
authorfreetz <freetz@pld-linux.org>
Thu, 15 Sep 2005 22:17:02 +0000 (22:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dotnet-gecko-sharp2.spec -> 1.1

dotnet-gecko-sharp2.spec [new file with mode: 0644]

diff --git a/dotnet-gecko-sharp2.spec b/dotnet-gecko-sharp2.spec
new file mode 100644 (file)
index 0000000..59a116f
--- /dev/null
@@ -0,0 +1,91 @@
+%include       /usr/lib/rpm/macros.mono
+Summary:       Gecko# - A Gtk# Mozilla binding
+Summary(pl):   Gecko# - wi±zanie Gtk# dla Mozilli
+Name:          dotnet-gecko-sharp2
+Version:       0.11
+Release:       1
+Epoch:         0
+License:       GPL
+Group:         Libraries
+Source0:       http://go-mono.com/sources/gecko-sharp-2.0/gecko-sharp-2.0-%{version}.tar.gz
+# Source0-md5: 7362d710b7fe6a8b5f68a614279147de
+URL:           http://www.mono-project.com/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.3
+BuildRequires: gtk+2-devel >= 2:2.0.0
+BuildRequires: mono-csharp >= 1.1.0
+BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
+BuildConflicts:        gecko-sharp < 0.2
+Requires:      mozilla-embedded
+Provides:      dotnet-gecko
+Provides:      gecko-sharp = %{version}
+Obsoletes:     dotnet-gecko
+Obsoletes:     gecko-sharp
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Gecko# - A Gtk# Mozilla binding.
+
+%description -l pl
+Gecko# - wi±zanie Gtk# dla Mozilli.
+
+%package devel
+Summary:       Gecko# development files
+Summary(pl):   Pliki programistyczne Gecko#
+Group:         Development/Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Provides:      dotnet-gecko-devel
+Provides:      gecko-sharp-devel
+Obsoletes:     dotnet-gecko-devel
+Obsoletes:     gecko-sharp-devel
+
+%description devel
+Gecko# development files.
+
+%description devel -l pl
+Pliki programistyczne Gecko#.
+
+%prep
+%setup -q -n gecko-sharp-2.0-%{version}
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+if ! pkg-config --exists mono; then
+       sed -i -e 's/exec mono/exec mint/' $RPM_BUILD_ROOT%{_bindir}/webshot
+fi
+
+if test -f $RPM_BUILD_ROOT%{_pkgconfigdir} ; then
+  :
+else
+  install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
+  if [ "%{_pkgconfigdir}" != "/usr/lib/pkgconfig" ]; then
+       mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT%{_pkgconfigdir}
+  fi
+fi
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+/usr/lib/mono/gac/gecko-sharp
+
+%files devel
+%defattr(644,root,root,755)
+%{_pkgconfigdir}/*
+%{_libdir}/monodoc/sources/*
+/usr/lib/mono/gecko-sharp-2.0
This page took 0.047615 seconds and 4 git commands to generate.