libxdg-basedir/libxdg-basedir.spec

68 lines
2.1 KiB
RPMSpec
Raw Normal View History

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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Mon Oct 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- package created by autospec