summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-02-09 12:46:42 -0500
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-02-09 12:46:42 -0500
commit361d6a41ed47e6436900727775ad33db0be29a3a (patch)
tree4b1c5261181480775e8d1eb0031b5cca54c34ac6
parent720172374f5adeaaf36ace7335c2b98b46fc8aec (diff)
downloadspecs-361d6a41ed47e6436900727775ad33db0be29a3a.tar.gz
specs-361d6a41ed47e6436900727775ad33db0be29a3a.tar.xz
specs-361d6a41ed47e6436900727775ad33db0be29a3a.zip
Vala Toys for gEdit:
- rename package to gedit-vala - add missing BR on gnome-build-devel
-rw-r--r--gnome/gedit-vala.spec (renamed from gnome/vtg.spec)20
1 files changed, 13 insertions, 7 deletions
diff --git a/gnome/vtg.spec b/gnome/gedit-vala.spec
index 2caabf5..69de0d4 100644
--- a/gnome/vtg.spec
+++ b/gnome/gedit-vala.spec
@@ -1,6 +1,8 @@
-Name: vtg
+%define upstream_name vtg
+
+Name: gedit-vala
Version: 0.3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Vala Toys for gEdit
Group: Applications/Editors
@@ -9,8 +11,9 @@ URL: http://code.google.com/p/vtg/
Source0: http://vtg.googlecode.com/files/vtg-0.3.2.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gedit-devel gtksourcecompletion-devel vala-devel
-BuildRequires: gettext intltool perl(XML::Parser)
+BuildRequires: gedit-devel vala-devel
+BuildRequires: gnome-build-devel gtksourcecompletion-devel
+BuildRequires: intltool perl(XML::Parser)
BuildRequires: readline-devel
Requires: gedit
@@ -32,11 +35,11 @@ with four modules:
%prep
-%setup -q -n vtg-%{version}
+%setup -q -n %{upstream_name}-%{version}
%build
-%configure --docdir=%{_datadir}/doc/%{name}-%{version}
+%configure --docdir=%{_docdir}/%{name}-%{version}
make %{?_smp_mflags}
@@ -50,7 +53,7 @@ make install DESTDIR=$RPM_BUILD_ROOT vtgdocdir=%{_datadir}/%{name}-%{version}
rm -rf $RPM_BUILD_ROOT
-%files -f %{name}.lang
+%files -f {upstream_name}.lang
%defattr(-,root,root,-)
%doc %{_datadir}/%{name}-%{version}
%{_bindir}/*
@@ -61,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Feb 9 2009 Michel Salim <salimma@fedoraproject.org> - 0.3.2-2
+- Rename vtg to the more descriptive gedit-vala
+
* Thu Feb 5 2009 Michel Salim <salimma@fedoraproject.org> - 0.3.2-1
- Initial package