SPECS: dotnet-libgphoto2-sharp.spec (NEW) - new

qboosh qboosh at pld-linux.org
Tue Dec 12 11:23:01 CET 2006


Author: qboosh                       Date: Tue Dec 12 10:23:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   dotnet-libgphoto2-sharp.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dotnet-libgphoto2-sharp.spec
diff -u /dev/null SPECS/dotnet-libgphoto2-sharp.spec:1.1
--- /dev/null	Tue Dec 12 11:23:01 2006
+++ SPECS/dotnet-libgphoto2-sharp.spec	Tue Dec 12 11:22:56 2006
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.mono
+Summary:	.NET binding to libgphoto2
+Summary(pl):	Wiązanie .NET dla libgphoto2
+Name:		dotnet-libgphoto2-sharp
+Version:	2.3.0
+Release:	1
+License:	LGPL
+Group:		Libraries
+Source0:	http://dl.sourceforge.net/gphoto/libgphoto2-sharp-%{version}.tar.bz2
+# Source0-md5:	5099e2d5ee928a33546eb0c56ad024cd
+Patch0:		%{name}-am.patch
+Patch1:		%{name}-version.patch
+URL:		http://www.gphoto.org/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.9
+BuildRequires:	libgphoto2-devel >= 2.3.0
+BuildRequires:	libtool
+BuildRequires:	mono-csharp >= 1.1.7
+BuildRequires:	rpmbuild(monoautodeps)
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+.NET binding to libgphoto2.
+
+%description -l pl
+Wiązanie .NET dla libgphoto2.
+
+%package devel
+Summary:	Development files for .NET binding to libgphoto2
+Summary(pl):	Pliki programistyczne wiązani .NET dla libgphoto2
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Development files for .NET binding to libgphoto2.
+
+%description devel -l pl
+Pliki programistyczne wiązani .NET dla libgphoto2.
+
+%prep
+%setup -q -n libgphoto2-sharp-%{version}
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4m
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	cslibdir=%{_prefix}/lib/mono/libgphoto2-sharp
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%{_prefix}/lib/mono/gac/libgphoto2-sharp
+%{_prefix}/lib/mono/libgphoto2-sharp
+
+%files devel
+%defattr(644,root,root,755)
+#%{_prefix}/lib/mono/libgphoto2-sharp
+%{_pkgconfigdir}/libgphoto2-sharp.pc
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/12 10:22:56  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list