diff --git a/.cvsignore b/.cvsignore index e69de29..b03eb97 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +sselp-0.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..7e6b51d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +sselp-0_2-3_fc13:HEAD:sselp-0.2-3.fc13.src.rpm:1277579550 diff --git a/sources b/sources index e69de29..8a53807 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b74d6558790d8df897db40bca90bc0f6 sselp-0.2.tar.gz diff --git a/sselp.spec b/sselp.spec new file mode 100644 index 0000000..42733b9 --- /dev/null +++ b/sselp.spec @@ -0,0 +1,56 @@ +Name: sselp +Version: 0.2 +Release: 3%{?dist} +Summary: Prints X selection to standard out + +Group: User Interface/X +License: MIT +URL: http://tools.suckless.org/%{name} +Source0: http://dl.suckless.org/tools/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libX11-devel + +%description +Prints X selection to standard out. + + +%prep +%setup -q +# set CFLAGS set to {optflags} +sed -i "s/CFLAGS = .*/CFLAGS = %{optflags} \${INCS} \${CPPFLAGS}/" config.mk +# remove -s option in LDFLAGS +sed -i "/LDFLAGS/ s/-s//" config.mk +sed -i "s/@\${CC}/\${CC}/" Makefile + + + +%build +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} PREFIX=%{_prefix} + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_bindir}/%{name} +%doc README LICENSE + + + +%changelog +* Fri Jun 25 2010 Matthias Runge 0.2-3 +- Description does not end with a dot (fixed) +- fix nonverbose compilation + +* Wed Jun 23 2010 Matthias Runge 0.2-2 +- dropped patch to install in {_prefix} +- fixed CFlAGS, LDFLAGS + +* Mon Jun 21 2010 Matthias Runge 0.2-1 +- initial version