[mtn-browse] Import package.
Thomas Moschny
thm at fedoraproject.org
Thu Nov 22 11:33:48 UTC 2012
commit 14999ef787c88240b3a6258af2df3f6b4bc35a27
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Thu Nov 22 12:32:31 2012 +0100
Import package.
.gitignore | 1 +
mtn-browse.desktop | 8 ++++
mtn-browse.spec | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 126 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3127c49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mtn-browse-1.00.tar.gz
diff --git a/mtn-browse.desktop b/mtn-browse.desktop
new file mode 100644
index 0000000..82e6892
--- /dev/null
+++ b/mtn-browse.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Monotone Browser
+Comment=Browsing Monotone VCS databases
+Exec=mtn-browse
+Icon=mtn-browse
+Terminal=false
+Type=Application
+Categories=Application;Development;
diff --git a/mtn-browse.spec b/mtn-browse.spec
new file mode 100644
index 0000000..de63e3d
--- /dev/null
+++ b/mtn-browse.spec
@@ -0,0 +1,116 @@
+Name: mtn-browse
+Version: 1.00
+Release: 3%{?dist}
+Summary: Application for browsing Monotone VCS databases
+Group: Development/Tools
+License: GPLv3+
+URL: http://www.coosoft.plus.com/software.html
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1: mtn-browse.desktop
+BuildRequires: perl(Glib)
+BuildRequires: perl(Gnome2)
+BuildRequires: perl(Gnome2::Canvas)
+BuildRequires: perl(Gnome2::VFS)
+BuildRequires: perl(Gtk2)
+BuildRequires: perl(Gtk2::GladeXML)
+# fixme: pack and depend on Gtk2::SourceView2
+BuildRequires: perl(Gtk2::SourceView)
+BuildRequires: perl(Locale::TextDomain)
+BuildRequires: perl(Monotone::AutomateStdio) >= 1.02
+BuildRequires: gettext
+BuildRequires: desktop-file-utils
+BuildRequires: meld graphviz
+Requires: meld graphviz
+BuildArch: noarch
+
+%description
+Monotone browser (mtn-browse) is an application for browsing Monotone
+VCS databases without the need for a work space. The interface allows
+one to:
+* Easily select a revision from within a branch
+* Find a revision using complex queries
+* Navigate the contents of a revision using a built in file manager
+* Display file contents, either using the internal viewer or an
+ external helper application
+* Compare the changes between different revisions or versions of a
+ file either using the internal difference viewer or an external
+ application
+* Find files within a revision based on detailed search criteria
+* Display file annotations and easily refer back to the corresponding
+ change documentation
+* Save files to disk
+
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{_datadir}/%{name}/perl
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(AdvancedFind\\)
+%global __requires_exclude %__requires_exclude|perl\\(Annotate\\)
+%global __requires_exclude %__requires_exclude|perl\\(CachingAutomateStdio\\)
+%global __requires_exclude %__requires_exclude|perl\\(ChangeLog\\)
+%global __requires_exclude %__requires_exclude|perl\\(ComboAutoCompletion\\)
+%global __requires_exclude %__requires_exclude|perl\\(Common\\)
+%global __requires_exclude %__requires_exclude|perl\\(Completion\\)
+%global __requires_exclude %__requires_exclude|perl\\(DateRange\\)
+%global __requires_exclude %__requires_exclude|perl\\(FindFiles\\)
+%global __requires_exclude %__requires_exclude|perl\\(FindText\\)
+%global __requires_exclude %__requires_exclude|perl\\(Globals\\)
+%global __requires_exclude %__requires_exclude|perl\\(History\\)
+%global __requires_exclude %__requires_exclude|perl\\(HistoryGraph\\)
+%global __requires_exclude %__requires_exclude|perl\\(LocaleEnableUtf8\\)
+%global __requires_exclude %__requires_exclude|perl\\(ManageServerBookmarks\\)
+%global __requires_exclude %__requires_exclude|perl\\(ManageTagWeightings\\)
+%global __requires_exclude %__requires_exclude|perl\\(MultipleRevisions\\)
+%global __requires_exclude %__requires_exclude|perl\\(Preferences\\)
+%global __requires_exclude %__requires_exclude|perl\\(WindowManager\\)
+
+
+%prep
+%setup -q
+
+
+%build
+# empty
+
+
+%install
+./linux-installer \
+ --destdir=%{buildroot} \
+ --prefix=%{_prefix} \
+ --file-comparison=meld \
+ --no-use-dists-mas \
+ --libdir=share/%{name}
+
+install -m 644 -D -p \
+ ./lib/ui/pixmaps/mtn-browse-small.png \
+ %{buildroot}%{_datadir}/pixmaps/%{name}.png
+
+desktop-file-install \
+ --dir=%{buildroot}%{_datadir}/applications \
+ %{SOURCE1}
+
+%find_lang %{name} --with-gnome
+
+
+%files -f %{name}.lang
+%doc COPYING NEWS README
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+
+%changelog
+* Fri Oct 19 2012 Thomas Moschny <thomas.moschny at gmx.de> - 1.00-3
+- Add .desktop file.
+
+* Fri Oct 19 2012 Thomas Moschny <thomas.moschny at gmx.de> - 1.00-2
+- Fix typo.
+- Remove wrong comment.
+
+* Thu Oct 18 2012 Thomas Moschny <thomas.moschny at gmx.de> - 1.00-1
+- Update to 1.00.
+- Update requirements.
+- Directly call the linux-installer.
+- Remove %%clean section, BuildRoot tag and %%defattr directive.
+- Use RPM-4.9-style filtering.
+
+* Sat Mar 12 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.72-1
+- New package.
diff --git a/sources b/sources
index e69de29..1187ac4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f094ffbcdcf8d3e13fd2cbaf2f6e9877 mtn-browse-1.00.tar.gz
More information about the scm-commits
mailing list