Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / release / darcs.spec.in
blob30ce95bb6e8650765595f6fab696422263a9b0bf
1 ## darcs.spec is autogenerated from darcs.spec.in in the darcs
2 ## distribution edit darcs.spec.in if you want to make long term
3 ## changes
6 Name: darcs
7 Version: @DARCS_VERSION@
8 Release: 1%{?dist}
9 Summary: Darcs advanced revision control system
11 Group: Development/Tools
12 License: GPLv2+
13 URL: http://www.darcs.net/
14 Source0: http://www.darcs.net/%{name}-%{version}.tar.gz
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 BuildRequires: ghc, %{_sbindir}/sendmail, curl-devel, ncurses-devel, zlib-devel
18 # for make check
19 BuildRequires: which
20 # need chcon
21 Requires(post): coreutils
23 # http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246051
24 ExcludeArch: ppc64
26 %description
27 Darcs is a revision control system, along the lines of CVS
28 or arch. That means that it keeps track of various revisions
29 and branches of your project, allows for changes to
30 propagate from one branch to another. Darcs is intended to
31 be an ``advanced'' revision control system. Darcs has two
32 particularly distinctive features which differ from other
33 revision control systems: 1) each copy of the source is a
34 fully functional branch, and 2) underlying darcs is a
35 consistent and powerful theory of patches.
38 %package server
39 Summary: David's advanced revision control system Server
40 Group: Development/Tools
41 Requires: webserver
43 %description server
44 Darcs is a revision control system, along the lines of CVS
45 or arch. That means that it keeps track of various revisions
46 and branches of your project, allows for changes to
47 propagate from one branch to another. Darcs is intended to
48 be an ``advanced'' revision control system. Darcs has two
49 particularly distinctive features which differ from other
50 revision control systems: 1) each copy of the source is a
51 fully functional branch, and 2) underlying darcs is a
52 consistent and powerful theory of patches.
54 This package contains the darcs cgi server program.
57 %prep
58 %setup -q -n %{name}-%{version}
59 # skip test currently failing in buildsystem
60 mv tests/send.sh{,-disabled}
63 %build
64 %configure --libexecdir=%{_localstatedir}/www
65 make all
67 %check
68 make check
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 make DESTDIR=$RPM_BUILD_ROOT installbin installserver
75 cp tools/darcs_completion bash_completion
76 rm -r %buildroot%{_sysconfdir}/bash_completion.d
79 %clean
80 rm -rf $RPM_BUILD_ROOT
83 %post
84 semanage fcontext -a -t unconfined_execmem_exec_t %{_bindir}/darcs >/dev/null 2>&1 || :
85 restorecon -v %{_bindir}/darcs
88 %files
89 %defattr(-,root,root,-)
90 %doc AUTHORS COPYING ChangeLog doc/manual bash_completion tools/zsh_completion_*
91 %{_bindir}/darcs
92 %{_mandir}/man1/*
95 %files server
96 %defattr(-,root,root,-)
97 %{_localstatedir}/www/cgi-bin
98 %config(noreplace) %{_sysconfdir}/darcs
99 %{_datadir}/darcs
102 %changelog
103 * Mon Jun 16 2008 Michael De La Rue <gneqbgqnepfqbgarg.yeuhc@spamgourmet.com> - 2.0.0-1
104 - update to version 2.0.0
105 - remove build of index.html which is already built
107 * Fri Sep 21 2007 Jens Petersen <petersen@redhat.com> - 1.0.9-6
108 - fix the "|| :" quoting in the post install script (#295351)
110 * Thu Sep 20 2007 Jens Petersen <petersen@redhat.com> - 1.0.9-5
111 - set selinux file-context for %{_bindir}/darcs
112 (reported by Jim Radford, #295351)
114 * Fri Aug 10 2007 Jens Petersen <petersen@redhat.com> - 1.0.9-4
115 - specify license is GPL 2 or later
117 * Wed Jun 27 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 1.0.9-3
118 - clean rpmlint warnings/errors
119 - move PreReq to Requires(post)
120 - move make check to 'check' section
121 - mark config files as such
123 * Wed Jun 27 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 1.0.9-2
124 - added ExcludeArch: ppc64
126 * Wed Jun 27 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 1.0.9-1
127 - update to 1.0.9
129 * Mon Feb 19 2007 Jens Petersen <petersen@redhat.com> - 1.0.9-0.1.rc2
130 - update to 1.0.9rc2 which builds with ghc66
132 * Fri Feb 2 2007 Jens Petersen <petersen@redhat.com> - 1.0.8-5
133 - rebuild for ncurses replacing termcap (#226754)
135 * Wed Nov 1 2006 Jens Petersen <petersen@redhat.com> - 1.0.8-4
136 - rebuild for new libcurl
138 * Thu Sep 28 2006 Jens Petersen <petersen@redhat.com> - 1.0.8-3
139 - rebuild for FC6
140 - enable make check
142 * Fri Jun 23 2006 Jens Petersen <petersen@redhat.com> - 1.0.8-2
143 - set unconfined_execmem_exec_t context to allow running under selinux targeted
144 policy (#195820)
146 * Wed Jun 21 2006 Jens Petersen <petersen@redhat.com> - 1.0.8-1
147 - update to 1.0.8
149 * Sun May 14 2006 Jens Petersen <petersen@redhat.com> - 1.0.7-1
150 - update to 1.0.7
151 - fix typo of propagate in description (#189651)
152 - disable "make check" for now since it blows up in buildsystem
154 * Thu Mar 2 2006 Jens Petersen <petersen@redhat.com> - 1.0.6-1
155 - update to 1.0.6
156 - darcs-createrepo is gone
158 * Thu Dec 8 2005 Jens Petersen <petersen@redhat.com> - 1.0.5-1
159 - 1.0.5 bugfix release
161 * Mon Nov 14 2005 Jens Petersen <petersen@redhat.com> - 1.0.4-1
162 - 1.0.4 release
163 - skip tests/send.sh for now since it is failing in buildsystem
165 * Tue Jul 5 2005 Jens Petersen <petersen@redhat.com>
166 - drop superfluous doc buildrequires (Karanbir Singh, #162436)
168 * Fri Jul 1 2005 Jens Petersen <petersen@redhat.com> - 1.0.3-2
169 - fix buildrequires
170 - add sendmail, curl-devel, ncurses-devel, zlib-devel, and
171 tetex-latex, tetex-dvips, latex2html for doc generation
173 * Tue May 31 2005 Jens Petersen <petersen@redhat.com> - 1.0.3-1
174 - initial import into Fedora Extras
175 - 1.0.3 release
176 - include bash completion file in doc dir
178 * Sun May 8 2005 Jens Petersen <petersen@haskell.org> - 1.0.3-0.rc1.1
179 - 1.0.3rc1
180 - build with ghc-6.4
182 * Wed Feb 8 2005 Jens Petersen <petersen@haskell.org> - 1.0.2-1
183 - update to 1.0.2
185 * Thu Jul 15 2004 Jens Petersen <petersen@haskell.org> - 0.9.22-1
186 - 0.9.22
187 - darcs-0.9.21-css-symlinks.patch no longer needed
189 * Thu Jun 24 2004 Jens Petersen <petersen@haskell.org> - 0.9.21-1
190 - update to 0.9.21
191 - replace darcs-0.9.13-mk-include.patch with darcs-0.9.21-css-symlinks.patch
193 * Wed Nov 5 2003 Jens Petersen <petersen@haskell.org>
194 - Initial packaging.