From b74be73ecc6fccaedb8bd04ba754f5015e8382f9 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:11:25 +0100 Subject: [PATCH] automatic version update by autodist [release 1.2.0-1mamba;Tue Jan 24 2012] --- README.md | 4 +++ libxdg-basedir.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 libxdg-basedir.spec diff --git a/README.md b/README.md index 3c601fa..5d7c2a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libxdg-basedir +The XDG Base Directory Specification defines where should user files be looked for by defining one or more base directories relative in with they should be located. + +This library implements functions to list the directories according to the specification and provides a few higher-level functions. + diff --git a/libxdg-basedir.spec b/libxdg-basedir.spec new file mode 100644 index 0000000..ed85330 --- /dev/null +++ b/libxdg-basedir.spec @@ -0,0 +1,67 @@ +Name: libxdg-basedir +Version: 1.2.0 +Release: 1mamba +Summary: A library that implements the XDG Base Directory Specification defines +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.ohloh.net/p/libxdg-basedir +Source: http://n.ethz.ch/~nevillm/download/libxdg-basedir/libxdg-basedir-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The XDG Base Directory Specification defines where should user files be looked for by defining one or more base directories relative in with they should be located. + +This library implements functions to list the directories according to the specification and provides a few higher-level functions. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +The XDG Base Directory Specification defines where should user files be looked for by defining one or more base directories relative in with they should be located. + +This library implements functions to list the directories according to the specification and provides a few higher-level functions. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libxdg-basedir.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_includedir}/*.h +%{_libdir}/libxdg-basedir.a +%{_libdir}/libxdg-basedir.la +%{_libdir}/libxdg-basedir.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Tue Jan 24 2012 Automatic Build System 1.2.0-1mamba +- automatic version update by autodist + +* Mon Oct 25 2010 Silvan Calarco 1.1.1-1mamba +- package created by autospec