diff --git a/README.md b/README.md index 2c890f5..de7b305 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libstartup-notification +A mechanism allowing a desktop environment to track application startup, to provide user feedback and other features. + diff --git a/libstartup-notification.spec b/libstartup-notification.spec new file mode 100644 index 0000000..a8582cd --- /dev/null +++ b/libstartup-notification.spec @@ -0,0 +1,96 @@ +%define majversion %(echo %version | cut -d. -f 1-2) +%define pkgname startup-notification + +Name: libstartup-notification +Version: 0.12 +Release: 2mamba +Summary: A mechanism allowing a desktop environment to track application startup +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnome.org +#Source: ftp://ftp.gnome.org/pub/GNOME/sources/startup-notification/%{majversion}/%{pkgname}-%{version}.tar.bz2 +Source: http://freedesktop.org/software/startup-notification/releases/%{pkgname}-%{version}.tar.gz +License: LGPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libxcb-devel +BuildRequires: libxcb-util-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END + +%description +A mechanism allowing a desktop environment to track application startup, to provide user feedback and other features. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A mechanism allowing a desktop environment to track application startup, to +provide user feedback and other features. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n %{pkgname}-%{version} + +%build +%configure +%make + +%install +%makeinstall + +rm -f %{buildroot}%{_libdir}/*.la + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libstartup-notification-1.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_libdir}/*.a +%{_libdir}/*.so +%dir %{_includedir}/startup-notification-?.? +%{_includedir}/startup-notification-?.?/* +%{_libdir}/pkgconfig/libstartup-notification-?.?.pc +%doc ChangeLog NEWS README + +%changelog +* Tue Jul 31 2012 Silvan Calarco 0.12-2mamba +- remove .la file + +* Fri Jun 17 2011 Automatic Build System 0.12-1mamba +- automatic update by autodist + +* Sat Jun 26 2010 Automatic Build System 0.10-2mamba +- automatic rebuild by autodist + +* Wed Jul 15 2009 Automatic Build System 0.10-1mamba +- automatic update by autodist + +* Wed Jun 18 2008 Tiziana Ferro 0.9-1mamba +- update to 0.9 +- add buildrequirements +- update Packager email + +* Fri Jan 12 2007 Davide Madrisan 0.8-2qilnx +- rebuilt against new gcc + +* Tue Aug 30 2005 Davide Madrisan 0.8-1qilnx +- update to version 0.8 by autospec + +* Sat Apr 24 2004 Silvan Calarco 0.6-1qilnx +- first build