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