]>
Commit | Line | Data |
---|---|---|
debba741 | 1 | Summary: An XMP support library |
7cc2b3a5 | 2 | Summary(pl.UTF-8): Biblioteka obsługująca XMP |
debba741 PZ |
3 | Name: exempi |
4 | Version: 1.99.4 | |
5 | Release: 1.1 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 7efeb1c35d19016607911d4ba89c3745 | |
10 | BuildRequires: boost-devel | |
7cc2b3a5 JB |
11 | BuildRequires: expat-devel |
12 | BuildRequires: libstdc++-devel | |
13 | BuildConflicts: boost-test-devel | |
debba741 PZ |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
7cc2b3a5 JB |
17 | XMP parsing and IO library. |
18 | ||
19 | %description -l pl.UTF-8 | |
20 | Biblioteka do analizy oraz wejścia/wyjścia XMP. | |
debba741 PZ |
21 | |
22 | %package devel | |
7cc2b3a5 JB |
23 | Summary: Header files for exempi |
24 | Summary(pl.UTF-8): Pliki nagłówkowe exempi | |
debba741 | 25 | Group: Development/Libraries |
7cc2b3a5 | 26 | Requires: %{name} = %{version}-%{release} |
debba741 PZ |
27 | |
28 | %description devel | |
29 | Header files for exempi. | |
30 | ||
7cc2b3a5 JB |
31 | %description devel -l pl.UTF-8 |
32 | Pliki nagłówkowe exempi. | |
33 | ||
debba741 | 34 | %package static |
7cc2b3a5 JB |
35 | Summary: Static exempi library |
36 | Summary(pl.UTF-8): Statyczna biblioteka exempi | |
debba741 | 37 | Group: Development/Libraries |
7cc2b3a5 | 38 | Requires: %{name}-devel = %{version}-%{release} |
debba741 PZ |
39 | |
40 | %description static | |
7cc2b3a5 JB |
41 | Static exempi library. |
42 | ||
43 | %description static -l pl.UTF-8 | |
44 | Statyczna biblioteka exempi. | |
debba741 PZ |
45 | |
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | %configure | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
debba741 PZ |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
7cc2b3a5 JB |
61 | %post -p /sbin/ldconfig |
62 | %postun -p /sbin/ldconfig | |
63 | ||
debba741 PZ |
64 | %files |
65 | %defattr(644,root,root,755) | |
66 | %doc README COPYING ChangeLog | |
67 | %attr(755,root,root) %{_libdir}/libexempi.so.*.* | |
68 | ||
69 | %files devel | |
70 | %defattr(644,root,root,755) | |
71 | %attr(755,root,root) %{_libdir}/libexempi.so | |
72 | %{_libdir}/libexempi.la | |
bf30a5e8 | 73 | %{_includedir}/exempi-2.0 |
7cc2b3a5 | 74 | %{_pkgconfigdir}/*.pc |
debba741 PZ |
75 | |
76 | %files static | |
77 | %defattr(644,root,root,755) | |
78 | %{_libdir}/libexempi.a |