]> git.pld-linux.org Git - packages/exempi.git/blob - exempi.spec
cb6f80c597c53fd64d989cbda79ce602d9d0899f
[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 static
37 Summary:        Static exempi library
38 Summary(pl.UTF-8):      Statyczna biblioteka exempi
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static exempi library.
44
45 %description static -l pl.UTF-8
46 Statyczna biblioteka exempi.
47
48 %package samples
49 Summary:        Sample exempi programs
50 Summary(pl.UTF-8):      Przykładowe programy exempi
51 Group:          Applications/Archiving
52
53 %description samples
54 Sample programs using exempi library.
55
56 %description devel -l pl.UTF-8
57 Przykładowe programy używające biblioteki 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 static
94 %defattr(644,root,root,755)
95 %{_libdir}/libexempi.a
96
97 %files samples
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_bindir}/*
This page took 0.094833 seconds and 3 git commands to generate.