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