]>
Commit | Line | Data |
---|---|---|
437690d8 KM |
1 | Summary: A LV2 Development SDK |
2 | Summary(pl.UTF-8): Narzędzia programistyczne LV2 | |
3 | Name: lv2-c++-tools | |
f9de870f | 4 | Version: 1.0.5 |
437690d8 KM |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: Libraries | |
8 | Source0: http://download.savannah.nongnu.org/releases/ll-plugins/%{name}-%{version}.tar.bz2 | |
f9de870f | 9 | # Source0-md5: 4707f2507f86d6c7bbaa809bb52eed9b |
a7caa650 | 10 | URL: http://ll-plugins.nongnu.org/hacking.html |
2a9d83d5 | 11 | BuildRequires: bash >= 3.0 |
437690d8 KM |
12 | BuildRequires: boost-devel |
13 | BuildRequires: gtkmm-devel >= 2.8.8 | |
66e84895 | 14 | BuildRequires: pkgconfig |
d20b281c | 15 | BuildRequires: sed >= 4.0 |
437690d8 KM |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | This software package contains libraries and programs that should make | |
20 | it easier to write LV2 plugins. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Pakiet ten zawiera biblioteki i programy, które powinny przyczynić | |
24 | się do łatwiejszego pisania wtyczek LV2. | |
25 | ||
26 | %package devel | |
a7caa650 JB |
27 | Summary: Header files for LV2-C++-tools libraries |
28 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek LV2-C++-tools | |
437690d8 KM |
29 | Group: Development/Libraries |
30 | Requires: %{name} = %{version}-%{release} | |
7fd14dc0 JB |
31 | Requires: libstdc++-devel |
32 | # lv2-gui additionally gtkmm-devel >= 2.6.0 | |
437690d8 KM |
33 | |
34 | %description devel | |
a7caa650 | 35 | Header files for LV2-C++-tools libraries. |
437690d8 KM |
36 | |
37 | %description devel -l pl.UTF-8 | |
a7caa650 | 38 | Pliki nagłówkowe bibliotek LV2-C++-tools. |
437690d8 KM |
39 | |
40 | %package static | |
a7caa650 JB |
41 | Summary: Static LV2 libpaq library |
42 | Summary(pl.UTF-8): Statyczna biblioteka LV2 libpaq | |
437690d8 KM |
43 | Group: Development/Libraries |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
a7caa650 | 47 | Static LV2 libpaq library. |
437690d8 KM |
48 | |
49 | %description static -l pl.UTF-8 | |
a7caa650 | 50 | Statyczna biblioteka LV2 libpaq. |
437690d8 | 51 | |
437690d8 KM |
52 | %prep |
53 | %setup -q | |
66e84895 | 54 | %{__sed} -i -e '/sbin\/ldconfig -n /d' Makefile.template |
437690d8 KM |
55 | |
56 | %build | |
57 | ./configure \ | |
58 | --prefix=%{_prefix} \ | |
59 | --libdir=%{_libdir} \ | |
66e84895 | 60 | --CXX="%{__cxx}" \ |
61 | --CFLAGS="%{rpmcppflags} %{rpmcxxflags}" \ | |
62 | --LDFLAGS="%{rpmcxxflags} %{rpmldflags}" | |
437690d8 KM |
63 | |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
9495d1c6 | 72 | %{__ldconfig} -n $RPM_BUILD_ROOT%{_libdir} |
73 | ||
437690d8 KM |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %post -p /sbin/ldconfig | |
78 | %postun -p /sbin/ldconfig | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
82 | %doc AUTHORS ChangeLog README | |
66e84895 | 83 | %attr(755,root,root) %{_bindir}/lv2peg |
84 | %attr(755,root,root) %{_bindir}/lv2soname | |
46030848 | 85 | %attr(755,root,root) %{_libdir}/libpaq.so.*.* |
86 | %attr(755,root,root) %ghost %{_libdir}/libpaq.so.0 | |
437690d8 KM |
87 | |
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
a7caa650 JB |
90 | %attr(755,root,root) %{_libdir}/libpaq.so |
91 | %{_libdir}/liblv2-gui.a | |
92 | %{_libdir}/liblv2-plugin.a | |
437690d8 | 93 | %{_includedir}/lv2-c++-tools |
a7caa650 JB |
94 | %{_pkgconfigdir}/lv2-plugin.pc |
95 | %{_pkgconfigdir}/lv2-gui.pc | |
96 | %{_pkgconfigdir}/paq.pc | |
437690d8 KM |
97 | |
98 | %files static | |
99 | %defattr(644,root,root,755) | |
66e84895 | 100 | %{_libdir}/libpaq.a |