]> git.pld-linux.org Git - packages/exempi.git/blobdiff - exempi.spec
Update to 2.4.4
[packages/exempi.git] / exempi.spec
index 0e684714112b6465d80b7a5b2b5ad701bc6382c6..6ccbbaff2cf7cc316ac726e1c3f1fbc8134a67f8 100644 (file)
@@ -1,22 +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:       2.0.1
+Version:       2.4.4
 Release:       1
 License:       BSD
 Group:         Libraries
-Source0:       http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 8d72412c8a1e0330c4fa57da2d0ef96e
+Source0:       https://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
+# Source0-md5: a335b032f0174bb2f3e152fb442e4603
+URL:           https://libopenraw.freedesktop.org/wiki/Exempi
 BuildRequires: boost-devel >= 1.33.1
 BuildRequires: expat-devel >= 1.95
-BuildRequires: libstdc++-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
@@ -24,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.
@@ -53,7 +56,7 @@ Group:                Applications/Archiving
 %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
@@ -62,7 +65,8 @@ Przykładowe programy używające biblioteki exempi.
 %build
 # configure fails on boost linking check
 %configure \
-       ax_cv_boost_unit_test_framework=no
+       ax_cv_boost_unit_test_framework=no \
+       --disable-silent-rules
 %{__make}
 
 %install
@@ -72,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
@@ -82,14 +89,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%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}/exempi-2.0.pc
 
@@ -99,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.171263 seconds and 4 git commands to generate.