Author: qboosh Date: Fri Jun 10 12:39:46 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/libmodman: libmodman.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libmodman/libmodman.spec diff -u /dev/null packages/libmodman/libmodman.spec:1.1 --- /dev/null Fri Jun 10 14:39:46 2011 +++ packages/libmodman/libmodman.spec Fri Jun 10 14:39:41 2011 @@ -0,0 +1,81 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without apidocs # do not build and package API docs +# +Summary: Module Manager library +Summary(pl.UTF-8): Biblioteka zarządcy modułów +Name: libmodman +Version: 2.0.1 +Release: 1 +License: LGPL v2.1+ +Group: Libraries +#Source0Download: http://code.google.com/p/libmodman/downloads/list +Source0: http://libmodman.googlecode.com/files/%{name}-%{version}.tar.gz +# Source0-md5: 30591745dee416331e1cf143b39e4e31 +URL: http://code.google.com/p/libmodman/ +BuildRequires: cmake >= 2.6 +BuildRequires: libstdc++-devel +BuildRequires: rpmbuild(macros) >= 1.605 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libmodman is a simple library for managing modules. + +%description -l pl.UTF-8 +libmodman to prosta biblioteka do zarządzania modułami. + +%package devel +Summary: Header files for libmodman library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmodman +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libstdc++-devel + +%description devel +Header files for libmodman library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki libmodman. + +%prep +%setup -q + +%build +%cmake . + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__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 AUTHORS NEWS +%attr(755,root,root) %{_libdir}/libmodman.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libmodman.so.1 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libmodman.so +%{_includedir}/libmodman +%{_pkgconfigdir}/libmodman-2.0.pc +%{_datadir}/cmake/Modules/Findlibmodman.cmake + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/06/10 12:39:41 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
