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