- release 4
[packages/dotnet-libgphoto2-sharp.git] / dotnet-libgphoto2-sharp.spec
CommitLineData
ece9468a
JB
1%include /usr/lib/rpm/macros.mono
2Summary: .NET binding to libgphoto2
121078cb 3Summary(pl.UTF-8): Wiązanie .NET dla libgphoto2
ece9468a
JB
4Name: dotnet-libgphoto2-sharp
5Version: 2.3.0
002061e0 6Release: 4
ece9468a
JB
7License: LGPL
8Group: Libraries
9Source0: http://dl.sourceforge.net/gphoto/libgphoto2-sharp-%{version}.tar.bz2
10# Source0-md5: 5099e2d5ee928a33546eb0c56ad024cd
11Patch0: %{name}-am.patch
12Patch1: %{name}-version.patch
13URL: http://www.gphoto.org/
14BuildRequires: autoconf >= 2.59
15BuildRequires: automake >= 1:1.9
16BuildRequires: libgphoto2-devel >= 2.3.0
17BuildRequires: libtool
18BuildRequires: mono-csharp >= 1.1.7
19BuildRequires: rpmbuild(monoautodeps)
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23.NET binding to libgphoto2.
24
c046c4d9
JR
25%description -l pl.UTF-8
26Wiązanie .NET dla libgphoto2.
ece9468a
JB
27
28%package devel
29Summary: Development files for .NET binding to libgphoto2
121078cb 30Summary(pl.UTF-8): Pliki programistyczne wiązani .NET dla libgphoto2
ece9468a
JB
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33
34%description devel
35Development files for .NET binding to libgphoto2.
36
c046c4d9
JR
37%description devel -l pl.UTF-8
38Pliki programistyczne wiązani .NET dla libgphoto2.
ece9468a
JB
39
40%prep
41%setup -q -n libgphoto2-sharp-%{version}
42%patch0 -p1
43%patch1 -p1
44
45%build
46%{__libtoolize}
47%{__aclocal} -I m4m
48%{__autoconf}
49%{__automake}
50%configure
205dc520 51%{__make} -j1
ece9468a
JB
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT \
58 cslibdir=%{_prefix}/lib/mono/libgphoto2-sharp
59
205dc520
SS
60%{__sed} -i "/^Libraries/s@%{_libdir}/libgphoto2-sharp@%{_libdir}/mono/libgphoto2-sharp@" \
61 $RPM_BUILD_ROOT%{_pkgconfigdir}/libgphoto2-sharp.pc
62
ece9468a
JB
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68#%{_prefix}/lib/mono/gac/libgphoto2-sharp
69%{_prefix}/lib/mono/libgphoto2-sharp
70
71%files devel
72%defattr(644,root,root,755)
73#%{_prefix}/lib/mono/libgphoto2-sharp
74%{_pkgconfigdir}/libgphoto2-sharp.pc
This page took 0.033423 seconds and 4 git commands to generate.