]> git.pld-linux.org Git - packages/exempi.git/blame - exempi.spec
- updated to 2.0.1
[packages/exempi.git] / exempi.spec
CommitLineData
debba741 1Summary: An XMP support library
7cc2b3a5 2Summary(pl.UTF-8): Biblioteka obsługująca XMP
debba741 3Name: exempi
bc5c5806 4Version: 2.0.1
df41f371 5Release: 1
debba741
PZ
6License: BSD
7Group: Libraries
8Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
bc5c5806 9# Source0-md5: 8d72412c8a1e0330c4fa57da2d0ef96e
26d74ddd
JB
10BuildRequires: boost-devel >= 1.33.1
11BuildRequires: expat-devel >= 1.95
7cc2b3a5 12BuildRequires: libstdc++-devel
debba741
PZ
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
7cc2b3a5
JB
16XMP parsing and IO library.
17
18%description -l pl.UTF-8
19Biblioteka do analizy oraz wejścia/wyjścia XMP.
debba741
PZ
20
21%package devel
7cc2b3a5
JB
22Summary: Header files for exempi
23Summary(pl.UTF-8): Pliki nagłówkowe exempi
debba741 24Group: Development/Libraries
7cc2b3a5 25Requires: %{name} = %{version}-%{release}
26d74ddd
JB
26Requires: expat-devel >= 1.95
27Requires: libstdc++-devel
debba741
PZ
28
29%description devel
30Header files for exempi.
31
7cc2b3a5
JB
32%description devel -l pl.UTF-8
33Pliki nagłówkowe exempi.
34
debba741 35%package static
7cc2b3a5
JB
36Summary: Static exempi library
37Summary(pl.UTF-8): Statyczna biblioteka exempi
debba741 38Group: Development/Libraries
7cc2b3a5 39Requires: %{name}-devel = %{version}-%{release}
debba741
PZ
40
41%description static
7cc2b3a5
JB
42Static exempi library.
43
44%description static -l pl.UTF-8
45Statyczna biblioteka exempi.
debba741 46
a61a9ec4
JB
47%package samples
48Summary: Sample exempi programs
49Summary(pl.UTF-8): Przykładowe programy exempi
50Group: Applications/Archiving
7a2400b9 51# doesn't require base, statically linked with exempi code
a61a9ec4
JB
52
53%description samples
54Sample programs using exempi library.
55
56%description devel -l pl.UTF-8
57Przykładowe programy używające biblioteki exempi.
58
debba741
PZ
59%prep
60%setup -q
61
62%build
7a2400b9
JB
63# configure fails on boost linking check
64%configure \
65 ax_cv_boost_unit_test_framework=no
debba741
PZ
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
df41f371
TP
70install -d $RPM_BUILD_ROOT%{_bindir}
71
debba741
PZ
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
74
df41f371
TP
75install samples/source/{dumpmainxmp,dumpxmp,xmpcoverage,xmpfilescoverage} $RPM_BUILD_ROOT%{_bindir}
76
debba741
PZ
77%clean
78rm -rf $RPM_BUILD_ROOT
79
7cc2b3a5
JB
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
debba741
PZ
83%files
84%defattr(644,root,root,755)
26d74ddd 85%doc AUTHORS COPYING ChangeLog NEWS README
7a2400b9
JB
86%attr(755,root,root) %{_libdir}/libexempi.so.*.*.*
87%attr(755,root,root) %ghost %{_libdir}/libexempi.so.3
debba741
PZ
88
89%files devel
90%defattr(644,root,root,755)
91%attr(755,root,root) %{_libdir}/libexempi.so
92%{_libdir}/libexempi.la
bf30a5e8 93%{_includedir}/exempi-2.0
7a2400b9 94%{_pkgconfigdir}/exempi-2.0.pc
debba741
PZ
95
96%files static
97%defattr(644,root,root,755)
98%{_libdir}/libexempi.a
a61a9ec4
JB
99
100%files samples
101%defattr(644,root,root,755)
102%attr(755,root,root) %{_bindir}/*
This page took 0.115597 seconds and 4 git commands to generate.