]> git.pld-linux.org Git - packages/taglib.git/blobdiff - taglib.spec
- pl for -examples
[packages/taglib.git] / taglib.spec
index 6bb0e68e9310f0566b1681626ad1ff27e4ad236d..344997b1ae350499f5b94cfff91cbba92b6cea8c 100644 (file)
@@ -5,14 +5,14 @@ Summary:      A tag library for reading and editing audio meta data
 Summary(pl.UTF-8):     Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku
 Name:          taglib
 Version:       1.6.3
-Release:       1
+Release:       2
 License:       LGPL v2.1 or MPL v1.1
-Group:         X11/Libraries
+Group:         Libraries
 Source0:       http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
 # Source0-md5: ddf02f4e1d2dc30f76734df806e613eb
 Patch0:                %{name}-libtool-sanitize.patch
 Patch1:                kde-ac260-lt.patch
-Patch2:                taglib-am.patch
+Patch2:                %{name}-am.patch
 URL:           http://ktown.kde.org/~wheeler/taglib.html
 BuildRequires: cmake >= 2.6.2
 BuildRequires: libstdc++-devel
@@ -31,7 +31,7 @@ pakietu kdemultimedia.
 %package devel
 Summary:       libtag - header files
 Summary(pl.UTF-8):     libtag - pliki nagłówkowe
-Group:         X11/Development/Libraries
+Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      libstdc++-devel
 
@@ -41,6 +41,21 @@ Header files for tag library.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki tag.
 
+%package examples
+Summary:       Example codes for taglib
+Summary(hu.UTF-8):     Példaprogramok
+Summary(pl.UTF-8):     Przykładowe programy w postaci źródłowej dla tagliba
+Group:         Development/Libraries
+
+%description examples
+Example codes for taglib.
+
+%description examples -l hu.UTF-8
+Példaprogramok.
+
+%description examples -l pl.UTF-8
+Przykładowe programy w postaci źródłowej dla tagliba.
+
 %prep
 %setup -q
 
@@ -67,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -76,9 +94,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtag.so.?
+%attr(755,root,root) %ghost %{_libdir}/libtag.so.1
 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtag_c.so.?
+%attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -88,3 +106,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/taglib.pc
 %{_pkgconfigdir}/taglib_c.pc
 %{_includedir}/taglib
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
This page took 0.073367 seconds and 4 git commands to generate.