packages: libxdg-basedir/libxdg-basedir.spec (NEW) - initial, but ready (re...

pawelz pawelz at pld-linux.org
Tue May 26 18:31:24 CEST 2009


Author: pawelz                       Date: Tue May 26 16:31:24 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, but ready (rel 1)

---- Files affected:
packages/libxdg-basedir:
   libxdg-basedir.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libxdg-basedir/libxdg-basedir.spec
diff -u /dev/null packages/libxdg-basedir/libxdg-basedir.spec:1.1
--- /dev/null	Tue May 26 18:31:24 2009
+++ packages/libxdg-basedir/libxdg-basedir.spec	Tue May 26 18:31:19 2009
@@ -0,0 +1,102 @@
+# $Revision$, $Date$
+#
+Summary:	An implementation of the XDG Base Directory specification
+Summary(pl.UTF-8):	Implementacja specyfikacji XDG Base Directory
+Name:		libxdg-basedir
+Version:	1.0.1
+Release:	1
+License:	Custom (see LICENSE)
+Group:		Libraries
+Source0:	http://n.ethz.ch/~nevillm/download/libxdg-basedir/%{name}-%{version}.tar.gz
+# Source0-md5:	941dacde04db15164c9aca5a1d856665
+Source1:	%{name}-LICENSE
+URL:		http://n.ethz.ch/~nevillm/download/libxdg-basedir/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+An implementation of the XDG Base Directory specification.
+
+%description -l pl.UTF-8
+Implementacja specyfikacji XDG Base Directory.
+
+%package devel
+Summary:	Header files for libxdg-basedir library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libxdg-basedir
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libxdg-basedir library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libxdg-basedir.
+
+%package static
+Summary:	Static libxdg-basedir library
+Summary(pl.UTF-8):	Statyczna biblioteka libxdg-basedir.
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libxdg-basedir library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libxdg-basedir.
+
+%prep
+%setup -q
+
+cp %{SOURCE1} LICENSE
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure
+%{__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 LICENSE
+%attr(755,root,root) %{_libdir}/%{name}.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/%{name}.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/basedir.h
+%{_includedir}/basedir_fs.h
+%{_pkgconfigdir}/%{name}.pc
+%attr(755,root,root) %{_libdir}/%{name}.so
+%attr(755,root,root) %{_libdir}/%{name}.la
+
+%files static
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/05/26 16:31:19  pawelz
+- initial, but ready (rel 1)
+
================================================================


More information about the pld-cvs-commit mailing list