packages: libirman/libirman.spec - updated to 0.4.5, standard -devel/-stati...
qboosh
qboosh at pld-linux.org
Thu Sep 23 09:09:35 CEST 2010
Author: qboosh Date: Thu Sep 23 07:09:35 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 0.4.5, standard -devel/-static scheme now
---- Files affected:
packages/libirman:
libirman.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: packages/libirman/libirman.spec
diff -u packages/libirman/libirman.spec:1.14 packages/libirman/libirman.spec:1.15
--- packages/libirman/libirman.spec:1.14 Thu Dec 27 01:24:59 2007
+++ packages/libirman/libirman.spec Thu Sep 23 09:09:29 2010
@@ -2,14 +2,14 @@
Summary: libirman - accessing IRMAN hardware
Summary(pl.UTF-8): libirman - dostęp do urządzeń IRMAN
Name: libirman
-Version: 0.4.4
+Version: 0.4.5
Release: 1
-License: GPL
+License: LGPL v2 (library), GPL v2 (utility)
Group: Libraries
-Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}.tar.gz
-# Source0-md5: b3898fb7f0bc6995cee8950a1bd73368
+Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2
+# Source0-md5: 4a2708d53b6c79659c073cfefed57f78
URL: http://www.lirc.org/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,34 +19,73 @@
%description -l pl.UTF-8
Biblioteka libirman umożliwia dostęp do urządzenia IRMAN w Linuksie.
+%package devel
+Summary: Header file for libirman library
+Summary(pl.UTF-8): Plik nagłówkowy biblioteki libirman
+License: LGPL v2
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header file for libirman library.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy biblioteki libirman.
+
+%package static
+Summary: Static libirman library
+Summary(pl.UTF-8): Statyczna biblioteka libirman
+License: LGPL v2
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libirman library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libirman.
+
%prep
%setup -q
%build
+%{__libtoolize}
%{__aclocal}
%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_sysconfdir},%{_includedir}}
-install workmanir $RPM_BUILD_ROOT%{_bindir}
-install libirman.a $RPM_BUILD_ROOT%{_libdir}
-install irman.conf $RPM_BUILD_ROOT%{_sysconfdir}
-install irman.h $RPM_BUILD_ROOT%{_includedir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-%doc NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_libdir}/lib*.a
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-%{_includedir}/*.h
+%doc NEWS README TECHNICAL TODO
+%attr(755,root,root) %{_bindir}/workmanir
+%attr(755,root,root) %{_libdir}/libirman.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libirman.so.0
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/irman.conf
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libirman.so
+%{_libdir}/libirman.la
+%{_includedir}/irman.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libirman.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -54,6 +93,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2010/09/23 07:09:29 qboosh
+- updated to 0.4.5, standard -devel/-static scheme now
+
Revision 1.14 2007/12/27 00:24:59 zbyniu
- up to 0.4.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libirman/libirman.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list