97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
|
%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 <silvan.calarco@openmamba.org>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.12-2mamba
|
||
|
- remove .la file
|
||
|
|
||
|
* Fri Jun 17 2011 Automatic Build System <autodist@mambasoft.it> 0.12-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 0.10-2mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Wed Jul 15 2009 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Wed Jun 18 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.9-1mamba
|
||
|
- update to 0.9
|
||
|
- add buildrequirements
|
||
|
- update Packager email
|
||
|
|
||
|
* Fri Jan 12 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.8-2qilnx
|
||
|
- rebuilt against new gcc
|
||
|
|
||
|
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.8-1qilnx
|
||
|
- update to version 0.8 by autospec
|
||
|
|
||
|
* Sat Apr 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1qilnx
|
||
|
- first build
|