Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb7821b225 | ||
|
|
c410219a73 | ||
|
|
bc189e309a | ||
|
|
f34d18c070 | ||
|
|
8ef09d25c9 | ||
| d45c732783 |
5 changed files with 129 additions and 21 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
shutter-0.80.1.tar.gz
|
||||||
|
shutter-0.85.1.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: shutter
|
|
||||||
# $Id$
|
|
||||||
NAME := shutter
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
125
shutter.spec
Normal file
125
shutter.spec
Normal file
|
|
@ -0,0 +1,125 @@
|
||||||
|
#%define ppa_version ppa6
|
||||||
|
Name: shutter
|
||||||
|
Version: 0.85.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: GTK+ 2.0 screenshot application written in perl
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://shutter-project.org
|
||||||
|
Source0: http://shutter-project.org/wp-content/uploads/releases/tars/%{name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
Requires: gnome-web-photo, gtklp
|
||||||
|
Requires: perl(Gtk2::ImageView)
|
||||||
|
Requires: perl(X11::Protocol)
|
||||||
|
Requires: nautilus-sendto
|
||||||
|
|
||||||
|
%description
|
||||||
|
Shutter is a GTK+ 2.0 screenshot application written in perl.
|
||||||
|
Shutter covers all features of common command line tools like
|
||||||
|
scrot or import and adds reasonable new features combined
|
||||||
|
with a comfortable GUI using the GTK+ 2.0 framework
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
rm -rf share/app-install/
|
||||||
|
rm -rf share/shutter/resources/po/
|
||||||
|
rm -rf share/shutter/resources/modules/{File,Net,Proc,Sort,X11}
|
||||||
|
rm -rf share/doc
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
# executable and data
|
||||||
|
install -d -m 0755 -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
install -d -m 0755 -p $RPM_BUILD_ROOT%{_datadir}
|
||||||
|
cp -pfr bin/* $RPM_BUILD_ROOT%{_bindir}/
|
||||||
|
cp -pfr share/* $RPM_BUILD_ROOT%{_datadir}/
|
||||||
|
|
||||||
|
desktop-file-install --delete-original \
|
||||||
|
--dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
|
||||||
|
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
%find_lang %{name}-plugins
|
||||||
|
cat %{name}-plugins.lang >> %{name}.lang
|
||||||
|
|
||||||
|
%post
|
||||||
|
update-desktop-database %{_datadir}/applications &>/dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
%postun
|
||||||
|
update-desktop-database %{_datadir}/applications &>/dev/null || :
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%{_mandir}/man1/%{name}*
|
||||||
|
%{_datadir}/pixmaps/
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Dec 7 2009 Liang Suilong <liangsuilong@gmail.com> - 0.85.1-1
|
||||||
|
- Upgrade to shutter-0.85.1
|
||||||
|
|
||||||
|
* Sat Nov 21 2009 Liang Suilong <liangsuilong@gmail.com> - 0.85-1
|
||||||
|
- Upgrade to shutter-0.85
|
||||||
|
|
||||||
|
* Mon Aug 3 2009 Liang Suilong <liangsuilong@gmail.com> - 0.80.1-1
|
||||||
|
- Updrade to shutter-0.80.1
|
||||||
|
|
||||||
|
* Mon Aug 3 2009 Liang Suilong <liangsuilong@gmail.com> - 0.80-5
|
||||||
|
- Update %%install script
|
||||||
|
|
||||||
|
* Wed Jul 29 2009 Liang Suilong <liangsuilong@gmail.com> - 0.80-4
|
||||||
|
- Update %%install script
|
||||||
|
|
||||||
|
* Mon Jul 20 2009 Liang Suilong <liangsuilong@gmail.com> - 0.80-3
|
||||||
|
- Add perl(X11::Protocol) as require
|
||||||
|
|
||||||
|
* Thu Jun 25 2009 Liang Suilong <liangsuilong@gmail.com> - 0.80-2
|
||||||
|
- Upstream to shutter-0.80 Final GA
|
||||||
|
|
||||||
|
* Thu Jun 25 2009 Liang Suilong <liangsuilong@gmail.com> - 0.80-1.ppa6
|
||||||
|
- Upstream to shutter-0.80~ppa6
|
||||||
|
- Update the SPEC file
|
||||||
|
|
||||||
|
* Thu Jun 25 2009 Liang Suilong <liangsuilong@gmail.com> - 0.70.2-3.ppa4
|
||||||
|
- Remove share/shutter/resources/pofiles/
|
||||||
|
- Remove share/shutter/resources/modules/File
|
||||||
|
- Remove share/shutter/resources/pofiles/Proc
|
||||||
|
|
||||||
|
* Wed Apr 15 2009 Liang Suilong <liangsuilong@gmail.com> - 0.70.2-2.ppa4
|
||||||
|
- Add a desktop-file-utils as BuildRequires
|
||||||
|
|
||||||
|
* Wed Apr 15 2009 Liang Suilong <liangsuilong@gmail.com> - 0.70.2-2.ppa3
|
||||||
|
- Add a desktop-file-utils as BuildRequires
|
||||||
|
|
||||||
|
* Sun Jan 18 2009 Liang Suilong <liangsuilong@gmail.com> - 0.70.2-1
|
||||||
|
- Upstream to 0.70.2
|
||||||
|
|
||||||
|
* Sun Jan 18 2009 Liang Suilong <liangsuilong@gmail.com> - 0.70.1-1
|
||||||
|
- Upstream to 0.70.1
|
||||||
|
|
||||||
|
* Sun Jan 18 2009 Liang Suilong <liangsuilong@gmail.com> - 0.70-1
|
||||||
|
- Upstream to 0.70
|
||||||
|
|
||||||
|
* Sun Jan 18 2009 Liang Suilong <liangsuilong@gmail.com> - 0.64-2
|
||||||
|
- Add several Requires so that advanced functions can run.
|
||||||
|
- Fix the authoritie of install path.
|
||||||
|
|
||||||
|
* Fri Jan 02 2009 bbbush <bbbush.yuan@gmail.com> - 0.64-1
|
||||||
|
- update to 0.64, clean up spec
|
||||||
|
|
||||||
|
* Mon Dec 29 2008 Liang Suilong <liangsuilong@gmail.com> - 0.63-3
|
||||||
|
- Initial package for Fedora
|
||||||
2
sources
2
sources
|
|
@ -0,0 +1,2 @@
|
||||||
|
fe328193f496847f0a563f294eed0b1f shutter-0.80.1.tar.gz
|
||||||
|
65523d7b3199ac1d03c1577e68725e36 shutter-0.85.1.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue