diff --git a/.cvsignore b/.cvsignore index e69de29..d5daf56 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libaccounts-glib-0.39.tar.gz diff --git a/libaccounts-glib.spec b/libaccounts-glib.spec new file mode 100644 index 0000000..9882f43 --- /dev/null +++ b/libaccounts-glib.spec @@ -0,0 +1,83 @@ +Name: libaccounts-glib +Version: 0.39 +Release: 2%{?dist} +Group: System Environment/Libraries +Summary: Nokia Maemo Accounts base library +License: LGPLv2 +URL: http://gitorious.org/accounts-sso/accounts-glib +#extracted from http://repo.meego.com/MeeGo/builds/trunk/1.0.80.11.20100720.2/core/repos/source/libaccounts-glib-0.39-4.3.src.rpm +Source0: %{name}-%{version}.tar.gz +BuildRequires: dbus-glib-devel +BuildRequires: libxml2-devel +BuildRequires: sqlite-devel +BuildRequires: check-devel +#no needed for final release tarball +BuildRequires: libtool +BuildRequires: gtk-doc + +%description +%{summary}. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: glib2-devel + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q + +%build +gtkdocize +autoreconf -i --force + +%configure --disable-static \ + --disable-gtk-doc + +sed -i 's/-Werror//g' libaccounts-glib/Makefile +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} + +rm -f %{buildroot}%{_libdir}/*.la + +#Add docs manuall to %%doc instead +rm -rf %{buildroot}%{_prefix}/doc/reference + +#remove tests for now +rm -f %{buildroot}%{_bindir}/*test* +rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING AUTHORS +%dir %{_datadir}/backup-framework +%dir %{_datadir}/backup-framework/applications +%{_datadir}/backup-framework/applications/*.conf +%{_libdir}/%{name}.so.* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/%{name} + +%changelog +* Fri Jul 23 2010 Chen Lei - 0.39-2 +- List files more specfic in spec +- Add a permanent link for meego SRPM + +* Thu Jul 08 2010 Chen Lei - 0.39-1 +- Initial packaging for Fedora + +* Mon Jun 14 2010 Bernd Wachter - 0.39 +- Update to latest version diff --git a/sources b/sources index e69de29..0759399 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +52f6da83a66c8800c2e4b300ee7dd160 libaccounts-glib-0.39.tar.gz