]> git.pld-linux.org Git - packages/exempi.git/blobdiff - exempi.spec
- updated to 2.4.3
[packages/exempi.git] / exempi.spec
index cb6f80c597c53fd64d989cbda79ce602d9d0899f..fd0e81f083c98ccdfaba412bfcd49a8fb49d72e5 100644 (file)
@@ -1,23 +1,24 @@
-Summary:       An XMP support library
-Summary(pl.UTF-8):     Biblioteka obsługująca XMP
+Summary:       An XMP metadata support library
+Summary(pl.UTF-8):     Biblioteka obsługująca metadane XMP
 Name:          exempi
-Version:       1.99.5
+Version:       2.4.3
 Release:       1
 License:       BSD
 Group:         Libraries
-Source0:       http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: aa22ca8a84e0f768775dc2b22501822e
+Source0:       https://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
+# Source0-md5: ad612752c8bf50d7c84a4689073246d2
+URL:           https://libopenraw.freedesktop.org/wiki/Exempi
 BuildRequires: boost-devel >= 1.33.1
 BuildRequires: expat-devel >= 1.95
-BuildRequires: libstdc++-devel
-BuildConflicts:        boost-test-devel
+BuildRequires: libstdc++-devel >= 6:4.4
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-XMP parsing and IO library.
+XMP metadata parsing and IO library.
 
 %description -l pl.UTF-8
-Biblioteka do analizy oraz wejścia/wyjścia XMP.
+Biblioteka do analizy oraz wejścia/wyjścia metadanych XMP.
 
 %package devel
 Summary:       Header files for exempi
@@ -25,7 +26,8 @@ Summary(pl.UTF-8):    Pliki nagłówkowe exempi
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      expat-devel >= 1.95
-Requires:      libstdc++-devel
+Requires:      libstdc++-devel >= 6:4.4
+Requires:      zlib-devel
 
 %description devel
 Header files for exempi.
@@ -49,18 +51,22 @@ Statyczna biblioteka exempi.
 Summary:       Sample exempi programs
 Summary(pl.UTF-8):     Przykładowe programy exempi
 Group:         Applications/Archiving
+# doesn't require base, statically linked with exempi code
 
 %description samples
 Sample programs using exempi library.
 
-%description devel -l pl.UTF-8
+%description samples -l pl.UTF-8
 Przykładowe programy używające biblioteki exempi.
 
 %prep
 %setup -q
 
 %build
-%configure
+# configure fails on boost linking check
+%configure \
+       ax_cv_boost_unit_test_framework=no \
+       --disable-silent-rules
 %{__make}
 
 %install
@@ -70,6 +76,9 @@ install -d $RPM_BUILD_ROOT%{_bindir}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libexempi.la
+
 install samples/source/{dumpmainxmp,dumpxmp,xmpcoverage,xmpfilescoverage} $RPM_BUILD_ROOT%{_bindir}
 
 %clean
@@ -80,15 +89,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libexempi.so.*.*
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/exempi
+%attr(755,root,root) %{_libdir}/libexempi.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libexempi.so.3
+%{_mandir}/man1/exempi.1*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libexempi.so
-%{_libdir}/libexempi.la
 %{_includedir}/exempi-2.0
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/exempi-2.0.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -96,4 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files samples
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/dumpmainxmp
+%attr(755,root,root) %{_bindir}/dumpxmp
+%attr(755,root,root) %{_bindir}/xmpcoverage
+%attr(755,root,root) %{_bindir}/xmpfilescoverage
This page took 0.093454 seconds and 4 git commands to generate.