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