]>
Commit | Line | Data |
---|---|---|
44c33d9c JB |
1 | Summary: .NET bindings for libextractor |
2 | Summary(pl.UTF-8): Wiązania .NET do biblioteki libextractor | |
3 | Name: dotnet-libextractor | |
4 | Version: 0.5.23 | |
5 | Release: 1 | |
6 | License: GPL v3+ | |
7 | Group: Libraries | |
8 | Source0: http://ftp.gnu.org/gnu/libextractor/libextractor-mono-%{version}.tar.gz | |
9 | # Source0-md5: 5353c113cd9ad9e8996dcca549ab5d4b | |
10 | URL: http://www.gnu.org/software/libextractor/ | |
11 | BuildRequires: mono-csharp | |
12 | BuildRequires: rpmbuild(monoautodeps) | |
13 | BuildRequires: sed >= 4.0 | |
14 | Requires: libextractor >= 1.0 | |
15 | Requires: mono | |
16 | ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64 | |
17 | ExcludeArch: i386 | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | This package provides bindings for .NET to GStreamer libraries. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera. | |
25 | ||
26 | %package devel | |
27 | Summary: Development files for LibExtractor .NET library | |
28 | Summary(pl.UTF-8): Pliki programistyczne biblioteki .NET LibExtractor | |
29 | Group: Development/Libraries | |
30 | Requires: %{name} = %{version}-%{release} | |
31 | ||
32 | %description devel | |
33 | Development files for LibExtractor .NET library. | |
34 | ||
35 | %description devel -l pl.UTF-8 | |
36 | Pliki programistyczne biblioteki .NET LibExtractor. | |
37 | ||
38 | %prep | |
39 | %setup -q -n LibExtractor | |
40 | ||
41 | %{__sed} -i -e 's/libextractor\.so\.1\.1\.1/libextractor.so.3/' LibExtractor/LibExtractor.dll.config | |
42 | ||
43 | %build | |
44 | # not autoconf configure | |
45 | ./configure \ | |
46 | --prefix=%{_prefix} | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | # avoid conflict with libextractor.pc from C library | |
57 | %{__mv} $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/{libextractor,LibExtractor}.pc | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post -p /sbin/ldconfig | |
63 | %postun -p /sbin/ldconfig | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
67 | %doc AUTHORS | |
68 | %dir %{_prefix}/lib/libextractor | |
69 | %{_prefix}/lib/libextractor/LibExtractor.dll | |
70 | %{_prefix}/lib/libextractor/LibExtractor.dll.config | |
71 | ||
72 | %files devel | |
73 | %defattr(644,root,root,755) | |
74 | %{_prefix}/lib/pkgconfig/LibExtractor.pc |