summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Polonkai <gergely@polonkai.eu>2016-03-31 03:28:00 -0400
committerGergely Polonkai <gergely@polonkai.eu>2016-04-18 20:54:05 +0200
commit8a056482d96a9333c22ec68a86f873065a13a7d4 (patch)
tree291afb4658135b1bfd836c16759ea5bb3257f332
parent9863ea2d4f22ba1c65260da309b75a4815169dbf (diff)
downloadvaladoc-spec-8a056482d96a9333c22ec68a86f873065a13a7d4.tar.gz
valadoc-spec-8a056482d96a9333c22ec68a86f873065a13a7d4.tar.xz
valadoc-spec-8a056482d96a9333c22ec68a86f873065a13a7d4.zip
Apply recommended modifications
* Fix download URL * Fix project URL * Fix description * Fix install locations * Add license file to installed resources
-rw-r--r--valadoc.spec30
1 files changed, 16 insertions, 14 deletions
diff --git a/valadoc.spec b/valadoc.spec
index 7f01ef0..e1ed549 100644
--- a/valadoc.spec
+++ b/valadoc.spec
@@ -5,8 +5,8 @@ Summary: Vala documentation generator
Group: Development/Tools
License: GPLv2+
-URL: http://valadoc.org/
-Source: http://gergely.polonkai.eu/download/%{name}-%{version}.tar.gz
+URL: https://wiki.gnome.org/Projects/Valadoc
+Source: https://git.gnome.org/browse/valadoc/snapshot/valadoc-valac-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: glib2-devel
@@ -18,8 +18,12 @@ Requires: glib2
Requires: graphviz
%description
+Valadoc is a documentation generator for Vala projects. It extracts
+source code from Vala source files and can output various formats of
+documentation like GTK-Doc or GIR documentation.
-Valadoc is a documentation generator for Vala projects.
+Documentation of many common libraries can be found at
+http://valadoc.org/
%package devel
Summary: Vala documentation generator
@@ -38,23 +42,21 @@ Data files for Valadoc.
%build
%configure
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=%{buildroot}
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/valadoc/doclets/*/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/valadoc/drivers/*/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
-rm -f $RPM_BUILD_ROOT%{_datadir}/locale/hu/LC_MESSAGES/swe-glib.mo
+%make_install
+rm -f %{buildroot}/%{_libdir}/*.la
+rm -f %{buildroot}/%{_libdir}/valadoc/doclets/*/*.la
+rm -f %{buildroot}/%{_libdir}/valadoc/drivers/*/*.la
+rm -f %{buildroot}/%{_libdir}/*.a
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
+%doc COPYING
%doc ChangeLog
%{_bindir}/valadoc
%{_libdir}/libvaladoc.so*