diff --git a/README.md b/README.md index fda2bd4..5e7226a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xfconf +XFCE configuration library. + diff --git a/xfconf.spec b/xfconf.spec new file mode 100644 index 0000000..39bb200 --- /dev/null +++ b/xfconf.spec @@ -0,0 +1,97 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: xfconf +Version: 4.10.0 +Release: 2mamba +Summary: XFCE configuration library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.xfce.org +Source: http://archive.xfce.org/xfce/%{majver}/src/xfconf-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libglib-devel +BuildRequires: libxfce4util-devel +BuildRequires: perl-devel +BuildRequires: perl-Glib +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +XFCE configuration library. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +XFCE configuration library. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} +find %{buildroot}%{_prefix}/lib/perl5/ -name perllocal.pod -exec rm -f {} \; + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/xfconf-query +%{_libdir}/libxfconf-0.so.* +%dir %{_libdir}/xfce4/xfconf +%{_libdir}/xfce4/xfconf/xfconfd +%{perl_sitearch}/* +%{_datadir}/dbus-1/services/org.xfce.Xfconf.service +%{_mandir}/man3/Xfce4::Xfconf.3pm* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/xfce4/xfconf-0 +%dir %{_includedir}/xfce4/xfconf-0/xfconf +%{_includedir}/xfce4/xfconf-0/xfconf/*.h +%{_libdir}/libxfconf-0.la +%{_libdir}/libxfconf-0.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gtk-doc/html/* +%doc ChangeLog NEWS TODO + +%changelog +* Thu Nov 15 2012 Silvan Calarco 4.10.0-2mamba +- perl 5.16 mass rebuild + +* Fri Oct 19 2012 Automatic Build System 4.10.0-1mamba +- automatic version update by autodist + +* Fri Jan 28 2011 Automatic Build System 4.8.0-1mamba +- update to 4.8.0 + +* Sat May 29 2010 Automatic Build System 4.6.2-1mamba +- automatic update to 4.6.2 by autodist + +* Mon Jun 15 2009 Silvan Calarco 4.6.1-2mamba +- don't package perllocal.pod + +* Sat May 02 2009 Automatic Build System 4.6.1-1mamba +- automatic update to 4.6.1 by autodist + +* Mon Mar 02 2009 Silvan Calarco 4.6.0-1mamba +- package created by autospec