]>
Commit | Line | Data |
---|---|---|
7c75d964 | 1 | Summary: Library to manipulate RDF files describing LADSPA plugins |
00eabb48 | 2 | Summary(pl.UTF-8): Biblioteka do przetwarzania plików RDF opisujących wtyczki LADSPA |
10f8452c | 3 | Name: liblrdf |
847f64a6 | 4 | Version: 0.6.1 |
a891ecd7 | 5 | Release: 1 |
ef5fb145 | 6 | License: GPL v2+ |
10f8452c | 7 | Group: Libraries |
a891ecd7 | 8 | #Source0Download: https://github.com/swh/LRDF/releases |
847f64a6 JB |
9 | Source0: https://github.com/swh/LRDF/archive/v%{version}/%{name}-%{version}.tar.gz |
10 | # Source0-md5: 8bb0ac7e8fe1a5a90083c89776bd3deb | |
d13b3176 | 11 | URL: http://sourceforge.net/projects/lrdf/ |
ef5fb145 | 12 | BuildRequires: autoconf >= 2.50 |
7b8c2120 | 13 | BuildRequires: automake |
a891ecd7 | 14 | BuildRequires: libraptor2-devel >= 2.0.0 |
7b8c2120 | 15 | BuildRequires: libtool |
0612d487 | 16 | BuildRequires: ladspa-devel |
a891ecd7 | 17 | BuildRequires: openssl-devel |
8e13657d | 18 | BuildRequires: pkgconfig |
6e24d63b | 19 | Requires: ladspa-common |
10f8452c JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
7c75d964 JB |
23 | This is a library to make it easy to manipulate RDF files describing |
24 | LADSPA plugins. It can also be used for general RDF manipulation. It | |
25 | can read RDF/XML and N3 files and export N3 files. | |
26 | ||
2eea1a51 JR |
27 | %description -l pl.UTF-8 |
28 | Ta biblioteka powstała, aby ułatwić przetwarzanie plików RDF | |
29 | opisujących wtyczki LADSPA. Może być używana także do ogólnego | |
30 | przetwarzania RDF. Jest w stanie czytać pliki RDF/XML i N3 oraz | |
31 | eksportować do plików N3. | |
7c75d964 JB |
32 | |
33 | %package devel | |
34 | Summary: liblrdf header files | |
00eabb48 | 35 | Summary(pl.UTF-8): Pliki nagłówkowe liblrdf |
7c75d964 | 36 | Group: Development/Libraries |
195bc21f | 37 | Requires: %{name} = %{version}-%{release} |
a891ecd7 | 38 | Requires: libraptor2-devel >= 2.0.0 |
7c75d964 JB |
39 | |
40 | %description devel | |
41 | liblrdf library header files. | |
42 | ||
2eea1a51 JR |
43 | %description devel -l pl.UTF-8 |
44 | Pliki nagłówkowe biblioteki liblrdf. | |
7c75d964 JB |
45 | |
46 | %package static | |
47 | Summary: Static liblrdf library | |
00eabb48 | 48 | Summary(pl.UTF-8): Statyczna biblioteka liblrdf |
7c75d964 | 49 | Group: Development/Libraries |
195bc21f | 50 | Requires: %{name}-devel = %{version}-%{release} |
7c75d964 JB |
51 | |
52 | %description static | |
53 | Static liblrdf library. | |
54 | ||
2eea1a51 | 55 | %description static -l pl.UTF-8 |
7c75d964 | 56 | Statyczna biblioteka liblrdf. |
10f8452c JB |
57 | |
58 | %prep | |
a891ecd7 | 59 | %setup -q -n LRDF-%{version} |
10f8452c JB |
60 | |
61 | %build | |
7b8c2120 JB |
62 | %{__libtoolize} |
63 | %{__aclocal} | |
64 | %{__autoconf} | |
65 | %{__autoheader} | |
66 | %{__automake} | |
10f8452c | 67 | %configure |
7c75d964 | 68 | |
10f8452c JB |
69 | %{__make} |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
7c75d964 JB |
74 | %{__make} install \ |
75 | DESTDIR=$RPM_BUILD_ROOT | |
10f8452c | 76 | |
12f1a21c AF |
77 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblrdf.la |
78 | ||
10f8452c JB |
79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
7c75d964 JB |
82 | %post -p /sbin/ldconfig |
83 | %postun -p /sbin/ldconfig | |
84 | ||
10f8452c JB |
85 | %files |
86 | %defattr(644,root,root,755) | |
7c75d964 | 87 | %doc AUTHORS ChangeLog README |
ef5fb145 JB |
88 | %attr(755,root,root) %{_libdir}/liblrdf.so.*.*.* |
89 | %attr(755,root,root) %ghost %{_libdir}/liblrdf.so.2 | |
7c75d964 JB |
90 | %{_datadir}/ladspa/rdf/ladspa.rdfs |
91 | ||
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
ef5fb145 | 94 | %attr(755,root,root) %{_libdir}/liblrdf.so |
ef5fb145 JB |
95 | %{_includedir}/lrdf*.h |
96 | %{_pkgconfigdir}/lrdf.pc | |
7c75d964 JB |
97 | |
98 | %files static | |
99 | %defattr(644,root,root,755) | |
ef5fb145 | 100 | %{_libdir}/liblrdf.a |