Spec clean-ups
This commit is contained in:
parent
c436aa6f17
commit
609e74f2f3
19
vala.spec
19
vala.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: vala
|
Name: vala
|
||||||
Version: 0.17.0
|
Version: 0.17.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A modern programming language for GNOME
|
Summary: A modern programming language for GNOME
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -159,7 +159,6 @@ cp -p %{SOURCE3} COPYING
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
# remove symlinks, using alternatives
|
# remove symlinks, using alternatives
|
||||||
for f in %{vala_binaries} %{vala_tools_binaries};
|
for f in %{vala_binaries} %{vala_tools_binaries};
|
||||||
@ -187,13 +186,6 @@ cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
|||||||
# make check
|
# make check
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?fedora} >= 13
|
|
||||||
%else
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
for f in %{vala_binaries};
|
for f in %{vala_binaries};
|
||||||
@ -263,7 +255,6 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README THANKS
|
%doc AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README THANKS
|
||||||
%ghost %{_bindir}/vala
|
%ghost %{_bindir}/vala
|
||||||
%ghost %{_bindir}/valac
|
%ghost %{_bindir}/valac
|
||||||
@ -278,7 +269,6 @@ done
|
|||||||
%{_mandir}/man1/valac-%{api_ver}.1.gz
|
%{_mandir}/man1/valac-%{api_ver}.1.gz
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_includedir}/vala-%{api_ver}
|
%{_includedir}/vala-%{api_ver}
|
||||||
%{_libdir}/libvala-%{api_ver}.so
|
%{_libdir}/libvala-%{api_ver}.so
|
||||||
%{_libdir}/pkgconfig/libvala-%{api_ver}.pc
|
%{_libdir}/pkgconfig/libvala-%{api_ver}.pc
|
||||||
@ -287,7 +277,6 @@ done
|
|||||||
%{_datadir}/vala/Makefile.vapigen
|
%{_datadir}/vala/Makefile.vapigen
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%ghost %{_bindir}/vala-gen-introspect
|
%ghost %{_bindir}/vala-gen-introspect
|
||||||
%ghost %{_bindir}/vapicheck
|
%ghost %{_bindir}/vapicheck
|
||||||
%ghost %{_bindir}/vapigen
|
%ghost %{_bindir}/vapigen
|
||||||
@ -303,22 +292,22 @@ done
|
|||||||
%{_mandir}/man1/vapigen-%{api_ver}.1.gz
|
%{_mandir}/man1/vapigen-%{api_ver}.1.gz
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
||||||
|
|
||||||
%files -n emacs-%{name}
|
%files -n emacs-%{name}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc emacs-vala/COPYING
|
%doc emacs-vala/COPYING
|
||||||
%dir %{_emacs_sitelispdir}/%{name}
|
%dir %{_emacs_sitelispdir}/%{name}
|
||||||
%{_emacs_sitelispdir}/%{name}/*.elc
|
%{_emacs_sitelispdir}/%{name}/*.elc
|
||||||
%{_emacs_sitestartdir}/*.el
|
%{_emacs_sitestartdir}/*.el
|
||||||
|
|
||||||
%files -n emacs-%{name}-el
|
%files -n emacs-%{name}-el
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_emacs_sitelispdir}/%{name}/*.el
|
%{_emacs_sitelispdir}/%{name}/*.el
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 5 2012 Michel Salim <salimma@fedoraproject.org> - 0.17.0-2
|
||||||
|
- Spec clean-ups
|
||||||
|
|
||||||
* Thu May 3 2012 Michel Salim <salimma@fedoraproject.org> - 0.17.0-1
|
* Thu May 3 2012 Michel Salim <salimma@fedoraproject.org> - 0.17.0-1
|
||||||
- Update to 0.17.0
|
- Update to 0.17.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user