1 Summary: An XMP support library
2 Summary(pl.UTF-8): Biblioteka obsługująca XMP
8 Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: aa22ca8a84e0f768775dc2b22501822e
10 BuildRequires: boost-devel >= 1.33.1
11 BuildRequires: expat-devel >= 1.95
12 BuildRequires: libstdc++-devel
13 BuildConflicts: boost-test-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 XMP parsing and IO library.
19 %description -l pl.UTF-8
20 Biblioteka do analizy oraz wejścia/wyjścia XMP.
23 Summary: Header files for exempi
24 Summary(pl.UTF-8): Pliki nagłówkowe exempi
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: expat-devel >= 1.95
28 Requires: libstdc++-devel
31 Header files for exempi.
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe exempi.
37 Summary: Sample exempi programs
38 Summary(pl.UTF-8): Przykładowe programy exempi
39 Group: Applications/Archiving
42 Sample programs using exempi library
44 %description devel -l pl.UTF-8
45 Przykładowe programy używające biblioteki exempi
48 Summary: Static exempi library
49 Summary(pl.UTF-8): Statyczna biblioteka exempi
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 Static exempi library.
56 %description static -l pl.UTF-8
57 Statyczna biblioteka exempi.
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_bindir}
71 DESTDIR=$RPM_BUILD_ROOT
73 install samples/source/{dumpmainxmp,dumpxmp,xmpcoverage,xmpfilescoverage} $RPM_BUILD_ROOT%{_bindir}
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %defattr(644,root,root,755)
83 %doc AUTHORS COPYING ChangeLog NEWS README
84 %attr(755,root,root) %{_libdir}/libexempi.so.*.*
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libexempi.so
89 %{_libdir}/libexempi.la
90 %{_includedir}/exempi-2.0
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*
98 %defattr(644,root,root,755)
99 %{_libdir}/libexempi.a