forked from jmrodri/sm-photo-tool
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sm-photo-tool.spec
96 lines (83 loc) · 3.64 KB
/
sm-photo-tool.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Name: sm-photo-tool
Version: 1.22
Release: 1%{?dist}
Summary: Smugmug client
Group: Applications/Multimedia
License: GPL
URL: http://sm-photo-tool.sourceforge.net/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python
Requires: python >= 2.3
%description
Smugmug client
%prep
%setup -q
%install
rm -rf %{buildroot}
install -d -m 755 %{buildroot}%{_usr}/share/%{name}/
install -d -m 755 %{buildroot}%{_usr}/share/doc/%{name}-%{version}/
install -d -m 755 %{buildroot}%{_usr}/bin/
install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/
install -m 644 LICENSE.TXT %{buildroot}%{_usr}/share/doc/%{name}-%{version}/
install -m 644 src/smugmugrc %{buildroot}%{_usr}/share/doc/%{name}-%{version}/
install -m 755 src/sm_photo_tool.py %{buildroot}%{_usr}/bin/%{name}
cp src/cli.py %{buildroot}%{_usr}/share/%{name}/
cp src/log.py %{buildroot}%{_usr}/share/%{name}/
cp src/smcommands.py %{buildroot}%{_usr}/share/%{name}/
cp src/config.py %{buildroot}%{_usr}/share/%{name}/
cp src/sm_wrapper.py %{buildroot}%{_usr}/share/%{name}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%attr(755, root, root) %{_usr}/bin/%{name}
%{_usr}/share/doc/%{name}-%{version}/LICENSE.TXT
%{_usr}/share/doc/%{name}-%{version}/smugmugrc
%{_usr}/share/sm-photo-tool/*.py*
%changelog
* Sun Nov 07 2010 jesus m rodriguez <[email protected]> 1.22-1
- add png support ([email protected])
* Sat Nov 06 2010 jesus m rodriguez <[email protected]> 1.21-1
- mark link as dead ([email protected])
- documenation changes ([email protected])
- Fix usage string. [options] have to come after the MODULE.
- remove pointless ignore lines ([email protected])
* Mon Dec 28 2009 jesus m rodriguez <[email protected]> 1.20-1
- raise SmugmugException during login. ([email protected])
- Add new options. ([email protected])
- Added new options ([email protected])
- If filename ends with +, append instead of overwriting log file
- fix file formats ([email protected])
- allow mp4 type files ([email protected])
* Fri Oct 30 2009 jesus m rodriguez <[email protected]> 1.19-1
- add log.py to the list of files to copy ([email protected])
* Fri Oct 30 2009 jesus m. rodriguez <[email protected]>
- switched to using HTTP PUT instead of HTTP POST ([email protected])
- figured out how to use httplib correctly. ([email protected])
- added log file support ([email protected])
- httplib version ([email protected])
- flush the output so that we can see what's going on. ([email protected])
- removing unused old Makefile ([email protected])
* Tue Aug 04 2009 jesus m rodriguez <[email protected]> 1.16-2
- bump the version ([email protected])
- add 1.15 release ([email protected])
- remove old playpen directory ([email protected])
- rename commands.py -> smcommands.py ([email protected])
- renamed commands.py, insert path using sys.path.insert ([email protected])
- fix up %files ([email protected])
- add /usr/share/sm_photo_tool path ([email protected])
- copy the files from their new location ([email protected])
- point to correct smugmugrc ([email protected])
* Mon Aug 03 2009 jesus m rodriguez <[email protected]> 1.15-1
- new package
* Tue Mar 18 2007 Jesus Rodriguez <jmrodri at gmail dot com> 1.12-1
- albumid written incorrectly to gallery file causing img uploads to fail
* Mon Mar 17 2007 Jesus Rodriguez <jmrodri at gmail dot com> 1.11-1
- fix bug: 1819595
- reformat code to have spaces after all comma's
* Sat Apr 1 2006 Jesus Rodriguez <jmrodri at gmail dot com> 1.10-1
- initial rpm release