Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
bb7821b225 dist-git conversion 2010-07-29 12:45:58 +00:00
Liang Suilong
c410219a73 *** empty log message *** 2009-12-07 13:19:37 +00:00
Bill Nottingham
bc189e309a Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:39:38 +00:00
Liang Suilong
f34d18c070 *** empty log message *** 2009-08-16 06:14:07 +00:00
Liang Suilong
8ef09d25c9 Liang Suilong's Update 2009-08-11 06:44:40 +00:00
d45c732783 Initialize branch F-10 for shutter 2009-08-11 05:14:49 +00:00
5 changed files with 129 additions and 21 deletions

View file

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
shutter-0.80.1.tar.gz
shutter-0.85.1.tar.gz

View file

@ -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
View 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

View file

@ -0,0 +1,2 @@
fe328193f496847f0a563f294eed0b1f shutter-0.80.1.tar.gz
65523d7b3199ac1d03c1577e68725e36 shutter-0.85.1.tar.gz