]> git.pld-linux.org Git - packages/++DFB.git/blame - ++DFB.spec
- note where new versions can be found
[packages/++DFB.git] / ++DFB.spec
CommitLineData
b8c9eb14 1# NOTE: for version >= 1.7.0+ see -c++-* subpackages in DirectFB.spec
cc584963 2Summary: Advanced version of C++ binding for DirectFB
9982f927 3Summary(pl.UTF-8): Zaawansowana wersja interfejsu C++ do DirectFB
cc584963 4Name: ++DFB
e80a9a07 5Version: 1.4.2
b8c9eb14 6Release: 1.1
cc584963
JB
7License: LGPL v2+
8Group: Libraries
5f705eb8 9Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz
e80a9a07 10# Source0-md5: 7f2672b391d9987f16a0768e87f12306
b8c9eb14 11URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB
cc584963
JB
12BuildRequires: DirectFB-devel >= 1:%{version}
13BuildRequires: autoconf >= 2.52
14BuildRequires: automake
15BuildRequires: libstdc++-devel
16BuildRequires: libtool >= 2:1.5
17BuildRequires: pkgconfig
18Provides: __DFB = %{version}-%{release}
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22++DFB is an advanced version of DFB++. It's an incompatible fork
23with fundamental changes.
24
25Applications no longer deal with interface pointers. The classes
26wrapping around interfaces are used as container for an interface
27pointer, providing garbage collection the "direct" way 8-)
28
c884af27 29%description -l pl.UTF-8
cc584963 30++DFB to zaawansowana wersja DFB++. Jest to niekompatybilne
c884af27 31odgałęzienie z zasadniczymi zmianami.
cc584963 32
c884af27
JR
33Aplikacje nie zajmują się już wskaźnikami do interfejsów. Klasy
34obudowujące interfejsy są używane jako kontenery dla wskaźnika na
35interfejs, udostępniając odśmiecanie w "bezpośredni" sposób.
cc584963
JB
36
37%package devel
38Summary: ++DFB header files
9982f927 39Summary(pl.UTF-8): Pliki nagłówkowe ++DFB
cc584963
JB
40Group: Development/Libraries
41# rpm can't stand cap beginning with '+'
42#Requires: %{name} = %{version}-%{release}
43Requires: __DFB = %{version}-%{release}
44Requires: DirectFB-devel >= 1:%{version}
45Requires: libstdc++-devel
46Provides: __DFB-devel = %{version}-%{release}
47
48%description devel
49Header files for ++DFB library.
50
c884af27
JR
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki ++DFB.
cc584963
JB
53
54%package static
55Summary: ++DFB static library
9982f927 56Summary(pl.UTF-8): Statyczna biblioteka ++DFB
cc584963
JB
57Group: Development/Libraries
58# rpm can't stand cap beginning with '+'
59#Requires: %{name}-devel = %{version}-%{release}
60Requires: __DFB-devel = %{version}-%{release}
61
62%description static
63++DFB static library.
64
c884af27 65%description static -l pl.UTF-8
cc584963
JB
66Statyczna biblioteka ++DFB.
67
68%prep
69%setup -q
70
71%build
72%{__libtoolize}
73%{__aclocal}
74%{__autoconf}
75%{__autoheader}
76%{__automake}
77%configure \
78 --enable-static
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88install examples/simple.cpp $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
96%files
97%defattr(644,root,root,755)
e80a9a07 98%doc AUTHORS ChangeLog README
5f705eb8
JB
99%attr(755,root,root) %{_bindir}/dfbplay
100# not needed, conflict with DFB++
cc584963
JB
101#%attr(755,root,root) %{_bindir}/dfbshow
102#%attr(755,root,root) %{_bindir}/dfbswitch
e80a9a07
JB
103%attr(755,root,root) %{_libdir}/lib++dfb-1.4.so.*.*.*
104%attr(755,root,root) %ghost %{_libdir}/lib++dfb-1.4.so.2
cc584963
JB
105
106%files devel
107%defattr(644,root,root,755)
108%attr(755,root,root) %{_bindir}/++dfb-config
109%attr(755,root,root) %{_libdir}/lib++dfb.so
110%{_libdir}/lib++dfb.la
111%{_includedir}/++dfb
e80a9a07 112%{_pkgconfigdir}/++dfb.pc
cc584963
JB
113%{_examplesdir}/%{name}-%{version}
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/lib++dfb.a
This page took 0.068878 seconds and 4 git commands to generate.